@font-face {
    font-family: "Clash Display";
    src: url("../fonts/clash-display-semibold.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 600;
}

@font-face {
    font-family: "Geist";
    src: url("../fonts/geist-regular.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Geist";
    src: url("../fonts/geist-medium.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 500 700;
}

@font-face {
    font-family: "Albert Sans";
    src: url("../fonts/albert-sans-regular.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 400 700;
}

:root {
    --bg: #000;
    --surface: #0c0c0c;
    --surface2: #121214;
    --border: rgba(255, 255, 255, 0.16);
    --border-hover: rgba(255, 255, 255, 0.34);
    --text: #fff;
    --text-muted: rgba(255, 255, 255, 0.64);
    --text-dim: rgba(255, 255, 255, 0.8);
    --accent: #fff;
    --accent2: #fff;
    --green: #fff;
    --red: #f87171;
    --gold: #fff;
}

html {
    scroll-behavior: smooth;
    background: #000;
}

body {
    background: #000;
    color: #fff;
    font-family: "Geist", "Geist Placeholder", sans-serif;
    font-size: 16px;
    letter-spacing: -0.03em;
}

body::before,
.ambient {
    display: none !important;
}

button,
input,
textarea,
select {
    font: inherit;
}

.mobile-menu-toggle {
    display: none;
}

/* Primary navigation */
.nav,
.auth-nav {
    width: calc(100% - 96px);
    max-width: 1120px;
    height: 60px;
    margin: 32px auto 0;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    position: relative;
    top: auto;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav {
    position: sticky;
    top: 18px;
    margin-bottom: 18px;
}

.nav-left {
    display: contents;
}

.logo {
    position: relative;
    z-index: 2;
    color: #fff;
}

.logo-mark {
    width: 120px;
    height: 48px;
    border-radius: 0;
    overflow: hidden;
}

.logo-mark img {
    width: 269px;
    height: 126px;
    max-width: none;
    object-fit: contain;
}

.nav-links,
.auth-nav-links {
    min-height: 60px;
    padding: 8px 12px;
    background: #fff;
    border-radius: 58px;
    box-shadow: rgba(224, 215, 198, 0.5) 0 1px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a,
.auth-nav-links a {
    padding: 11px 15px;
    color: #121214;
    background: transparent !important;
    border-radius: 32px;
    font-family: "Geist", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.03em;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease-in-out;
}

.nav-links a:hover,
.auth-nav-links a:hover,
.nav-links a.active {
    color: #121214;
    opacity: 0.62;
}

.nav-right {
    margin-left: auto;
}

.user-pill {
    min-height: 44px;
    padding: 7px 14px 7px 7px;
    gap: 10px;
    border: 0;
    border-radius: 32px;
    background: #000;
    color: #fff;
    box-shadow: rgba(0, 0, 0, 0.45) 0 8px 22px;
}

.user-pill:hover {
    background: #121214;
    border-color: transparent;
}

.user-avatar {
    width: 30px;
    height: 30px;
    background: #fff;
    color: #000;
    font-family: "Geist", sans-serif;
}

.user-name {
    color: #fff;
    font-size: 14px;
}

.user-dropdown {
    top: calc(100% + 12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(18px);
    font-family: "Geist", sans-serif;
}

.auth-divider {
    display: none;
}

/* Auth view */
#auth-section {
    min-height: 100vh;
    background: linear-gradient(#000 0%, #030303 114%);
}

.auth-main {
    padding: 82px 24px 96px;
}

.auth-container {
    width: min(100%, 1120px);
}

.auth-hero {
    width: 100%;
    max-width: none;
    margin: 0 auto 58px;
    text-align: center;
}

.auth-logo-wrap {
    display: none;
}

.auth-hero h1 {
    max-width: 1050px;
    margin: 0 auto 24px;
    background: radial-gradient(50% 250% at 50% 50%, #fff 0%, rgba(255, 255, 255, 0) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-family: "Clash Display", sans-serif;
    font-size: clamp(64px, 7vw, 90px);
    font-weight: 600;
    line-height: 0.86;
    letter-spacing: 0;
    text-transform: uppercase;
}

.auth-hero p {
    max-width: 560px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.64);
    font-family: "Geist", sans-serif;
    font-size: 16px;
    line-height: 1.45;
    letter-spacing: -0.03em;
}

.auth-card {
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 36px;
    background: linear-gradient(320deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    box-shadow: rgba(181, 181, 181, 0.14) 0 8px 20px;
    backdrop-filter: blur(5px);
}

.auth-steps {
    margin-bottom: 28px;
}

.step-dot {
    border-color: rgba(255, 255, 255, 0.36);
    background: transparent;
}

.step-item.active .step-dot,
.step-item.done .step-dot {
    border-color: #fff;
    background: #fff;
    box-shadow: none;
}

.step-item.active .step-label,
.step-item.done .step-label {
    color: #fff;
}

.step-line,
.step-line::after {
    background: rgba(255, 255, 255, 0.18);
}

.step-line.filled {
    background: #fff;
}

.consent-block,
.terms-scroll,
.license-card,
.success-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.14);
    border-radius: 16px;
}

.terms-scroll {
    scrollbar-color: rgba(255, 255, 255, 0.36) transparent;
}

.terms-scroll h6 {
    color: #fff;
    font-family: "Albert Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.04em;
}

.terms-scroll p,
.consent-text,
.scroll-hint {
    font-family: "Geist", sans-serif;
}

.btn-discord,
.btn-continue,
.btn-outline,
.status-actions a {
    min-height: 44px;
    border: 0;
    border-radius: 32px;
    background: #fff;
    color: #000;
    font-family: "Geist", sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.03em;
    text-transform: none;
    box-shadow: rgba(0, 0, 0, 0.45) 0 8px 22px;
}

.btn-discord:hover,
.btn-continue:hover,
.btn-outline:hover,
.status-actions a:hover {
    background: #f5f5f5;
    color: #000;
    transform: translateY(-1px);
}

.btn-discord.disabled {
    background: rgba(255, 255, 255, 0.16) !important;
    color: rgba(255, 255, 255, 0.44);
    box-shadow: none;
}

.auth-footer-line {
    color: rgba(255, 255, 255, 0.5);
    font-family: "Geist", sans-serif;
}

/* Downloads view */
#downloads-section {
    background: #000;
}

.dl-main {
    max-width: 1200px;
    padding: 72px 20px 120px;
}

.downloads-intro {
    min-height: 390px;
    padding: 52px 8px 68px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.downloads-kicker {
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.64);
    font-family: "Geist", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.08em;
}

.downloads-intro h1 {
    width: 100%;
    margin: 0;
    background: radial-gradient(50% 250% at 50% 50%, #fff 0%, rgba(255, 255, 255, 0) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-family: "Clash Display", sans-serif;
    font-size: clamp(64px, 7.1vw, 90px);
    font-weight: 600;
    line-height: 0.78;
    letter-spacing: 0;
    text-transform: uppercase;
}

.downloads-lede {
    max-width: 570px;
    margin: 28px auto 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 16px;
    line-height: 1.45;
}

.downloads-scroll-cta,
.btn-hero-dl {
    min-height: 44px;
    margin-top: 28px;
    padding: 8px 8px 8px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    border-radius: 32px;
    background: #fff;
    color: #000;
    font-family: "Geist", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
    text-decoration: none;
    text-transform: none;
    box-shadow: rgba(0, 0, 0, 0.45) 0 8px 22px;
    transition: box-shadow 0.16s, transform 0.16s;
}

.round-arrow,
.downloads-scroll-cta::after {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.btn-hero-dl {
    width: fit-content;
    min-width: 176px;
    margin-top: 0;
}

.btn-hero-dl:hover,
.downloads-scroll-cta:hover {
    background: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: rgba(255, 255, 255, 0.16) 0 12px 28px;
}

#hero-section {
    margin-bottom: 96px;
}

.hero-card {
    min-height: 610px;
    grid-template-columns: 1.35fr 0.85fr;
    border: 0;
    border-radius: 32px;
    background: #090909;
}

.hero-img-wrap {
    min-height: 610px;
}

.hero-img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 58%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
}

.hero-content {
    padding: 56px 48px 56px 36px;
    border: 0;
    background: linear-gradient(320deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.68));
}

.hero-title {
    margin-bottom: 16px;
    color: #fff;
    font-family: "Albert Sans", sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.hero-desc {
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.8);
    font-family: "Geist", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.03em;
}

.hero-meta {
    color: rgba(255, 255, 255, 0.64);
    border-top-color: rgba(255, 255, 255, 0.16);
    font-family: "Geist", sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: -0.03em;
}

.category-section {
    margin-bottom: 84px;
}

.cat-header {
    margin-bottom: 24px;
    padding-bottom: 0;
    border: 0;
}

.cat-title {
    color: rgba(255, 255, 255, 0.64);
    font-family: "Geist", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.08em;
}

.cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 24px;
}

.card {
    border-radius: 18px;
}

.card-thumb {
    border: 0;
    border-radius: 18px;
    background: #0c0c0c;
    box-shadow: rgba(0, 0, 0, 0.3) 0 8px 24px;
}

.card-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: inherit;
    pointer-events: none;
}

.featured-pill {
    top: 12px;
    right: 12px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(243, 244, 246, 0.85);
    color: #111827;
    backdrop-filter: blur(6px) saturate(1.12);
    font-family: "Geist", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.03em;
    text-transform: none;
    box-shadow: rgba(17, 24, 39, 0.14) 0 1px 6px;
}

.card-body {
    padding: 16px 2px 0;
}

.card-name {
    margin-bottom: 5px;
    color: #fff;
    font-family: "Albert Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.04em;
}

.card-sub {
    color: rgba(255, 255, 255, 0.64);
    font-family: "Geist", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.03em;
}

/* Site footer */
.footer {
    width: calc(100% - 72px);
    max-width: 1193px;
    margin: 0 auto 36px;
    padding: 50px 60px 36px;
    border: 0;
    border-radius: 32px;
    background: linear-gradient(#fff 0%, #ababab 100%);
    color: #121214;
}

.footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand-logo,
.footer-col h4,
.footer-col a,
.footer-brand-desc,
.footer-copy,
.socials a {
    color: #121214;
    font-family: "Geist", sans-serif;
}

.footer-brand-logo {
    font-family: "Albert Sans", sans-serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.05em;
    text-transform: none;
}

.footer .logo-mark {
    filter: none;
}

.footer-brand-desc {
    color: rgba(18, 18, 20, 0.7);
    font-size: 14px;
}

.footer-col h4 {
    font-size: 13px;
    letter-spacing: 0.06em;
}

.footer-col a {
    color: rgba(18, 18, 20, 0.72);
    font-size: 14px;
}

.footer-col a:hover,
.socials a:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.07);
}

.footer-bottom {
    border-top-color: rgba(18, 18, 20, 0.18);
}

.footer-copy {
    color: rgba(18, 18, 20, 0.64);
    font-size: 12px;
}

.announcement {
    background: #fff;
    color: #000;
    border: 0;
    font-family: "Geist", sans-serif;
}

.dl-toast {
    border-radius: 16px;
    background: rgba(13, 12, 15, 0.58);
    border-color: rgba(255, 255, 255, 0.12);
    font-family: "Geist", sans-serif;
}

@media (max-width: 1080px) {
    .nav-links a {
        padding-inline: 11px;
        font-size: 14px;
    }

    .user-name {
        display: none;
    }

    .hero-card {
        min-height: 540px;
    }

    .hero-img-wrap {
        min-height: 540px;
    }
}

@media (max-width: 809px) {
    .nav,
    .auth-nav {
        width: calc(100% - 48px);
        margin-top: 16px;
    }

    .nav {
        top: 12px;
    }

    .logo-mark {
        width: 150px;
        height: 62px;
    }

    .logo-mark img {
        width: 320px;
        height: 150px;
    }

    .mobile-menu-toggle {
        width: 104px;
        height: 60px;
        margin-left: auto;
        padding: 8px 8px 8px 16px;
        border: 0;
        border-radius: 32px;
        background: #000;
        color: #fff;
        box-shadow: rgba(224, 215, 198, 0.22) 0 1px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        font-family: "Geist", sans-serif;
        font-size: 15px;
        font-weight: 500;
        cursor: pointer;
        position: relative;
        z-index: 4;
    }

    .mobile-menu-icon {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
    }

    .mobile-menu-icon i {
        width: 11px;
        height: 1px;
        background: #000;
        transition: transform 0.2s ease;
    }

    .nav-links,
    .auth-nav-links {
        display: none;
        position: absolute;
        left: auto;
        right: 0;
        top: 70px;
        transform: none;
        width: 220px;
        min-height: 0;
        padding: 12px;
        border-radius: 24px;
        flex-direction: column;
        align-items: stretch;
        box-shadow: rgba(0, 0, 0, 0.45) 0 18px 40px;
    }

    .mobile-open .nav-links,
    .mobile-open .auth-nav-links {
        display: flex;
    }

    .nav-links a,
    .auth-nav-links a {
        padding: 11px 14px;
        text-align: left;
    }

    .nav-right {
        display: none;
    }

    .auth-main {
        padding: 96px 24px 72px;
    }

    .auth-hero {
        margin-bottom: 38px;
    }

    .auth-hero h1,
    .downloads-intro h1 {
        font-size: 44px;
        line-height: 0.95;
    }

    .auth-hero p,
    .downloads-lede {
        font-size: 14px;
        line-height: 1.4;
    }

    .auth-card {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .dl-main {
        padding: 44px 24px 88px;
    }

    .downloads-intro {
        min-height: 380px;
        padding: 62px 0 72px;
    }

    .downloads-kicker {
        margin-bottom: 22px;
    }

    .hero-card {
        min-height: 0;
        grid-template-columns: 1fr;
        border-radius: 32px;
    }

    .hero-img-wrap {
        min-height: 390px;
    }

    .hero-img-wrap::after {
        background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.84) 100%);
    }

    .hero-content {
        padding: 32px 26px 30px;
    }

    .hero-title {
        font-size: 32px;
    }

    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 16px;
    }

    .card-name {
        font-size: 18px;
    }

    .footer {
        width: calc(100% - 48px);
        padding: 42px 28px 28px;
        border-radius: 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }
}

