@font-face {
    font-family: "Beaufort";
    src: url("../fonts/beaufort-medium.otf") format("opentype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Beaufort";
    src: url("../fonts/beaufort-bold.otf") format("opentype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Warplus Sans";
    src: url("../fonts/roboto-regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Warplus Sans";
    src: url("../fonts/roboto-medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

:root {
    --black: #050606;
    --obsidian: #080909;
    --obsidian-2: #0d0f10;
    --surface: #111314;
    --surface-2: #161819;
    --gold: #b98a35;
    --gold-bright: #e3bb63;
    --gold-pale: #f0d89b;
    --ivory: #f0e9db;
    --muted: #9b978f;
    --green: #52cb85;
    --red: #d5625b;
    --line: rgba(185, 138, 53, 0.32);
    --line-soft: rgba(255, 255, 255, 0.075);
    --header-height: 84px;
    --shell: 1320px;
    --ease: cubic-bezier(0.2, 0.72, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
    background: var(--black);
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: var(--ivory);
    background:
        radial-gradient(circle at 50% 0, rgba(142, 95, 28, 0.075), transparent 34rem),
        linear-gradient(180deg, #0a0b0b, #050606 72%);
    font-family: "Warplus Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(125deg, transparent 0 49%, rgba(255, 255, 255, 0.012) 50%, transparent 51%),
        radial-gradient(circle at 12% 42%, rgba(185, 138, 53, 0.04), transparent 24rem);
    background-size: 86px 86px, auto;
    content: "";
    pointer-events: none;
}

body.has-dialog {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: "Beaufort", Georgia, serif;
    font-weight: 500;
    letter-spacing: 0.01em;
}

main {
    min-height: 70vh;
}

.shell {
    width: min(calc(100% - 64px), var(--shell));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: var(--obsidian);
    background: var(--gold-bright);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    height: var(--header-height);
    border-bottom: 1px solid rgba(185, 138, 53, 0.24);
    background:
        linear-gradient(180deg, rgba(5, 6, 6, 0.98), rgba(7, 8, 8, 0.91)),
        radial-gradient(circle at 20% 0, rgba(185, 138, 53, 0.08), transparent 30rem);
    transition: height 220ms var(--ease), background 220ms ease, box-shadow 220ms ease;
}

.site-header::after {
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 9px;
    height: 9px;
    border-right: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    background: #090a0a;
    content: "";
    transform: translateX(-50%) rotate(45deg);
}

.site-header.is-scrolled {
    height: 72px;
    background: rgba(5, 6, 6, 0.96);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(16px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(calc(100% - 64px), var(--shell));
    height: 100%;
    margin-inline: auto;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 14px;
}

.brand__emblem {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(185, 138, 53, 0.25));
}

.brand__wordmark {
    width: 158px;
    height: auto;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 34px;
}

.site-nav > a {
    position: relative;
    display: grid;
    place-items: center;
    height: 100%;
    color: #bbb7b0;
    font-size: 14px;
    letter-spacing: 0.035em;
    transition: color 180ms ease;
}

.site-nav > a:not(.site-nav__panel)::after {
    position: absolute;
    right: 12%;
    bottom: 16px;
    left: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
    box-shadow: 0 0 12px rgba(227, 187, 99, 0.7);
    content: "";
    opacity: 0;
    transform: scaleX(0.35);
    transition: opacity 180ms ease, transform 180ms ease, bottom 180ms ease;
}

.site-header.is-scrolled .site-nav > a:not(.site-nav__panel)::after {
    bottom: 12px;
}

.site-nav > a:hover,
.site-nav > a:focus-visible,
.site-nav > a.is-active {
    color: var(--gold-bright);
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after,
.site-nav > a.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.site-nav__panel {
    align-self: center;
    height: 44px !important;
    padding: 0 22px;
    border: 1px solid rgba(227, 187, 99, 0.55);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    color: var(--gold-pale) !important;
    background: linear-gradient(180deg, rgba(185, 138, 53, 0.2), rgba(185, 138, 53, 0.06));
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-nav__panel:hover,
.site-nav__panel:focus-visible {
    border-color: var(--gold-bright);
    background: linear-gradient(180deg, rgba(185, 138, 53, 0.34), rgba(185, 138, 53, 0.12));
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.025);
}

.menu-toggle > span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 1px;
    margin: 5px 0;
    background: var(--gold-bright);
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.section {
    position: relative;
    padding: 104px 0;
}

.section--surface {
    border-top: 1px solid rgba(185, 138, 53, 0.12);
    border-bottom: 1px solid rgba(185, 138, 53, 0.12);
    background:
        radial-gradient(circle at 85% 15%, rgba(185, 138, 53, 0.055), transparent 28rem),
        linear-gradient(180deg, rgba(15, 17, 18, 0.82), rgba(9, 10, 10, 0.86));
}

.section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: end;
    gap: 64px;
    max-width: none;
}

.section-heading h2 {
    max-width: 780px;
    margin-bottom: 0;
    color: var(--ivory);
    font-size: clamp(42px, 4.3vw, 68px);
    line-height: 1.02;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--gold-bright);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    color: var(--gold-bright);
    font-family: "Beaufort", Georgia, serif;
    font-size: 13px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
    content: "";
}

.eyebrow::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 54px;
    padding: 13px 28px;
    border: 1px solid transparent;
    clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
    font-family: "Beaufort", Georgia, serif;
    font-size: 18px;
    transition: filter 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
    filter: brightness(1.12);
    transform: translateY(-2px);
}

.button--gold {
    border-color: #e1bd70;
    color: #171109;
    background:
        linear-gradient(180deg, rgba(255, 226, 158, 0.35), transparent 32%),
        linear-gradient(135deg, #d0a64e, #9d6b20);
    box-shadow: inset 0 0 0 2px rgba(54, 34, 7, 0.25), 0 12px 32px rgba(154, 101, 24, 0.18);
}

.button--dark {
    border-color: rgba(185, 138, 53, 0.48);
    color: #d9c8a5;
    background: linear-gradient(180deg, rgba(22, 23, 23, 0.98), rgba(9, 10, 10, 0.98));
}

.button--disabled {
    border-color: rgba(255, 255, 255, 0.09);
    color: #77746e;
    background: rgba(255, 255, 255, 0.035);
    cursor: not-allowed;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 7px;
    border: 0;
    border-bottom: 1px solid rgba(227, 187, 99, 0.56);
    color: var(--gold-bright);
    background: transparent;
    font-size: 14px;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.text-link:hover,
.text-link:focus-visible {
    color: var(--gold-pale);
    border-bottom-color: var(--gold-pale);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.home-hero {
    position: relative;
    min-height: max(790px, calc(100svh - var(--header-height)));
    margin-top: var(--header-height);
    overflow: hidden;
    background-color: #080909;
    background-image:
        image-set(
            url("../images/hero-reference-desktop.webp") type("image/webp"),
            url("../images/hero-reference-desktop.jpg") type("image/jpeg")
        );
    background-position: center top;
    background-size: cover;
}

.home-hero::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 5, 5, 0.91) 0%, rgba(4, 5, 5, 0.72) 27%, rgba(4, 5, 5, 0.06) 65%),
        linear-gradient(180deg, rgba(4, 5, 5, 0.08) 54%, rgba(4, 5, 5, 0.94) 100%);
    content: "";
}

.home-hero__veil {
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        radial-gradient(circle at 76% 45%, rgba(227, 187, 99, 0.09), transparent 24rem),
        linear-gradient(180deg, rgba(0, 0, 0, 0.06), transparent 55%, rgba(0, 0, 0, 0.28));
}

.home-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: max(790px, calc(100svh - var(--header-height)));
    padding: 90px 0 195px;
}

.hero-copy {
    width: min(590px, 48%);
}

.hero-copy h1 {
    margin-bottom: 24px;
    color: #f2ebdc;
    font-size: clamp(60px, 6vw, 92px);
    line-height: 0.94;
    letter-spacing: -0.025em;
}

.hero-copy h1 em {
    color: var(--gold-bright);
    font-style: normal;
}

.hero-copy > p {
    max-width: 510px;
    margin-bottom: 34px;
    color: #c6c0b6;
    font-size: 18px;
    line-height: 1.75;
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 9px 15px;
    border: 1px solid rgba(82, 203, 133, 0.24);
    border-radius: 999px;
    color: #7bd9a0;
    background: rgba(4, 11, 8, 0.62);
    font-size: 13px;
}

.server-status.is-offline {
    border-color: rgba(213, 98, 91, 0.24);
    color: #df7f77;
}

.server-status__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 12px currentColor;
}

.feature-rail {
    position: absolute;
    right: 0;
    bottom: 24px;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 132px;
    border: 1px solid rgba(185, 138, 53, 0.54);
    clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
    background:
        radial-gradient(circle at 50% -20%, rgba(185, 138, 53, 0.09), transparent 45%),
        linear-gradient(180deg, rgba(13, 15, 15, 0.96), rgba(6, 8, 8, 0.98));
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.54);
    backdrop-filter: blur(12px);
}

.feature-rail::before {
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(185, 138, 53, 0.2);
    clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
    content: "";
    pointer-events: none;
}

.feature-rail__item {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 28px;
    transition: background 180ms ease;
}

.feature-rail__item + .feature-rail__item {
    border-left: 1px solid rgba(185, 138, 53, 0.22);
}

.feature-rail__item:hover,
.feature-rail__item:focus-visible {
    background: rgba(185, 138, 53, 0.065);
}

.feature-rail__item img {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(185, 138, 53, 0.18));
}

.feature-rail__item strong,
.feature-rail__item small {
    display: block;
}

.feature-rail__item strong {
    color: #dbc693;
    font-family: "Beaufort", Georgia, serif;
    font-size: 20px;
    font-weight: 500;
}

.feature-rail__item small {
    margin-top: 3px;
    color: #8d8981;
    font-size: 13px;
}

.promo-section {
    overflow: hidden;
}

.promo-carousel {
    position: relative;
    min-height: 490px;
    overflow: hidden;
    border: 1px solid rgba(185, 138, 53, 0.34);
    clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
    background: #0a0b0b;
    box-shadow: 0 36px 80px rgba(0, 0, 0, 0.3);
}

.promo-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 66px 96px;
    background-position: center;
    background-size: cover;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.035);
    transition: opacity 700ms ease, transform 1200ms var(--ease);
}

