.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    padding: 1rem 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--accent-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-btn {
    color: var(--text-primary);
    opacity: 0.8;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
}

.icon-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.social-icon {
    position: relative;
    text-decoration: none;
    color: var(--text-primary);
}

.social-icon:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.social-icon[aria-label="Telegram"]:hover {
    color: #29B6F6;
}

.social-icon[aria-label="Discord"]:hover {
    color: #7289DA;
}

.social-icon[aria-label="WhatsApp"]:hover {
    color: #25D366;
}

.mobile-menu-btn {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        order: -1;
        width: 100%;
        justify-content: center;
        margin-bottom: 0;
    }

    .logo-img {
        height: 36px;
    }

    .header-actions .social-icon {
        display: none;
    }

    .header-actions {
        position: absolute;
        right: 2rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .mobile-menu-btn {
        display: flex;
    }
}