@media (max-width: 560px) {
    .logo-mark {
        width: 146px;
        height: 60px;
    }

    .logo-mark img {
        width: 310px;
        height: 145px;
    }

    .auth-main {
        padding-top: 88px;
    }

    .downloads-intro {
        align-items: flex-start;
        text-align: left;
    }

    .downloads-intro h1 {
        width: 100%;
        text-align: center;
    }

    .downloads-kicker,
    .downloads-lede,
    .downloads-scroll-cta {
        align-self: center;
        text-align: center;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .card-thumb {
        border-radius: 18px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        align-items: flex-start;
        gap: 20px;
        flex-direction: column;
    }
}

/* Downloads experience */
#downloads-section {
    min-height: 100svh;
    background: #08070a;
}

#main-nav {
    width: calc(100% - 32px);
    max-width: 1240px;
    height: 68px;
    margin: 16px auto 0;
    padding: 8px 10px 8px 16px;
    top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 18px;
    background: rgba(8, 7, 10, 0.88);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(18px);
}

#main-nav .logo-mark {
    width: 88px;
    height: 32px;
}

#main-nav .logo-mark img {
    width: 188px;
    height: 88px;
}

#main-nav .nav-links {
    min-height: 0;
    padding: 4px;
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
}

#main-nav .nav-links a {
    padding: 9px 14px;
    border-radius: 999px;
    color: rgba(238, 237, 238, 0.58);
    font-size: 14px;
}