.promo-slide.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.promo-slide--bosses {
    background-image: url("../images/quarto_banner_boss_antigo.webp");
}

.promo-slide--mounts {
    background-image: url("../images/segundo_banner_equal.webp");
    background-position: 58% center;
}

.promo-slide--vip {
    background-image: url("../images/primeiro_banner_info.webp");
    background-position: 58% center;
}

.promo-slide__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 6, 6, 0.95) 0%, rgba(5, 6, 6, 0.77) 42%, rgba(5, 6, 6, 0.1) 78%),
        linear-gradient(180deg, rgba(5, 6, 6, 0.05), rgba(5, 6, 6, 0.4));
}

.promo-slide__content {
    position: relative;
    z-index: 1;
    max-width: 610px;
}

.promo-slide__number {
    display: block;
    margin-bottom: 28px;
    color: rgba(227, 187, 99, 0.5);
    font-family: "Beaufort", Georgia, serif;
    font-size: 16px;
    letter-spacing: 0.2em;
}

.promo-slide h3 {
    margin-bottom: 18px;
    color: #f1e9d9;
    font-size: clamp(48px, 5vw, 74px);
    line-height: 0.98;
}

.promo-slide p {
    max-width: 560px;
    margin-bottom: 26px;
    color: #c0bbb2;
    font-size: 17px;
    line-height: 1.75;
}

.promo-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 24px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    color: #c5bfb4;
}

.promo-facts li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(185, 138, 53, 0.2);
}

.promo-facts strong {
    color: var(--gold-bright);
    font-family: "Beaufort", Georgia, serif;
    font-size: 23px;
}

