:root {
    --ea-site-copy: rgba(240, 244, 255, 0.92);
    --ea-site-copy-muted: rgba(195, 208, 230, 0.72);
    --ea-site-copy-dim: rgba(178, 190, 211, 0.5);
    --ea-site-line: rgba(132, 178, 255, 0.16);
    --ea-site-line-strong: rgba(255, 210, 102, 0.22);
    --ea-site-panel: rgba(8, 12, 18, 0.88);
    --ea-site-panel-strong: rgba(5, 8, 13, 0.94);
    --ea-site-blue: #7cc4ff;
    --ea-site-blue-strong: #5a9eff;
    --ea-site-gold: #ffcc4d;
    --ea-site-gold-strong: #ffb400;
    --ea-site-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.28);
}

.ea-site-layout {
    position: relative;
    min-height: 100vh;
    padding: 4.8rem 0 1.6rem;
    overflow: clip;
    background:
        radial-gradient(circle at 12% 4%, rgba(88, 145, 255, 0.18), rgba(88, 145, 255, 0) 24%),
        radial-gradient(circle at 88% 0%, rgba(255, 208, 96, 0.12), rgba(255, 208, 96, 0) 20%),
        linear-gradient(180deg, #05070c 0%, #071019 40%, #05070d 100%);
}

.ea-site-layout::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.3;
    mix-blend-mode: screen;
}

.ea-site-layout__content {
    position: relative;
    z-index: 1;
    padding-bottom: 1.5rem;
}

.ea-site-layout--home {
    padding-top: 0;
    padding-bottom: 0;
    background: transparent;
}

.ea-site-layout--home::before {
    display: none;
}

.ea-site-layout--home .ea-site-layout__content {
    padding-bottom: 0;
}

.ea-site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1045;
    padding-top: 0.95rem;
    transition: transform 0.24s ease, opacity 0.24s ease;
    will-change: transform, opacity;
}

.ea-site-header--hidden {
    transform: translateY(calc(-100% - 0.8rem));
    opacity: 0;
    pointer-events: none;
}

.ea-site-header__frame,
.ea-site-footer__frame {
    margin-inline: auto !important;
}

.ea-site-header__shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    width: 100%;
    min-height: 3rem;
    padding: 0.35rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.ea-site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: #fff;
    text-decoration: none;
}

.ea-site-brand__logo {
    width: 2.8rem;
    height: 2.8rem;
    object-fit: contain;
    filter: drop-shadow(0 0.7rem 1.5rem rgba(0, 0, 0, 0.35));
}

.ea-site-brand__text {
    font-family: "Sora", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 1;
}

.ea-site-brand__text span {
    color: var(--ea-site-gold);
}

.ea-site-brand--overlay {
    display: none;
}

.ea-site-header__toggle {
    margin-left: auto;
    border-color: rgba(255, 255, 255, 0.14);
    border-radius: 0.9rem;
    background: rgba(7, 12, 20, 0.38);
    box-shadow: none;
}

.ea-site-header__collapse {
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.ea-site-header__nav-cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.ea-site-nav-wrap {
    display: flex;
    align-items: center;
    position: relative;
    min-width: 0;
}

.ea-site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    margin-left: 0;
    justify-content: center;
}

.ea-site-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.78rem;
    border-radius: 999px;
    color: rgba(228, 235, 248, 0.74);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.ea-site-nav__link:hover,
.ea-site-nav__link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.ea-site-nav__link--icon {
    justify-content: center;
    min-width: 2.45rem;
    padding-inline: 0.7rem;
}

.ea-site-header__actions {
    margin-left: 0;
}

.ea-site-auth,
.ea-site-auth__group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.ea-site-auth__action,
.ea-site-auth__action:hover,
.ea-site-auth__action:focus-visible {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.45rem;
    padding: 0.58rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(8, 13, 21, 0.6);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    color: rgba(240, 244, 251, 0.88);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ea-site-auth__action:hover,
.ea-site-auth__action:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(13, 20, 32, 0.8);
    color: #fff;
}