#main-nav .nav-links a:hover {
    color: #eeedee;
    opacity: 1;
}

#main-nav .nav-links a.active {
    background: #fff !important;
    color: #08070a;
    opacity: 1;
}

#main-nav .user-pill {
    min-height: 48px;
    padding: 6px 14px 6px 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

#main-nav .user-pill:hover {
    background: rgba(255, 255, 255, 0.1);
}

#main-nav .user-avatar {
    width: 34px;
    height: 34px;
    background: #fff;
    color: #08070a;
}

#main-nav .user-dropdown {
    top: calc(100% + 8px);
    width: 176px;
    padding: 6px;
    border-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(12, 11, 14, 0.92);
    backdrop-filter: blur(22px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
}

#main-nav .user-dropdown .dropdown-header,
#main-nav .user-dropdown .dropdown-item svg {
    display: none;
}

#main-nav .user-dropdown .dropdown-item {
    min-height: 38px;
    padding: 9px 11px;
    gap: 0;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-family: "Geist", sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0;
}

#main-nav .user-dropdown .dropdown-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.055);
}

#main-nav .user-dropdown .dropdown-divider {
    margin: 4px 8px;
    background: rgba(255, 255, 255, 0.08);
}

#main-nav .user-dropdown .dropdown-item.danger {
    color: rgba(255, 255, 255, 0.52);
}