.carousel-control {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: grid;
    place-items: center;
    width: 46px;
    height: 58px;
    padding: 0;
    border: 1px solid rgba(185, 138, 53, 0.36);
    color: var(--gold-pale);
    background: rgba(5, 6, 6, 0.76);
    font-family: Georgia, serif;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.carousel-control--prev {
    left: 20px;
}

.carousel-control--next {
    right: 20px;
}

.carousel-control:hover,
.carousel-control:focus-visible {
    border-color: var(--gold-bright);
    background: rgba(95, 66, 19, 0.6);
}

.carousel-dots {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 28px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.carousel-dots button {
    width: 38px;
    height: 3px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: width 180ms ease, background 180ms ease;
}

.carousel-dots button.is-active {
    width: 62px;
    background: var(--gold-bright);
}

.news-section {
    border-top: 1px solid rgba(185, 138, 53, 0.13);
    border-bottom: 1px solid rgba(185, 138, 53, 0.13);
    background:
        radial-gradient(circle at 15% 15%, rgba(185, 138, 53, 0.06), transparent 26rem),
        #0b0d0d;
}

.news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
    gap: 24px;
}

.news-card {
    position: relative;
    display: flex;
    min-height: 400px;
    overflow: hidden;
    border: 1px solid rgba(185, 138, 53, 0.24);
    clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
    background-color: #111;
    background-position: center;
    background-size: cover;
}

.news-card::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 7, 7, 0.1), rgba(6, 7, 7, 0.92)),
        linear-gradient(90deg, rgba(6, 7, 7, 0.7), transparent);
    content: "";
}

.news-card--featured {
    background-image: url("../images/news-background-01.webp");
    background-position: center 25%;
}

.news-card--compact {
    background-image: url("../images/news-background-02.webp");
}

.news-card__tag {
    position: absolute;
    z-index: 1;
    top: 24px;
    left: 24px;
    padding: 7px 12px;
    border: 1px solid rgba(227, 187, 99, 0.4);
    color: var(--gold-pale);
    background: rgba(7, 8, 8, 0.76);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.news-card__content {
    position: relative;
    z-index: 1;
    align-self: flex-end;
    max-width: 700px;
    padding: 46px;
}

.news-card__content > span {
    color: var(--gold-bright);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.news-card h3 {
    max-width: 650px;
    margin: 10px 0 14px;
    font-size: clamp(34px, 3.5vw, 54px);
    line-height: 1.02;
}

.news-card p {
    max-width: 620px;
    margin-bottom: 0;
    color: #aaa69e;
}

.ranking-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 50%, rgba(185, 138, 53, 0.085), transparent 28rem),
        linear-gradient(180deg, #080909, #060707);
}

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.74fr) minmax(520px, 1.26fr);
    align-items: center;
    gap: 90px;
}

.ranking-intro {
    position: relative;
}

.ranking-intro h2 {
    margin-bottom: 24px;
    font-size: clamp(48px, 5vw, 72px);
    line-height: 0.99;
}

.ranking-intro > p {
    max-width: 480px;
    color: var(--muted);
    font-size: 17px;
}

.ranking-seal {
    width: 142px;
    margin-top: 38px;
    padding: 15px;
    border: 1px solid rgba(185, 138, 53, 0.28);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(185, 138, 53, 0.12), transparent 68%);
}

.ranking-seal img {
    width: 100%;
    filter: drop-shadow(0 10px 22px rgba(185, 138, 53, 0.15));
}

.ranking-column {
    display: grid;
    gap: 18px;
}

.ranking-panel {
    padding: 28px;
    border: 1px solid rgba(185, 138, 53, 0.38);
    clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
    background:
        linear-gradient(180deg, rgba(18, 20, 20, 0.96), rgba(8, 9, 9, 0.98)),
        radial-gradient(circle at 85% 0, rgba(185, 138, 53, 0.09), transparent 26rem);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.ranking-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(185, 138, 53, 0.2);
}

.ranking-tabs button {
    position: relative;
    padding: 15px;
    border: 0;
    color: #8f8b84;
    background: transparent;
    font-family: "Beaufort", Georgia, serif;
    font-size: 20px;
    cursor: pointer;
}

.ranking-tabs button::after {
    position: absolute;
    right: 20%;
    bottom: -1px;
    left: 20%;
    height: 1px;
    background: var(--gold-bright);
    content: "";
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 180ms ease, transform 180ms ease;
}

.ranking-tabs button.is-active {
    color: var(--gold-pale);
}

.ranking-tabs button.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.ranking-list {
    display: none;
}

.ranking-list.is-active {
    display: block;
}

.ranking-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 51px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    color: #918e88;
    font-size: 14px;
}

.ranking-row:last-child {
    border-bottom: 0;
}

.ranking-row__position {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border: 1px solid rgba(185, 138, 53, 0.22);
    color: #8c8780;
    font-family: "Beaufort", Georgia, serif;
}

.ranking-row strong {
    overflow: hidden;
    color: #ded7ca;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-row.is-podium .ranking-row__position {
    border-color: rgba(227, 187, 99, 0.64);
    color: var(--gold-pale);
    background: rgba(185, 138, 53, 0.11);
    box-shadow: 0 0 18px rgba(185, 138, 53, 0.08);
}

.ranking-row.is-podium strong {
    color: var(--gold-pale);
}

.olympiad-trigger {
    width: 100%;
    gap: 18px;
    cursor: pointer;
}

.olympiad-trigger span {
    font-family: sans-serif;
    font-size: 21px;
}

.empty-state {
    padding: 32px;
    color: #8f8b84;
    text-align: center;
}

.siege-section {
    border-top: 1px solid rgba(185, 138, 53, 0.13);
    background:
        radial-gradient(circle at 90% 10%, rgba(185, 138, 53, 0.07), transparent 30rem),
        #0c0e0e;
}

.castle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.castle-card {
    position: relative;
    min-height: 310px;
    overflow: hidden;
    border: 1px solid rgba(185, 138, 53, 0.28);
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    background: #0c0d0d;
}

.castle-card > img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms var(--ease), filter 500ms ease;
}

.castle-card:hover > img {
    filter: saturate(1.12);
    transform: scale(1.045);
}

