.site-header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 2000;

    transition:
        transform .45s ease,
        background .45s ease,
        border-color .45s ease,
        backdrop-filter .45s ease;
}

.site-header::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.72),
            rgba(0,0,0,.22)
        );

    opacity: .65;

    transition: .45s ease;
}

.site-header.scrolled {
    backdrop-filter: blur(18px);
}

.site-header.scrolled::before {
    opacity: 1;

    background:
        rgba(5,5,5,.72);

    border-bottom: 1px solid rgba(255,255,255,.08);
}

.site-header.hidden {
    transform: translateY(-100%);
}

.site-header .container {
    position: relative;

    z-index: 3;

    height: 88px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.45rem;
    font-weight: 900;

    letter-spacing: -.04em;
}

.logo span {
    color: var(--gold);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.main-nav a {
    position: relative;

    color: rgba(255,255,255,.72);

    font-weight: 500;

    transition: .3s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    border-radius: 999px;

    background: var(--gold);

    transition: .35s ease;
}

.main-nav a:hover {
    color: #fff;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-btn {
    position: relative;

    overflow: hidden;

    padding: 14px 24px;

    border-radius: 999px;

    background: var(--gold);

    color: #000;

    font-weight: 800;

    transition: .35s ease;
}

.header-btn::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            120deg,
            transparent,
            rgba(255,255,255,.4),
            transparent
        );

    transition: .6s ease;
}

.header-btn:hover::before {
    left: 120%;
}

.header-btn:hover {
    transform: translateY(-3px);
}

.mobile-toggle {
    display: none;

    width: 52px;
    height: 52px;

    border: 0;

    background: rgba(255,255,255,.08);

    border-radius: 18px;

    cursor: pointer;

    position: relative;
}

.mobile-toggle span {
    position: absolute;

    left: 50%;

    width: 22px;
    height: 2px;

    background: #fff;

    transition: .35s ease;
}

.mobile-toggle span:first-child {
    transform: translate(-50%, -6px);
}

.mobile-toggle span:last-child {
    transform: translate(-50%, 6px);
}

.mobile-toggle.is-active span:first-child {
    transform:
        translate(-50%, 0)
        rotate(45deg);
}

.mobile-toggle.is-active span:last-child {
    transform:
        translate(-50%, 0)
        rotate(-45deg);
}

.mobile-menu {
    display: none;
}

@media (max-width: 980px) {

    .main-nav,
    .header-btn {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .mobile-menu {
        display: flex;

        flex-direction: column;
        gap: 18px;

        position: absolute;

        top: 100%;
        left: 20px;
        right: 20px;

        padding: 24px;

        border-radius: 28px;

        background:
            rgba(10,10,10,.94);

        border: 1px solid rgba(255,255,255,.08);

        backdrop-filter: blur(20px);

        box-shadow:
            0 30px 90px rgba(0,0,0,.5);
    }

    .mobile-menu a {
        font-size: 1.1rem;
    }

    .mobile-cta {
        margin-top: 12px;

        padding: 16px 22px;

        border-radius: 18px;

        background: var(--gold);

        color: #000;

        text-align: center;

        font-weight: 800;
    }
}