#main-nav .user-dropdown .dropdown-item.danger:hover {
    color: #ff8d8d;
    background: rgba(255, 104, 104, 0.07);
}

#downloads-section .dl-main {
    max-width: 1240px;
    padding: 34px 16px 120px;
}

#downloads-section .downloads-intro {
    min-height: 350px;
    padding: 68px 8px 60px;
    align-items: flex-start;
    text-align: left;
}

#downloads-section .downloads-kicker {
    margin-bottom: 18px;
    color: rgba(238, 237, 238, 0.46);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

#downloads-section .downloads-intro h1 {
    max-width: 820px;
    background: none;
    color: #eeedee;
    font-family: "Albert Sans", "Geist", sans-serif;
    font-size: clamp(52px, 6vw, 82px);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: -0.065em;
    text-align: left;
    text-transform: none;
}

#downloads-section .downloads-lede {
    max-width: 560px;
    margin: 24px 0 0;
    color: rgba(238, 237, 238, 0.58);
    font-size: 15px;
    line-height: 1.5;
}

#downloads-section .downloads-scroll-cta,
#downloads-section .btn-hero-dl {
    min-height: 52px;
    padding: 8px 8px 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: #fff;
    color: #08070a;
    box-shadow: none;
}

#downloads-section .downloads-scroll-cta {
    margin-top: 28px;
}