.castle-card__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 6, 6, 0.08), rgba(5, 6, 6, 0.94)),
        linear-gradient(90deg, rgba(5, 6, 6, 0.35), transparent);
}

.castle-card__content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 28px;
}

.castle-card__date {
    color: var(--gold-bright);
    font-size: 10px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.castle-card h3 {
    margin: 5px 0 3px;
    font-size: 38px;
}

.castle-card p {
    margin-bottom: 0;
    color: #9f9b94;
    font-size: 13px;
}

.castle-card p strong {
    color: #d7d0c3;
    font-weight: 500;
}

.siege-prize {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    margin-top: 22px;
    padding: 30px 34px;
    border: 1px solid rgba(185, 138, 53, 0.28);
    background:
        radial-gradient(circle at 10% 50%, rgba(185, 138, 53, 0.11), transparent 20rem),
        linear-gradient(90deg, rgba(16, 18, 18, 0.94), rgba(8, 9, 9, 0.96));
}

.siege-prize__icon {
    display: grid;
    place-items: center;
    width: 90px;
    height: 90px;
    border-right: 1px solid rgba(185, 138, 53, 0.24);
}

.siege-prize__icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.siege-prize h3 {
    margin-bottom: 6px;
    font-size: 30px;
}

.siege-prize p {
    max-width: 780px;
    margin-bottom: 0;
    color: var(--muted);
}

.final-cta {
    position: relative;
    min-height: 310px;
    padding: 76px 0;
    overflow: hidden;
    border-top: 1px solid rgba(185, 138, 53, 0.25);
    border-bottom: 1px solid rgba(185, 138, 53, 0.25);
    background-image:
        linear-gradient(90deg, rgba(5, 6, 6, 0.98), rgba(5, 6, 6, 0.7) 52%, rgba(5, 6, 6, 0.18)),
        image-set(
            url("../images/hero-characters-preserved.webp") type("image/webp"),
            url("../images/hero-characters-preserved.jpg") type("image/jpeg")
        );
    background-position: center 35%;
    background-size: cover;
}

.final-cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.final-cta h2 {
    max-width: 650px;
    margin-bottom: 0;
    font-size: clamp(44px, 4.4vw, 68px);
    line-height: 1;
}

.inner-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 520px;
    margin-top: var(--header-height);
    padding: 110px 0 80px;
    overflow: hidden;
    border-bottom: 1px solid rgba(185, 138, 53, 0.3);
    background-color: #080909;
    background-image:
        image-set(
            url("../images/hero-reference-desktop.webp") type("image/webp"),
            url("../images/hero-reference-desktop.jpg") type("image/jpeg")
        );
    background-position: center 34%;
    background-size: cover;
}

.inner-hero__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 6, 6, 0.96) 0%, rgba(5, 6, 6, 0.72) 42%, rgba(5, 6, 6, 0.2)),
        linear-gradient(180deg, rgba(5, 6, 6, 0.08), rgba(5, 6, 6, 0.76));
}

.inner-hero__content {
    position: relative;
    z-index: 1;
}

.inner-hero h1 {
    max-width: 900px;
    margin-bottom: 14px;
    font-size: clamp(58px, 6vw, 88px);
    line-height: 0.96;
}

.inner-hero p {
    margin-bottom: 0;
    color: #bbb5aa;
    font-size: 18px;
    letter-spacing: 0.03em;
}

.rate-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-bottom: 96px;
    border: 1px solid rgba(185, 138, 53, 0.32);
    background: linear-gradient(180deg, rgba(18, 20, 20, 0.96), rgba(8, 9, 9, 0.98));
}

.rate-strip > div {
    display: grid;
    place-items: center;
    min-height: 126px;
    padding: 20px;
    text-align: center;
}

.rate-strip > div + div {
    border-left: 1px solid rgba(185, 138, 53, 0.18);
}

.rate-strip strong,
.rate-strip span {
    display: block;
}

.rate-strip strong {
    color: var(--gold-pale);
    font-family: "Beaufort", Georgia, serif;
    font-size: 27px;
    font-weight: 500;
}

.rate-strip span {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.overview-card {
    position: relative;
    min-height: 270px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid rgba(185, 138, 53, 0.2);
    background:
        radial-gradient(circle at 95% 0, rgba(185, 138, 53, 0.09), transparent 15rem),
        rgba(15, 17, 17, 0.9);
}

.overview-card__number {
    display: block;
    margin-bottom: 50px;
    color: rgba(227, 187, 99, 0.5);
    font-family: "Beaufort", Georgia, serif;
    letter-spacing: 0.14em;
}

.overview-card h3 {
    margin-bottom: 12px;
    color: var(--gold-pale);
    font-size: 28px;
}

.overview-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.hellbound-section {
    overflow: hidden;
    border-top: 1px solid rgba(185, 138, 53, 0.14);
    background:
        radial-gradient(circle at 20% 48%, rgba(151, 55, 22, 0.12), transparent 32rem),
        #070808;
}

.hellbound-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(370px, 0.8fr);
    min-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(185, 138, 53, 0.3);
    clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
    background: linear-gradient(135deg, rgba(18, 19, 18, 0.98), rgba(7, 8, 8, 0.99));
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.28);
}

.hellbound-showcase__media {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background:
        radial-gradient(circle at 55% 36%, rgba(205, 102, 38, 0.16), transparent 24rem),
        #090909;
}

.hellbound-showcase__media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% center;
    filter: brightness(0.72) contrast(1.08) saturate(0.9);
    transition: transform 1200ms var(--ease);
}

.hellbound-showcase:hover .hellbound-showcase__media > img {
    transform: scale(1.025);
}

.hellbound-showcase__media-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 48%, rgba(7, 8, 8, 0.88) 100%),
        linear-gradient(180deg, rgba(7, 8, 8, 0.24), rgba(7, 8, 8, 0.58));
}

.hellbound-showcase__media > span {
    position: absolute;
    left: 28px;
    bottom: 26px;
    padding: 9px 13px;
    border: 1px solid rgba(227, 187, 99, 0.4);
    color: var(--gold-pale);
    background: rgba(7, 8, 8, 0.76);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.hellbound-showcase__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 52px 50px 34px;
}

