/* ══════════════════════════════════════════════════════════════
   HEADER COMPONENT - Ultra Premium
   ══════════════════════════════════════════════════════════════ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 48px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    padding: 14px 48px;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-bottom-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.logo:hover {
    opacity: 1;
}

.logo-mark {
    width: 34px;
    height: 34px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-mark svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.5));
    transition: all 0.3s ease;
}

.logo:hover .logo-mark {
    transform: rotate(-10deg) scale(1.1);
}

.logo:hover .logo-mark svg {
    filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.8));
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
}

.nav-link {
    padding: 8px 16px;
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.25s ease;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.nav-link:hover {
    color: var(--gray-200);
}

.nav-link:hover::before {
    opacity: 1;
}

/* Header Button */
.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent) 0%, #00cc77 100%);
    color: var(--bg);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 20px rgba(0, 255, 136, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-header:hover::before {
    left: 100%;
}

.btn-header:hover {
    box-shadow:
        0 8px 32px rgba(0, 255, 136, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Live Indicator for header button */
.btn-header .live-indicator {
    width: 8px;
    height: 8px;
}

.btn-header .live-indicator::before {
    inset: -3px;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 14px 24px;
    }

    .nav {
        display: none;
    }

    .logo {
        font-size: 20px;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
    }

    .btn-header {
        padding: 10px 18px;
        font-size: 13px;
    }
}