#downloads-section .round-arrow {
    width: 34px;
    height: 34px;
    background: #08070a;
    color: #fff;
}

#downloads-section #hero-section {
    margin-bottom: 118px;
}

#downloads-section .hero-card {
    min-height: 620px;
    display: block;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 18px;
    background: #111;
}

#downloads-section .hero-img-wrap {
    position: absolute;
    inset: 0;
    min-height: 0;
}

#downloads-section .hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 53% center;
    filter: brightness(0.65) contrast(1.06) saturate(0.86);
}

#downloads-section .hero-img-wrap::after {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.28) 54%, rgba(0, 0, 0, 0.08) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent 48%);
}

#downloads-section .hero-content {
    position: absolute;
    z-index: 2;
    left: 38px;
    bottom: 34px;
    width: min(520px, calc(100% - 76px));
    padding: 0;
    border: 0;
    background: transparent;
}

#downloads-section .hero-title {
    margin-bottom: 12px;
    color: #fff;
    font-family: "Albert Sans", "Geist", sans-serif;
    font-size: clamp(38px, 4.1vw, 56px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.06em;
}

#downloads-section .hero-desc {
    max-width: 480px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.48;
}

#downloads-section .hero-meta {
    margin: 0 0 22px;
    padding: 0;
    gap: 16px;
    border: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 12px;
}

#downloads-section .btn-hero-dl {
    width: fit-content;
    min-width: 184px;
    margin: 0;
    padding-inline: 24px;
}

#downloads-section .btn-hero-dl:hover,
#downloads-section .downloads-scroll-cta:hover {
    background: #f4f4f4;
    color: #08070a;
    transform: translateY(-1px);
    box-shadow: none;
}

#downloads-section .category-section {
    margin-bottom: 96px;
}

#downloads-section .cat-header {
    margin-bottom: 24px;
    padding: 0 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

#downloads-section .cat-title {
    color: #eeedee;
    font-family: "Albert Sans", "Geist", sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.045em;
    text-transform: none;
}

#downloads-section .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 20px;
}

#downloads-section .card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 18px;
    background: #0d0c0f;
    transform: none;
}

#downloads-section .card-thumb {
    aspect-ratio: 16 / 10;
    flex: 0 0 auto;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 17px 17px 0 0;
    background: #111;
    box-shadow: none;
}

#downloads-section .card-thumb::after {
    display: none;
}

#downloads-section .card-thumb img {
    filter: brightness(0.86) saturate(0.9);
    transition: none;
}

#downloads-section .featured-pill {
    top: 12px;
    right: 12px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(8, 7, 10, 0.8);
    color: rgba(255, 255, 255, 0.82);
    box-shadow: none;
    backdrop-filter: blur(12px);
    font-size: 11px;
}

#downloads-section .card-body {
    min-height: 94px;
    padding: 16px 16px 16px 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    flex: 1;
}

#downloads-section .card-details {
    min-width: 0;
}

#downloads-section .card-name {
    margin-bottom: 5px;
    color: #eeedee;
    font-size: 19px;
}

#downloads-section .card-sub {
    color: rgba(238, 237, 238, 0.46);
    font-size: 13px;
}

#downloads-section .card-download-btn {
    width: fit-content;
    min-height: 42px;
    margin: 0;
    padding: 5px 5px 5px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: #fff;
    color: #08070a;
    font-family: "Geist", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.025em;
    cursor: pointer;
    transition: background-color 0.16s ease;
}

#downloads-section .card-download-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #0d0c0f;
    color: #fff;
    overflow: hidden;
}

#downloads-section .card-download-icon::before {
    content: "\2193";
    display: block;
    color: currentColor;
    font-family: "Geist", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(0);
}

#downloads-section .card-download-btn:hover {
    background: #f0f0f0;
    transform: none;
}

#downloads-section .card-download-btn:hover .card-download-icon::before {
    transform: translateY(1px);
}