.hellbound-showcase__content h2 {
    margin-bottom: 18px;
    font-size: clamp(42px, 4vw, 60px);
    line-height: 1.01;
}

.hellbound-showcase__content > p {
    margin-bottom: 30px;
    color: var(--muted);
}

.hellbound-facts {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hellbound-facts li {
    display: grid;
    grid-template-columns: minmax(125px, 0.45fr) minmax(0, 1fr);
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid rgba(185, 138, 53, 0.16);
}

.hellbound-facts strong {
    color: var(--gold-pale);
    font-family: "Beaufort", Georgia, serif;
    font-size: 17px;
    font-weight: 500;
}

.hellbound-facts span {
    color: #837f77;
    font-size: 13px;
}

.feature-story {
    position: relative;
    padding-bottom: 110px;
    border-top: 1px solid rgba(185, 138, 53, 0.14);
    background: #080909;
}

.feature-story__media {
    position: relative;
    height: 390px;
    overflow: hidden;
}

.feature-story__media::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 6, 6, 0.08), rgba(5, 6, 6, 0.88)),
        linear-gradient(90deg, rgba(5, 6, 6, 0.28), transparent, rgba(5, 6, 6, 0.32));
    content: "";
}

.feature-story__media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-story__media-label {
    position: absolute;
    z-index: 1;
    right: max(32px, calc((100% - var(--shell)) / 2));
    bottom: 40px;
    text-align: right;
}

.feature-story__media-label span,
.feature-story__media-label strong {
    display: block;
}

.feature-story__media-label span {
    color: var(--gold-bright);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.feature-story__media-label strong {
    color: #eee5d3;
    font-family: "Beaufort", Georgia, serif;
    font-size: clamp(58px, 7vw, 100px);
    font-weight: 500;
    line-height: 0.9;
}

.feature-story__body {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(480px, 1.2fr);
    gap: 100px;
    padding-top: 70px;
}

.feature-story__title h2 {
    margin-bottom: 0;
    font-size: clamp(44px, 4.5vw, 66px);
    line-height: 1.02;
}

.detail-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.detail-list li {
    display: grid;
    grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr);
    gap: 28px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(185, 138, 53, 0.17);
}

.detail-list li:first-child {
    padding-top: 0;
}

.detail-list strong {
    color: var(--gold-pale);
    font-family: "Beaufort", Georgia, serif;
    font-size: 20px;
    font-weight: 500;
}

.detail-list span {
    color: var(--muted);
}

.boss-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 76px;
}

.boss-card {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    border: 1px solid rgba(185, 138, 53, 0.2);
    background: #0d0e0e;
}

.boss-card::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 32%, rgba(5, 6, 6, 0.93) 100%),
        linear-gradient(90deg, rgba(5, 6, 6, 0.12), transparent);
    content: "";
}

.boss-card img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    transition: transform 900ms var(--ease);
}

.boss-card:hover img {
    transform: scale(1.045);
}

.boss-card > div {
    position: absolute;
    z-index: 1;
    right: 22px;
    bottom: 20px;
    left: 22px;
}