.ea-site-auth__action--register {
    color: rgba(255, 209, 98, 0.94);
}

.ea-site-auth__action--login,
.ea-site-auth__action--active {
    border-color: rgba(255, 208, 96, 0.34);
    background:
        linear-gradient(180deg, rgba(70, 131, 227, 0.34), rgba(15, 27, 48, 0.92)),
        rgba(10, 15, 24, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0.85rem 2rem rgba(12, 38, 77, 0.2);
}

.ea-site-auth__action--secondary {
    border-color: rgba(132, 178, 255, 0.14);
    background: rgba(7, 12, 20, 0.54);
}

.ea-site-auth__action--profile {
    color: rgba(236, 242, 251, 0.92);
}

.ea-site-footer {
    position: relative;
    z-index: 2;
    padding: 0.2rem 0 1.1rem;
}

.ea-site-footer__shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0 0;
    border: 0;
    border-top: 1px solid rgba(132, 178, 255, 0.14);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.ea-site-footer__group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

.ea-site-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    text-decoration: none;
}

.ea-site-footer__brand img {
    width: 1.85rem;
    height: 1.85rem;
    object-fit: contain;
}

.ea-site-footer__brand span {
    font-family: "Sora", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.05em;
}

.ea-site-footer__meta,
.ea-site-footer__link {
    color: var(--ea-site-copy-dim);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.ea-site-footer__link:hover {
    color: rgba(255, 255, 255, 0.86);
}

.ea-site-language {
    display: inline-flex;
    align-items: center;
}

.ea-site-language .ant-radio-group {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.ea-site-language .ant-radio-button-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    height: auto;
    padding: 0.38rem 0.7rem;
    border: 1px solid rgba(132, 178, 255, 0.12);
    border-radius: 999px;
    background: rgba(11, 16, 25, 0.72);
    color: rgba(235, 240, 249, 0.72);
    line-height: 1;
    box-shadow: none;
}

.ea-site-language .ant-radio-button-wrapper::before {
    display: none !important;
}

.ea-site-language .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled),
.ea-site-language .ant-radio-button-wrapper:hover {
    border-color: rgba(255, 208, 96, 0.24);
    background:
        linear-gradient(180deg, rgba(53, 92, 153, 0.3), rgba(11, 18, 31, 0.92)),
        rgba(11, 18, 31, 0.82);
    color: #fff;
}

.ea-site-language__label {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.ea-site-page {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.15rem;
}

.ea-site-page__hero,
.ea-site-page__section,
.ea-site-surface {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ea-site-line);
    border-radius: 1.6rem;
    background:
        linear-gradient(180deg, rgba(9, 13, 19, 0.92), rgba(6, 9, 14, 0.96)),
        rgba(6, 9, 14, 0.9);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        var(--ea-site-shadow);
}

.ea-site-page__hero::before,
.ea-site-page__section::before,
.ea-site-surface::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 18%),
        radial-gradient(circle at 100% 0%, rgba(124, 196, 255, 0.08), rgba(124, 196, 255, 0) 24%);
}

.ea-site-page__hero {
    display: grid;
    gap: 1.25rem;
    padding: clamp(1.35rem, 3vw, 2rem);
}

.ea-site-page__section {
    padding: clamp(1.25rem, 3vw, 1.75rem);
}

.ea-site-page__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(170, 207, 255, 0.92);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ea-site-page__eyebrow::before {
    content: "";
    width: 2.6rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(124, 196, 255, 0), rgba(124, 196, 255, 1));
}

.ea-site-page__title,
.ea-site-page__section-title {
    margin: 0;
    color: #fff;
    font-family: "Sora", sans-serif;
    font-weight: 600;
    letter-spacing: -0.06em;
}

.ea-site-page__title {
    font-size: clamp(2.4rem, 5vw, 4.1rem);
    line-height: 0.94;
}

.ea-site-page__section-title {
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1;
}