#downloads-section .card-download-btn.is-downloading .card-download-icon::before {
    animation: cardDownloadDrop 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}

#downloads-section .card-download-btn:active {
    background: #e7e7e7;
    transform: none;
}

#downloads-section .card-download-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.72);
    outline-offset: 3px;
}

@keyframes cardDownloadDrop {
    0% { opacity: 1; transform: translateY(0); }
    38% { opacity: 0; transform: translateY(11px); }
    39% { opacity: 0; transform: translateY(-9px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    #downloads-section .card-download-btn.is-downloading .card-download-icon::before {
        animation: none;
    }
}

/* Hero download interaction */
#downloads-section .btn-hero-dl {
    width: 206px;
    min-width: 206px;
    max-width: 206px;
    flex: none;
    align-self: flex-start;
    height: 60px;
    min-height: 60px;
    max-height: 60px;
    margin: 0;
    padding: 9px 12px 11px 26px;
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    overflow: hidden;
    border: 0;
    border-radius: 50px;
    background: rgba(250, 250, 250, 0.09);
    color: #fff;
    box-shadow: none;
    font-family: "Geist", "Albert Sans", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-transform: none;
    transform: none;
    transition: transform 0.2s ease;
}

#downloads-section .hero-download-fill {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: #fff;
    pointer-events: none;
    clip-path: circle(20px at calc(100% - 32px) 50%);
    transition: clip-path 0.56s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: clip-path;
}

#downloads-section .hero-download-label,
#downloads-section .hero-download-icon {
    position: relative;
    z-index: 2;
}

#downloads-section .hero-download-label {
    color: #fff;
    transition: color 0.48s cubic-bezier(0.16, 1, 0.3, 1);
}

#downloads-section .hero-download-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    color: rgba(0, 0, 0, 0.75);
}

#downloads-section .hero-download-icon svg {
    width: 20px;
    height: 20px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: rotate(0deg);
    transition: width 0.48s cubic-bezier(0.16, 1, 0.3, 1), height 0.48s cubic-bezier(0.16, 1, 0.3, 1);
}

#downloads-section .btn-hero-dl:hover,
#downloads-section .btn-hero-dl:focus-visible {
    background: rgba(250, 250, 250, 0.09);
    color: #252525;
    transform: none;
    box-shadow: none;
}

#downloads-section .btn-hero-dl:hover .hero-download-fill,
#downloads-section .btn-hero-dl:focus-visible .hero-download-fill {
    clip-path: circle(200px at calc(100% - 32px) 50%);
}

#downloads-section .btn-hero-dl:hover .hero-download-label,
#downloads-section .btn-hero-dl:focus-visible .hero-download-label {
    color: #252525;
}

#downloads-section .btn-hero-dl:hover .hero-download-icon svg,
#downloads-section .btn-hero-dl:focus-visible .hero-download-icon svg {
    width: 24px;
    height: 24px;
}

#downloads-section .btn-hero-dl:active {
    transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
    #downloads-section .hero-download-fill,
    #downloads-section .hero-download-label,
    #downloads-section .hero-download-icon svg {
        transition-duration: 0.01ms;
    }
}

#downloads-section > .footer {
    width: calc(100% - 32px);
    max-width: 1240px;
    margin: 0 auto 16px;
    padding: 46px 48px 30px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 18px;
    background: #0d0c0f;
    color: #eeedee;
}

#downloads-section > .footer .footer-brand-logo,
#downloads-section > .footer .footer-col h4,
#downloads-section > .footer .footer-col a,
#downloads-section > .footer .footer-brand-desc,
#downloads-section > .footer .footer-copy,
#downloads-section > .footer .socials a {
    color: #eeedee;
}

#downloads-section > .footer .footer-brand-logo {
    font-size: 22px;
}

#downloads-section > .footer .footer-brand-desc,
#downloads-section > .footer .footer-col a,
#downloads-section > .footer .footer-copy {
    color: rgba(238, 237, 238, 0.5);
}

#downloads-section > .footer .footer-col a:hover,
#downloads-section > .footer .socials a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

#downloads-section > .footer .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.075);
}