.boss-card span {
    display: block;
    margin-bottom: 4px;
    color: var(--gold-bright);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.boss-card h3 {
    margin: 0;
    color: #ece3d1;
    font-size: 28px;
    line-height: 1;
}

.feature-story--olympiad {
    background:
        radial-gradient(circle at 15% 60%, rgba(185, 138, 53, 0.055), transparent 28rem),
        #0b0d0d;
}

.vip-section {
    background:
        radial-gradient(circle at 70% 50%, rgba(185, 138, 53, 0.1), transparent 30rem),
        #080909;
}

.vip-panel {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(520px, 1.22fr);
    align-items: center;
    gap: 70px;
    padding: 56px;
    border: 1px solid rgba(185, 138, 53, 0.34);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    background: linear-gradient(135deg, rgba(22, 23, 22, 0.96), rgba(8, 9, 9, 0.98));
}

.vip-panel h2 {
    margin-bottom: 16px;
    font-size: clamp(42px, 4vw, 60px);
    line-height: 1;
}

.vip-panel p {
    margin-bottom: 0;
    color: var(--muted);
}

.vip-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.vip-metrics > div {
    display: grid;
    place-items: center;
    min-height: 120px;
    padding: 15px;
    text-align: center;
}

.vip-metrics > div + div {
    border-left: 1px solid rgba(185, 138, 53, 0.2);
}

.vip-metrics strong,
.vip-metrics span {
    display: block;
}

.vip-metrics strong {
    color: var(--gold-bright);
    font-family: "Beaufort", Georgia, serif;
    font-size: 34px;
    font-weight: 500;
}

.vip-metrics span {
    color: #918d85;
    font-size: 12px;
    text-transform: uppercase;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.download-card {
    display: flex;
    min-height: 350px;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px;
    border: 1px solid rgba(185, 138, 53, 0.24);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    background:
        radial-gradient(circle at 95% 0, rgba(185, 138, 53, 0.1), transparent 18rem),
        linear-gradient(180deg, rgba(18, 20, 20, 0.94), rgba(9, 10, 10, 0.98));
}

.download-card.is-available {
    border-color: rgba(185, 138, 53, 0.45);
}

.download-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 42px;
}

.download-card__number {
    color: rgba(227, 187, 99, 0.54);
    font-family: "Beaufort", Georgia, serif;
    letter-spacing: 0.14em;
}

.download-card__state {
    padding: 6px 10px;
    border: 1px solid rgba(82, 203, 133, 0.25);
    border-radius: 999px;
    color: #75d59c;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.download-card.is-pending .download-card__state {
    border-color: rgba(255, 255, 255, 0.1);
    color: #77746d;
}

.download-card h3 {
    margin-bottom: 12px;
    font-size: 38px;
}

.download-card p {
    max-width: 520px;
    color: var(--muted);
}

.download-card .button {
    align-self: flex-start;
    margin-top: 24px;
}

.interface-warning {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 26px;
    margin-top: 22px;
    padding: 32px;
    border: 1px solid rgba(213, 98, 91, 0.34);
    background: linear-gradient(90deg, rgba(67, 20, 18, 0.28), rgba(16, 12, 12, 0.92));
}

.interface-warning__mark {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid rgba(213, 98, 91, 0.5);
    border-radius: 50%;
    color: #e8938d;
    font-family: "Beaufort", Georgia, serif;
    font-size: 30px;
}

.interface-warning h3 {
    margin-bottom: 8px;
    color: #eaded4;
    font-size: 28px;
}

.interface-warning p {
    max-width: 950px;
    margin-bottom: 0;
    color: #a99c97;
}

.install-section {
    background:
        radial-gradient(circle at 10% 20%, rgba(185, 138, 53, 0.065), transparent 24rem),
        #080909;
}

.install-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.install-steps li {
    min-height: 280px;
    padding: 26px;
    border: 1px solid rgba(185, 138, 53, 0.18);
    background: rgba(15, 17, 17, 0.78);
}

.install-steps li > span {
    display: block;
    margin-bottom: 54px;
    color: var(--gold-bright);
    font-family: "Beaufort", Georgia, serif;
    letter-spacing: 0.14em;
}

.install-steps h3 {
    margin-bottom: 10px;
    color: #ddd5c7;
    font-size: 23px;
}

.install-steps p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.requirement-card {
    padding: 38px;
    border: 1px solid rgba(185, 138, 53, 0.22);
    background: rgba(14, 16, 16, 0.88);
}

.requirement-card--recommended {
    border-color: rgba(185, 138, 53, 0.48);
    background:
        radial-gradient(circle at 90% 0, rgba(185, 138, 53, 0.1), transparent 20rem),
        rgba(14, 16, 16, 0.94);
}

.requirement-card > span {
    color: var(--gold-bright);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.requirement-card h3 {
    margin: 8px 0 25px;
    font-size: 36px;
}

.requirement-card dl {
    margin: 0;
}

.requirement-card dl > div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.requirement-card dt {
    color: #b5afa5;
}

.requirement-card dd {
    margin: 0;
    color: #85827b;
}

.site-dialog {
    width: min(1120px, calc(100% - 32px));
    max-height: min(880px, calc(100svh - 32px));
    padding: 0;
    overflow: auto;
    border: 1px solid rgba(185, 138, 53, 0.58);
    color: var(--ivory);
    background:
        radial-gradient(circle at 90% 0, rgba(185, 138, 53, 0.11), transparent 28rem),
        #0c0e0e;
    box-shadow: 0 44px 120px rgba(0, 0, 0, 0.78);
}

.site-dialog::backdrop {
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
}

.site-dialog__header {
    position: sticky;
    z-index: 4;
    top: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    padding: 30px 34px 24px;
    border-bottom: 1px solid rgba(185, 138, 53, 0.22);
    background: rgba(9, 10, 10, 0.96);
    backdrop-filter: blur(12px);
}

.site-dialog__header h2 {
    margin-bottom: 4px;
    font-size: 42px;
    line-height: 1;
}

.site-dialog__header p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.dialog-close {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(185, 138, 53, 0.3);
    color: var(--gold-pale);
    background: transparent;
    font-size: 29px;
    line-height: 1;
    cursor: pointer;
}

.dialog-close:hover,
.dialog-close:focus-visible {
    border-color: var(--gold-bright);
    background: rgba(185, 138, 53, 0.1);
}

.olympiad-races {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 24px 34px 0;
    border: 1px solid rgba(185, 138, 53, 0.22);
}

.olympiad-races button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 10px 12px;
    border: 0;
    color: #8e8a83;
    background: rgba(255, 255, 255, 0.015);
    font-family: "Beaufort", Georgia, serif;
    font-size: 17px;
    cursor: pointer;
}

.olympiad-races button img {
    width: 24px;
    height: 32px;
    object-fit: contain;
}

.olympiad-races button span {
    white-space: nowrap;
}

.olympiad-races button + button {
    border-left: 1px solid rgba(185, 138, 53, 0.18);
}

.olympiad-races button.is-active {
    color: #171109;
    background: linear-gradient(180deg, #d7af58, #a87628);
}

.olympiad-class-groups {
    padding: 18px 34px 0;
}

.olympiad-class-grid {
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.olympiad-class-grid.is-active {
    display: grid;
}

.olympiad-class {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    color: #a29e96;
    background: rgba(255, 255, 255, 0.02);
    text-align: left;
    cursor: pointer;
}

.olympiad-class:hover,
.olympiad-class:focus-visible,
.olympiad-class.is-active {
    border-color: rgba(227, 187, 99, 0.5);
    color: var(--gold-pale);
    background: rgba(185, 138, 53, 0.09);
}

.olympiad-class img {
    width: 32px;
    height: 42px;
    object-fit: contain;
}

.olympiad-class span {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.olympiad-class small {
    display: grid;
    place-items: center;
    min-width: 23px;
    height: 23px;
    padding: 0 5px;
    border: 1px solid rgba(185, 138, 53, 0.2);
    border-radius: 99px;
    color: #77736c;
    font-size: 10px;
}

.olympiad-table-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 26px 34px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(185, 138, 53, 0.2);
}

.olympiad-table-head span,
.olympiad-table-head strong {
    display: block;
}

.olympiad-table-head span,
.olympiad-table-head small {
    color: #77736c;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.olympiad-table-head strong {
    color: var(--gold-pale);
    font-family: "Beaufort", Georgia, serif;
    font-size: 27px;
    font-weight: 500;
}

.dialog-table-wrap {
    padding: 0 34px 34px;
    overflow-x: auto;
}

.olympiad-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.olympiad-table th,
.olympiad-table td {
    padding: 13px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    text-align: left;
}

.olympiad-table th {
    color: #76736d;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.olympiad-table td {
    color: #aaa69e;
    font-size: 13px;
}

.olympiad-table td:first-child,
.olympiad-table td:nth-child(3) {
    color: var(--gold-bright);
}

.olympiad-table td strong,
.olympiad-table td small {
    display: block;
}

.olympiad-table td strong {
    color: #ddd5c8;
    font-weight: 500;
}

.olympiad-table td small {
    color: #737069;
}

.olympiad-empty {
    padding-block: 48px;
}

.site-footer {
    position: relative;
    padding: 74px 0 26px;
    border-top: 1px solid rgba(185, 138, 53, 0.28);
    background:
        radial-gradient(circle at 50% 0, rgba(185, 138, 53, 0.075), transparent 28rem),
        #050606;
}

.footer-center {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    flex-direction: column;
    gap: 12px;
}

.footer-brand__emblem {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(185, 138, 53, 0.22));
}

.footer-brand__wordmark {
    width: 206px;
    height: auto;
}

.site-footer__legal-copy {
    max-width: 980px;
    margin: 34px auto 28px;
    color: #827f79;
    font-size: 13px;
    line-height: 1.8;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
}

.footer-socials a,
.footer-socials span {
    padding: 8px 14px;
    border: 1px solid rgba(185, 138, 53, 0.2);
    border-radius: 999px;
    color: #9e9a92;
    font-size: 12px;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
    border-color: rgba(227, 187, 99, 0.5);
    color: var(--gold-pale);
}

.footer-socials span {
    color: #615f5b;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
    color: #625f5a;
    font-size: 12px;
}

.site-footer__bottom nav {
    display: flex;
    gap: 22px;
}

.site-footer__bottom a:hover,
.site-footer__bottom a:focus-visible {
    color: var(--gold-bright);
}

.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 800ms var(--ease);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1120px) {
    .site-nav {
        gap: 20px;
    }

    .site-nav__panel {
        padding-inline: 16px;
    }

    .home-hero {
        background-position: 57% top;
    }

    .hero-copy {
        width: min(540px, 52%);
    }

    .feature-rail__item {
        gap: 14px;
        padding-inline: 18px;
    }

    .feature-rail__item img {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }

    .ranking-layout,
    .feature-story__body,
    .vip-panel {
        gap: 54px;
    }

    .hellbound-showcase {
        grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
    }

    .hellbound-showcase__content {
        padding-right: 36px;
    }

    .boss-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .install-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .olympiad-class-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    :root {
        --header-height: 76px;
    }

    .shell,
    .site-header__inner {
        width: min(calc(100% - 40px), var(--shell));
    }

    .site-header.is-scrolled {
        height: 68px;
    }

    .brand__emblem {
        width: 48px;
        height: 48px;
    }

    .brand__wordmark {
        width: 142px;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        right: 20px;
        left: 20px;
        display: none;
        align-items: stretch;
        height: auto;
        flex-direction: column;
        gap: 0;
        padding: 12px;
        border: 1px solid rgba(185, 138, 53, 0.35);
        background: rgba(7, 8, 8, 0.98);
        box-shadow: 0 28px 60px rgba(0, 0, 0, 0.6);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav > a {
        display: flex;
        justify-content: flex-start;
        min-height: 48px;
        padding: 10px 14px;
    }

    .site-nav > a::after {
        display: none;
    }

    .site-nav__panel {
        align-self: stretch;
        justify-content: center !important;
        height: 48px !important;
        margin-top: 8px;
    }

    .home-hero {
        min-height: 960px;
        background-position: 56% top;
    }

    .home-hero::after {
        background:
            linear-gradient(90deg, rgba(4, 5, 5, 0.93) 0%, rgba(4, 5, 5, 0.65) 50%, rgba(4, 5, 5, 0.16)),
            linear-gradient(180deg, rgba(4, 5, 5, 0.06) 44%, rgba(4, 5, 5, 0.95) 76%);
    }

    .home-hero__inner {
        align-items: flex-start;
        min-height: 960px;
        padding-top: 92px;
        padding-bottom: 360px;
    }

    .hero-copy {
        width: min(560px, 78%);
    }

    .feature-rail {
        grid-template-columns: 1fr;
        bottom: 20px;
    }

    .feature-rail__item {
        justify-content: flex-start;
        min-height: 92px;
        padding: 14px 24px;
    }

    .feature-rail__item + .feature-rail__item {
        border-top: 1px solid rgba(185, 138, 53, 0.18);
        border-left: 0;
    }

    .section-heading--split,
    .ranking-layout,
    .feature-story__body,
    .vip-panel {
        grid-template-columns: 1fr;
    }

    .section-heading--split {
        gap: 22px;
    }

    .promo-slide {
        padding: 60px 70px;
    }

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

    .news-card--compact {
        min-height: 330px;
    }

    .ranking-layout {
        gap: 44px;
    }

    .ranking-seal {
        display: none;
    }

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

    .castle-card {
        min-height: 360px;
    }

    .siege-prize {
        grid-template-columns: auto 1fr;
    }

    .siege-prize .text-link {
        grid-column: 2;
        justify-self: start;
    }

    .final-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .rate-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .rate-strip > div + div {
        border-left: 0;
    }

    .rate-strip > div {
        border-bottom: 1px solid rgba(185, 138, 53, 0.17);
        border-left: 1px solid rgba(185, 138, 53, 0.17);
    }

    .rate-strip > div:nth-child(3n + 1) {
        border-left: 0;
    }

    .hellbound-showcase {
        grid-template-columns: 1fr;
    }

    .hellbound-showcase__media {
        min-height: 360px;
    }

    .hellbound-showcase__media-shade {
        background: linear-gradient(180deg, rgba(7, 8, 8, 0.04), rgba(7, 8, 8, 0.86));
    }

    .hellbound-showcase__content {
        padding: 42px 30px 46px;
    }

    .boss-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 52px;
    }

    .feature-story__body {
        gap: 44px;
    }

    .vip-metrics {
        border-top: 1px solid rgba(185, 138, 53, 0.2);
    }

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

    .olympiad-class-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    :root {
        --header-height: 70px;
    }

    .shell,
    .site-header__inner {
        width: min(calc(100% - 28px), var(--shell));
    }

    .brand {
        gap: 9px;
    }

    .brand__emblem {
        width: 43px;
        height: 43px;
    }

    .brand__wordmark {
        width: 116px;
    }

    .section {
        padding: 76px 0;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .section-heading h2 {
        font-size: 40px;
    }

    .home-hero {
        min-height: 1000px;
        background-image:
            image-set(
                url("../images/hero-reference-mobile.webp") type("image/webp"),
                url("../images/hero-reference-mobile.jpg") type("image/jpeg")
            );
        background-position: 50% top;
    }

    .home-hero__inner {
        min-height: 1000px;
        padding-top: 64px;
        padding-bottom: 340px;
    }

    .hero-copy {
        width: 100%;
    }

    .hero-copy h1 {
        font-size: clamp(48px, 15vw, 64px);
    }

    .hero-copy > p {
        max-width: 390px;
        font-size: 16px;
    }

    .eyebrow {
        font-size: 10px;
    }

    .eyebrow::before,
    .eyebrow::after {
        width: 16px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
        min-width: 0;
    }

    .feature-rail__item {
        min-height: 88px;
        padding-inline: 18px;
    }

    .feature-rail__item strong {
        font-size: 18px;
    }

    .feature-rail__item small {
        font-size: 12px;
    }

    .promo-carousel {
        min-height: 600px;
    }

    .promo-slide {
        align-items: flex-end;
        padding: 54px 28px 82px;
        background-position: 65% center;
    }

    .promo-slide__shade {
        background:
            linear-gradient(180deg, rgba(5, 6, 6, 0.1) 10%, rgba(5, 6, 6, 0.94) 68%),
            linear-gradient(90deg, rgba(5, 6, 6, 0.7), transparent);
    }

    .promo-slide h3 {
        font-size: 44px;
    }

    .promo-slide p {
        font-size: 15px;
    }

    .promo-facts {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .carousel-control {
        top: 34px;
        width: 42px;
        height: 42px;
        transform: none;
    }

    .carousel-control--prev {
        right: 72px;
        left: auto;
    }

    .carousel-control--next {
        right: 22px;
    }

    .news-card {
        min-height: 410px;
    }

    .news-card__content {
        padding: 28px;
    }

    .news-card h3 {
        font-size: 36px;
    }

    .ranking-panel {
        padding: 16px;
    }

    .ranking-tabs button {
        font-size: 17px;
    }

    .ranking-row {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 10px;
        font-size: 12px;
    }

    .castle-card {
        min-height: 285px;
    }

    .siege-prize {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .siege-prize__icon {
        width: 68px;
        height: 68px;
        border-right: 0;
    }

    .siege-prize .text-link {
        grid-column: auto;
    }

    .inner-hero {
        min-height: 420px;
        padding-bottom: 54px;
        background-position: 58% center;
    }

    .inner-hero h1 {
        font-size: 50px;
    }

    .rate-strip {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 68px;
    }

    .rate-strip > div:nth-child(3n + 1) {
        border-left: 1px solid rgba(185, 138, 53, 0.17);
    }

    .rate-strip > div:nth-child(odd) {
        border-left: 0;
    }

    .rate-strip > div:last-child {
        grid-column: 1 / -1;
        border-left: 0;
    }

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

    .overview-card {
        min-height: 235px;
    }

    .hellbound-showcase__media {
        min-height: 280px;
    }

    .hellbound-showcase__content {
        padding: 34px 22px 38px;
    }

    .hellbound-showcase__content h2 {
        font-size: 38px;
    }

    .hellbound-facts li {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .boss-gallery {
        grid-template-columns: 1fr;
    }

    .boss-card,
    .boss-card img {
        min-height: 230px;
    }

    .feature-story {
        padding-bottom: 76px;
    }

    .feature-story__media {
        height: 300px;
    }

    .feature-story__media-label {
        right: 18px;
        bottom: 24px;
    }

    .feature-story__media-label strong {
        font-size: 58px;
    }

    .feature-story__body {
        padding-top: 48px;
    }

    .feature-story__title h2 {
        font-size: 42px;
    }

    .detail-list li {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .vip-panel {
        gap: 38px;
        padding: 30px 22px;
    }

    .vip-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .vip-metrics > div + div {
        border-left: 0;
    }

    .vip-metrics > div:nth-child(even) {
        border-left: 1px solid rgba(185, 138, 53, 0.2);
    }

    .vip-metrics > div:nth-child(n + 3) {
        border-top: 1px solid rgba(185, 138, 53, 0.2);
    }

    .download-card,
    .requirement-card {
        padding: 28px 22px;
    }

    .interface-warning {
        grid-template-columns: 1fr;
        padding: 26px 22px;
    }

    .install-steps {
        grid-template-columns: 1fr;
    }

    .install-steps li {
        min-height: 220px;
    }

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

    .requirement-card dl > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .site-dialog {
        width: calc(100% - 16px);
        max-height: calc(100svh - 16px);
    }

    .site-dialog__header {
        padding: 24px 18px 18px;
    }

    .site-dialog__header h2 {
        font-size: 34px;
    }

    .olympiad-races {
        grid-template-columns: repeat(2, 1fr);
        margin: 18px 18px 0;
    }

    .olympiad-races button + button {
        border-left: 0;
    }

    .olympiad-races button:nth-child(even) {
        border-left: 1px solid rgba(185, 138, 53, 0.18);
    }

    .olympiad-races button:last-child {
        grid-column: 1 / -1;
        border-top: 1px solid rgba(185, 138, 53, 0.18);
    }

    .olympiad-races button {
        min-height: 58px;
    }

    .olympiad-class-groups {
        padding: 14px 18px 0;
    }

    .olympiad-class-grid {
        grid-template-columns: 1fr;
    }

    .olympiad-class {
        min-height: 58px;
    }

    .olympiad-table-head {
        align-items: flex-start;
        flex-direction: column;
        margin: 22px 18px 0;
    }

    .dialog-table-wrap {
        padding: 0 18px 24px;
    }

    .site-footer__bottom {
        align-items: center;
        flex-direction: column;
        gap: 14px;
    }

    .site-footer__bottom nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}