.ea-site-page__description,
.ea-site-page__section-description {
    margin: 0;
    max-width: 58rem;
    color: var(--ea-site-copy-muted);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.98rem;
    line-height: 1.55;
    letter-spacing: -0.02em;
}

.ea-site-page__section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 1.35rem;
}

.ea-site-button,
.ea-site-button:hover,
.ea-site-button:focus-visible {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.75rem;
    padding: 0.72rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(11, 16, 25, 0.76);
    color: rgba(243, 247, 252, 0.9);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ea-site-button:hover,
.ea-site-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.ea-site-button--primary,
.ea-site-button--primary:hover,
.ea-site-button--primary:focus-visible {
    border-color: rgba(255, 214, 113, 0.42);
    background:
        radial-gradient(circle at 82% 52%, rgba(255, 222, 130, 0.96), rgba(255, 222, 130, 0) 22%),
        linear-gradient(180deg, #9dceff 0%, #5d99ff 58%, #4478da 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 0.95rem 2.4rem rgba(39, 95, 186, 0.3);
    color: #07111d;
}

.ea-site-button--accent,
.ea-site-button--accent:hover,
.ea-site-button--accent:focus-visible {
    border-color: rgba(255, 208, 96, 0.44);
    background:
        radial-gradient(circle at 82% 50%, rgba(255, 229, 151, 0.95), rgba(255, 229, 151, 0) 22%),
        linear-gradient(180deg, #ffe58f 0%, #ffc84f 58%, #e1a920 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        0 0.95rem 2.4rem rgba(170, 115, 0, 0.28);
    color: #161008;
}

.ea-site-button--ghost,
.ea-site-button--ghost:hover,
.ea-site-button--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.03);
}

.ea-site-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2rem;
    padding: 0.4rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 0 1px rgba(132, 178, 255, 0.12);
    color: rgba(239, 243, 250, 0.88);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1;
}

.ea-site-prose {
    color: var(--ea-site-copy-muted);
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.6;
}

.ea-site-prose > :first-child {
    margin-top: 0;
}

.ea-site-prose > :last-child {
    margin-bottom: 0;
}

.ea-site-prose h1,
.ea-site-prose h2,
.ea-site-prose h3,
.ea-site-prose h4 {
    color: #fff;
    font-family: "Sora", sans-serif;
    font-weight: 600;
    letter-spacing: -0.05em;
}

.ea-site-prose h1 {
    font-size: 1.4rem;
}

.ea-site-prose h2 {
    font-size: 1.25rem;
}

.ea-site-prose h3 {
    font-size: 1.1rem;
}

.ea-site-prose h4 {
    font-size: 1rem;
}

.ea-site-prose a {
    color: var(--ea-site-blue);
}

.ea-site-prose img {
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.22);
}

.ea-site-prose code,
.ea-site-prose pre {
    font-family: "Space Grotesk", sans-serif;
}

.ea-download-overview {
    display: grid;
    gap: 1.05rem;
}

.ea-download-overview__heading {
    align-items: start;
    margin-bottom: 0.8rem;
}

.ea-download-overview__summary {
    display: grid;
    gap: 0.55rem;
    max-width: 34rem;
}

.ea-download-overview__meta {
    display: grid;
    justify-items: end;
    gap: 0.55rem;
}

.ea-download-overview__requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: flex-end;
}

.ea-download-overview__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.ea-download-card {
    display: grid;
    gap: 1rem;
    padding: 1.15rem;
    border: 1px solid var(--ea-site-line);
    border-radius: 1.35rem;
    background:
        linear-gradient(180deg, rgba(11, 15, 23, 0.92), rgba(7, 10, 16, 0.96)),
        rgba(7, 10, 16, 0.88);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 1rem 2.6rem rgba(0, 0, 0, 0.18);
}

.ea-download-card--stable {
    border-color: rgba(124, 196, 255, 0.18);
}

.ea-download-card--alpha {
    border-color: rgba(255, 208, 96, 0.18);
}