@media (max-width: 900px) {
    #main-nav {
        width: calc(100% - 24px);
        margin-top: 12px;
        padding-left: 12px;
    }

    #main-nav .mobile-menu-toggle {
        width: 102px;
        height: 50px;
        border: 1px solid rgba(255, 255, 255, 0.075);
        background: rgba(255, 255, 255, 0.06);
        box-shadow: none;
    }

    #main-nav .nav-links {
        top: 62px;
        border: 1px solid rgba(255, 255, 255, 0.075);
        border-radius: 18px;
        background: rgba(8, 7, 10, 0.98);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    }

    #main-nav .nav-links a {
        color: rgba(238, 237, 238, 0.62);
    }

    #main-nav .nav-links a.active {
        color: #08070a;
    }

    #downloads-section .dl-main {
        padding: 28px 20px 88px;
    }

    #downloads-section .downloads-intro {
        min-height: 320px;
        padding: 54px 0 48px;
    }

    #downloads-section .downloads-intro h1 {
        font-size: clamp(46px, 10vw, 66px);
    }

    #downloads-section .hero-card {
        min-height: 590px;
    }

    #downloads-section .hero-img-wrap {
        min-height: 0;
    }

    #downloads-section .hero-img-wrap::after {
        background:
            linear-gradient(0deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.22) 66%, rgba(0, 0, 0, 0.06) 100%);
    }

    #downloads-section .hero-content {
        left: 24px;
        right: 24px;
        bottom: 24px;
        width: auto;
    }

    #downloads-section .hero-title {
        font-size: 38px;
    }

    #downloads-section .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #downloads-section > .footer {
        width: calc(100% - 24px);
        margin-bottom: 12px;
        padding: 38px 28px 26px;
    }
}

@media (max-width: 560px) {
    #main-nav .logo-mark {
        width: 78px;
        height: 28px;
    }

    #main-nav .logo-mark img {
        width: 167px;
        height: 78px;
    }

    #downloads-section .downloads-intro {
        min-height: 300px;
        align-items: flex-start;
        text-align: left;
    }

    #downloads-section .downloads-intro h1 {
        font-size: 48px;
        text-align: left;
    }

    #downloads-section .downloads-kicker,
    #downloads-section .downloads-lede,
    #downloads-section .downloads-scroll-cta {
        align-self: flex-start;
        text-align: left;
    }

    #downloads-section .hero-card {
        min-height: 600px;
    }

    #downloads-section .hero-img-wrap img {
        object-position: 58% center;
    }

    #downloads-section .hero-title {
        font-size: 34px;
    }

    #downloads-section .hero-desc {
        font-size: 13px;
    }

    #downloads-section .cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    #downloads-section .cat-title {
        font-size: 24px;
    }

    #downloads-section > .footer .footer-inner {
        grid-template-columns: 1fr;
    }
}

/* Split-screen authentication */
#auth-section {
    min-height: 100svh;
    height: 100svh;
    display: grid;
    grid-template-columns: minmax(420px, 34vw) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-areas:
        "auth-nav auth-media"
        "auth-main auth-media";
    overflow: hidden;
    background: #08070a;
}

#auth-section .auth-nav {
    grid-area: auth-nav;
    min-width: 0;
    padding: 26px 32px 10px;
    background: #08070a;
}

#auth-section .auth-nav .logo-mark {
    width: 152px;
    height: 56px;
}

#auth-section .auth-nav .logo-mark img {
    width: 310px;
    height: 140px;
}

#auth-section .auth-nav-links,
#auth-section .mobile-menu-toggle,
#auth-section > .footer {
    display: none !important;
}

#auth-section .auth-main {
    grid-area: auth-main;
    min-width: 0;
    min-height: 0;
    padding: 22px 32px 34px;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    background: #08070a;
}

#auth-section .auth-container {
    width: 100%;
    max-width: 480px;
    margin: auto;
}

#auth-section .auth-hero {
    margin: 0 0 24px;
    text-align: left;
}

#auth-section .auth-hero h1 {
    max-width: none;
    margin: 0 0 9px;
    background: none;
    color: #eeedee;
    font-family: "Albert Sans", "Geist", sans-serif;
    font-size: clamp(27px, 2.15vw, 34px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.045em;
    text-transform: none;
}

#auth-section .auth-hero p {
    max-width: 420px;
    margin: 0;
    color: rgba(238, 237, 238, 0.58);
    font-family: "Geist", sans-serif;
    font-size: 14px;
    line-height: 1.45;
    letter-spacing: -0.025em;
}

#auth-section .auth-card {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

#auth-section .auth-steps {
    display: none;
}

#auth-section .consent-block {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

#auth-section .scroll-hint {
    margin: 0 0 9px;
    color: rgba(238, 237, 238, 0.54);
    font-family: "Geist", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

#auth-section .terms-scroll {
    height: 132px;
    margin: 0 0 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(238, 237, 238, 0.55);
    font-family: "Geist", sans-serif;
    font-size: 10.5px;
    line-height: 1.55;
}

