* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #0a0a0a;
    color: #fff;
}

#hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

#animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#vanta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: transparent;
    pointer-events: auto;
}

.hero-content,
.projects-grid {
    pointer-events: auto;
    position: relative;
}

.hero-content {
    position: fixed;
    z-index: 200;
    text-align: center;
    width: 100%;
    top: 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00ff88, #00a1ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-content .sub-title {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    font-weight: 300;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2rem 4rem;
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    z-index: 200;
    max-height: 70vh;
    overflow-y: auto;
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 200;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card .img-container {
    position: relative;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.platform-links {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 200;
}

.platform-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.platform-links a:hover {
    color: #00ff88;
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-completed {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.status-in-progress {
    background: rgba(255, 255, 0, 0.2);
    color: #ffff00;
}

.status-research {
    background: rgba(255, 165, 0, 0.2);
    color: #ffa500;
}

.status-pending {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff80;
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
}

.project-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1400px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}