.ea-download-card__header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.ea-download-card__channel {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2rem;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ea-download-card--stable .ea-download-card__channel {
    background: rgba(124, 196, 255, 0.12);
    color: rgba(168, 215, 255, 0.98);
}

.ea-download-card--alpha .ea-download-card__channel {
    background: rgba(255, 208, 96, 0.12);
    color: rgba(255, 220, 133, 0.98);
}

.ea-download-card__version {
    margin: 0.45rem 0 0;
    color: #fff;
    font-family: "Sora", sans-serif;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1;
}

.ea-download-card__description {
    margin: 0.5rem 0 0;
    color: var(--ea-site-copy-muted);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.92rem;
    line-height: 1.5;
}

.ea-download-card__specs {
    display: grid;
    gap: 0.7rem;
}

.ea-download-card__spec {
    display: grid;
    gap: 0.18rem;
}

.ea-download-card__spec dt {
    color: var(--ea-site-copy-dim);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ea-download-card__spec dd {
    margin: 0;
    color: rgba(242, 245, 251, 0.9);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.92rem;
    line-height: 1.4;
}

.ea-download-card__actions,
.ea-download-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.ea-download-card__links a {
    color: var(--ea-site-copy-muted);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
}

.ea-download-card__links a:hover {
    color: #fff;
}

@media (min-width: 1200px) {
    .ea-site-header__frame,
    .ea-site-footer__frame {
        padding-inline: 0 !important;
    }

    .ea-site-header__shell {
        display: flex;
        align-items: center;
    }

    .ea-site-header__collapse {
        display: flex !important;
        align-items: center;
        width: 100%;
        gap: 1rem;
    }

    .ea-site-header__nav-cluster {
        width: auto;
        min-width: 0;
        flex: 1 1 auto;
        flex-wrap: nowrap;
        gap: 0.9rem;
        align-items: center;
        justify-content: flex-start;
    }

    .ea-site-brand--overlay {
        display: inline-flex;
        position: absolute;
        top: 50%;
        right: calc(100% + 0.9rem);
        transform: translateY(-50%);
        pointer-events: auto;
        flex: 0 0 auto;
        gap: 0.7rem;
        white-space: nowrap;
    }

    .ea-site-brand--overlay .ea-site-brand__logo {
        width: 2.25rem;
        height: 2.25rem;
    }

    .ea-site-brand--overlay .ea-site-brand__text {
        font-size: 1.1rem;
    }

    .ea-site-nav {
        width: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .ea-site-header__actions {
        flex: 0 0 auto;
        margin-left: auto;
        padding-top: 0;
        width: auto;
    }
}

@media (max-width: 1199.98px) {
    .ea-site-layout {
        padding-top: 4.5rem;
    }

    .ea-site-header__shell {
        padding: 0.3rem 0;
    }

    .ea-site-header__collapse {
        align-items: stretch;
    }

    .ea-site-nav,
    .ea-site-header__nav-cluster,
    .ea-site-header__actions {
        width: 100%;
    }

    .ea-site-nav {
        justify-content: flex-start;
        padding-top: 0.5rem;
    }

    .ea-site-header__actions {
        padding-top: 0.35rem;
    }
}

@media (max-width: 991.98px) {
    .ea-site-footer__shell {
        justify-content: center;
    }

    .ea-download-overview__grid {
        grid-template-columns: 1fr;
    }

    .ea-download-overview__meta {
        justify-items: start;
    }

    .ea-download-overview__requirements {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .ea-site-header {
        padding-top: 0.6rem;
    }

    .ea-site-layout {
        padding-top: 4.15rem;
    }

    .ea-site-brand__text {
        font-size: 1.2rem;
    }

    .ea-site-auth,
    .ea-site-auth__group {
        width: 100%;
    }

    .ea-site-auth__action {
        flex: 1 1 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ea-site-header,
    .ea-site-nav__link,
    .ea-site-auth__action,
    .ea-site-button {
        transition: none;
    }
}