#auth-section .terms-notice {
    padding: 0 0 10px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 0;
    background: transparent;
    color: rgba(238, 237, 238, 0.72);
    font-size: 10px;
    text-align: left;
}

#auth-section .terms-scroll h6 {
    margin: 12px 0 4px;
    color: #eeedee;
    font-family: "Geist", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-transform: none;
}

#auth-section .consent-row {
    min-height: 50px;
    padding: 12px 14px;
    gap: 11px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

#auth-section .consent-row:not(.locked) {
    border-color: rgba(255, 255, 255, 0.14);
}

#auth-section .consent-text {
    color: rgba(238, 237, 238, 0.62);
    font-family: "Geist", sans-serif;
    font-size: 11px;
    line-height: 1.42;
}

#auth-section .consent-text a {
    color: rgba(255, 255, 255, 0.9);
}

#auth-section .btn-discord,
#auth-section .btn-continue,
#auth-section .btn-outline,
#auth-section .status-actions a {
    min-height: 52px;
    padding: 14px 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: #fff;
    color: #08070a;
    font-family: "Geist", sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.025em;
    box-shadow: none;
}

#auth-section .btn-discord {
    margin-top: 16px !important;
}

#auth-section .btn-discord:not(.disabled),
#auth-section .btn-discord:not(.disabled):hover,
#auth-section .btn-discord:not(.disabled):focus-visible {
    color: #fff;
}

#auth-section .btn-discord:not(.disabled) svg {
    color: #fff;
    fill: currentColor;
}

#auth-section .btn-discord.disabled {
    border-color: rgba(255, 255, 255, 0.075);
    background: rgba(255, 255, 255, 0.12) !important;
    color: rgba(238, 237, 238, 0.42);
}

#auth-section .auth-status,
#auth-section .success-card,
#auth-section .license-card {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
}

#auth-section .auth-footer-line {
    margin-top: 20px;
    justify-content: flex-start;
    color: rgba(238, 237, 238, 0.42);
    font-family: "Geist", sans-serif;
    font-size: 11px;
}

#auth-section .auth-footer-line a {
    color: rgba(238, 237, 238, 0.78);
}

.auth-media {
    grid-area: auth-media;
    position: relative;
    min-width: 0;
    min-height: 0;
    margin: 16px 16px 16px 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: #111;
}

.auth-media-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 53% center;
    filter: brightness(0.72) contrast(1.06) saturate(0.88);
    transform: scale(1.01);
}

.auth-media-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 32%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 36%);
}

.auth-media-wordmark {
    position: absolute;
    top: auto;
    right: 28px;
    bottom: 20px;
    left: auto;
    width: 152px;
    height: auto;
    filter: brightness(0) invert(1);
}

.auth-media-caption {
    position: absolute;
    left: 34px;
    bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 0;
    color: #fff;
}

.auth-media-caption span {
    color: rgba(255, 255, 255, 0.58);
    font-family: "Geist", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-media-caption strong {
    font-family: "Albert Sans", "Geist", sans-serif;
    font-size: clamp(22px, 2.2vw, 34px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

@media (min-width: 901px) {
    #auth-section {
        grid-template-rows: minmax(0, 1fr);
        grid-template-areas: "auth-main auth-media";
    }

    #auth-section .auth-nav {
        display: none;
    }
}

@media (max-width: 900px) {
    #auth-section {
        height: auto;
        min-height: 100svh;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto minmax(0, 1fr);
        grid-template-areas:
            "auth-nav"
            "auth-media"
            "auth-main";
        overflow: visible;
    }

    #auth-section .auth-nav {
        padding: 18px 22px 6px;
    }

    .auth-media {
        height: min(34svh, 300px);
        margin: 10px 16px 0;
        border-radius: 16px;
    }

    .auth-media-wordmark {
        display: none;
    }

    .auth-media-caption {
        left: 22px;
        bottom: 12px;
    }

    #auth-section .auth-main {
        padding: 34px 22px 46px;
        overflow: visible;
    }
}

@media (max-width: 560px) {
    #auth-section .auth-nav .logo-mark {
        width: 140px;
        height: 50px;
    }

    .auth-media {
        height: 220px;
    }

    #auth-section .auth-main {
        padding: 30px 18px 42px;
    }

    #auth-section .auth-hero h1 {
        font-size: 28px;
    }

    #auth-section .terms-scroll {
        height: 118px;
    }

    #auth-section .auth-footer-line {
        flex-wrap: wrap;
    }
}

