:root {
    --ink: #07101d;
    --ink-2: #0a1422;
    --ink-3: #0d1928;
    --paper: #f4efe2;
    --gold: #d6ab5c;
    --gold-light: #e8c57d;
    --muted: #a5afbd;
    --line: rgba(255, 255, 255, .1);
    --container: 1320px;
    --container-wide: 1440px;
    --header-h: 80px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--paper); background: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img, svg { display: block; }
svg { width: 1em; height: 1em; }
::selection { color: var(--ink); background: var(--gold); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container, .container-wide { width: min(100%, var(--container)); margin-inline: auto; padding-inline: 32px; }
.container-wide { max-width: var(--container-wide); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); border-bottom: 1px solid var(--line); background: rgba(7,16,29,.88); backdrop-filter: blur(18px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 600 20px/1 Georgia, "Times New Roman", serif; letter-spacing: .18em; }
.brand-mark, .square-icon { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border: 1px solid rgba(214,171,92,.46); color: var(--gold-light); background: rgba(214,171,92,.1); }
.brand-mark svg, .square-icon svg { width: 20px; height: 20px; }
.desktop-nav { display: flex; align-items: center; gap: 27px; }
.desktop-nav a { color: rgba(255,255,255,.62); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--gold-light); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.server-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(52,211,153,.2); border-radius: 99px; color: #80e4b8; background: rgba(52,211,153,.08); font-size: 11px; font-weight: 700; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 12px #34d399; }
.status-dot.offline { background: #f87171; box-shadow: 0 0 12px #f87171; }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 1px solid transparent; border-radius: 0; cursor: pointer; font-size: 12px; font-weight: 800; letter-spacing: .06em; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.button:active { transform: translateY(1px); }
.button svg { width: 16px; height: 16px; }
.button-gold { color: #101824; background: var(--gold); }
.button-gold:hover { background: var(--gold-light); }
.button-ghost { padding-inline: 12px; color: #fff; background: transparent; }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.button-outline { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.035); }
.button-outline:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.09); }
.button-large { min-height: 52px; padding-inline: 27px; text-transform: uppercase; letter-spacing: .12em; }
.button-full { width: 100%; min-height: 48px; }
.button-discord { color: #fff; background: #5865f2; }
.button-discord:hover { background: #6874f5; }
.button-ink { min-height: 50px; padding-inline: 24px; color: #fff; background: #101824; }
.button-ink:hover { background: #1c2a3d; }
.icon-button { display: none; width: 42px; height: 42px; place-items: center; border: 0; background: transparent; cursor: pointer; }
.mobile-nav { display: grid; padding: 10px 24px 20px; border-top: 1px solid var(--line); background: var(--ink); }
.mobile-nav a, .mobile-nav button { display: flex; align-items: center; gap: 9px; padding: 13px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.07); color: rgba(255,255,255,.76); background: none; text-align: left; font-weight: 650; cursor: pointer; }
.mobile-nav button { color: var(--gold-light); border-bottom: 0; }

.hero { position: relative; min-height: 820px; display: flex; align-items: center; padding-top: var(--header-h); overflow: hidden; }
.hero-art, .hero-shade { position: absolute; inset: 0; }
.hero-art { background: url('../img/hero-jaevictis.png') 68% center / cover no-repeat; transform: scale(1.002); }
.hero-shade { background: linear-gradient(90deg, #07101d 0%, rgba(7,16,29,.94) 24%, rgba(7,16,29,.46) 55%, rgba(7,16,29,.08) 78%), linear-gradient(0deg, #07101d 0%, transparent 34%); }
.hero-content { position: relative; padding-top: 20px; }
.hero-kicker { display: flex; align-items: center; gap: 13px; margin-bottom: 30px; color: var(--gold-light); font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.hero-kicker span, .section-heading > p span { width: 38px; height: 1px; background: var(--gold); }
.hero h1 { max-width: 680px; margin: 0; font: 600 clamp(54px, 6.2vw, 92px)/.96 Georgia, "Times New Roman", serif; letter-spacing: -.04em; }
.hero h1 em { display: block; margin-top: 8px; color: var(--gold-light); font-style: normal; }
.hero-content > p { max-width: 610px; margin: 28px 0 0; color: rgba(215,221,231,.76); font-size: 18px; line-height: 1.62; }
.hero-actions { display: flex; gap: 12px; margin-top: 38px; }
.hero-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 19px 34px; max-width: 660px; margin-top: 46px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.58); font-size: 14px; }
.hero-stats > span { display: inline-flex; align-items: center; gap: 9px; }
.hero-stats strong { color: #fff; }
.hero-stats svg { color: var(--gold); }
.scroll-hint { position: absolute; left: 50%; bottom: 30px; display: flex; flex-direction: column; align-items: center; gap: 7px; transform: translateX(-50%); color: rgba(255,255,255,.44); font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.scroll-hint svg { animation: bob 1.8s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

.event-strip { border-block: 1px solid rgba(214,171,92,.2); background: var(--ink-3); }
.event-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.event-copy, .event-action { display: flex; align-items: center; gap: 18px; }
.event-copy small { display: block; margin-bottom: 3px; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.event-copy strong { display: block; color: #fff; font-size: 15px; }
.event-action time { color: rgba(255,255,255,.62); font: 14px ui-monospace, monospace; }
.event-action a, .news-content a, .trailer-copy a, .rankings-more a { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-light); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.section { position: relative; padding-block: 120px; }
.section-dark { background: var(--ink-2); }
.section-heading { max-width: 680px; }
.section-heading > p { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.section-heading h2 { margin: 19px 0 0; color: #fff; font: 600 clamp(38px, 4vw, 56px)/1.06 Georgia, "Times New Roman", serif; letter-spacing: -.028em; }
.section-heading > div { max-width: 600px; margin-top: 18px; color: rgba(255,255,255,.52); font-size: 16px; line-height: 1.7; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 300px); gap: 18px; margin-top: 48px; }
.news-card { position: relative; overflow: hidden; min-height: 300px; border: 1px solid var(--line); background: var(--ink-3); }
.news-featured { grid-area: 1 / 1 / 3 / 3; }
.news-background, .news-shade { position: absolute; inset: 0; }
.news-background { background: url('../img/hero-jaevictis.png') var(--news-position) / cover no-repeat; transition: transform .8s var(--ease); }
.news-card:hover .news-background { transform: scale(1.045); }
.news-shade { background: linear-gradient(0deg, rgba(5,11,20,.98) 0%, rgba(5,11,20,.15) 80%); }
.news-content { position: absolute; inset: auto 0 0; padding: 28px; }
.news-featured .news-content { padding: 36px; }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.news-meta span { padding: 5px 9px; color: var(--ink); background: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.news-meta time { color: rgba(255,255,255,.44); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.news-content h3 { margin: 0; color: #fff; font: 600 25px/1.14 Georgia, serif; }
.news-featured h3 { font-size: 40px; }
.news-content p { margin: 12px 0 0; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.65; }
.news-content a { margin-top: 17px; }
.section-cta { margin-top: 32px; text-align: center; }

.section-world { overflow: hidden; border-block: 1px solid rgba(255,255,255,.07); background: var(--ink); }
.world-grid { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); }
.world-content { position: relative; }
.world-intro { display: grid; grid-template-columns: 1fr 1.1fr; align-items: end; gap: 50px; }
.world-intro aside { display: flex; justify-content: flex-end; align-items: center; gap: 22px; padding-left: 30px; border-left: 1px solid rgba(214,171,92,.3); }
.world-intro aside strong { color: var(--gold-light); font: 600 54px/1 Georgia, serif; }
.world-intro aside p { max-width: 330px; margin: 0; color: rgba(255,255,255,.5); font-size: 14px; line-height: 1.65; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-card { position: relative; min-height: 340px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.017); transition: background .3s; }
.feature-card:hover { background: rgba(255,255,255,.045); }
.feature-card::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; background: var(--gold); transition: width .5s var(--ease); }
.feature-card:hover::after { width: 100%; }
.feature-top { display: flex; justify-content: space-between; align-items: flex-start; }
.feature-top small { color: rgba(255,255,255,.2); font-family: ui-monospace, monospace; }
.feature-card h3 { margin: 65px 0 0; color: #fff; font: 600 25px/1.2 Georgia, serif; }
.feature-card p { margin: 16px 0 0; color: rgba(255,255,255,.5); font-size: 14px; line-height: 1.7; }
.trailer-card { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 480px; margin-top: 78px; overflow: hidden; border: 1px solid var(--line); background: #0c1725; }
.trailer-visual { position: relative; min-height: 440px; background: linear-gradient(90deg, transparent 58%, #0c1725), url('../img/hero-jaevictis.png') 70% center / cover no-repeat; }
.play-circle { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 78px; height: 78px; transform: translate(-50%, -50%); border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; background: rgba(7,16,29,.66); backdrop-filter: blur(8px); cursor: pointer; transition: transform .2s, color .2s, background .2s; }
.play-circle:hover { transform: translate(-50%, -50%) scale(1.06); color: var(--ink); background: var(--gold); }
.play-circle svg { width: 28px; height: 28px; fill: currentColor; }
.trailer-copy { display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.trailer-copy small, .community-content > small, .newsletter-inner small { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.trailer-copy h3 { margin: 18px 0 0; color: #fff; font: 600 42px/1.12 Georgia, serif; }
.trailer-copy p { margin: 20px 0 0; color: rgba(255,255,255,.52); font-size: 14px; line-height: 1.75; }
.trailer-copy a { margin-top: 28px; }

.rankings-wrap { max-width: 1180px; }
.rankings-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.next-update { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; color: rgba(255,255,255,.4); font-size: 12px; }
.next-update svg { color: #34d399; }
.tabs { margin-top: 46px; }
.tab-list { display: flex; gap: 26px; border-bottom: 1px solid var(--line); }
.tab-list button { position: relative; padding: 0 0 15px; border: 0; color: rgba(255,255,255,.42); background: none; cursor: pointer; font-size: 14px; font-weight: 700; }
.tab-list button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; transform: scaleX(0); background: var(--gold); transition: transform .2s; }
.tab-list button.active { color: var(--gold-light); }
.tab-list button.active::after { transform: scaleX(1); }
.tab-panel { margin-top: 24px; border: 1px solid var(--line); background: var(--ink-3); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th { height: 50px; color: rgba(255,255,255,.34); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-align: left; text-transform: uppercase; }
th, td { padding: 0 18px; border-bottom: 1px solid rgba(255,255,255,.075); }
th:first-child, td:first-child { padding-left: 24px; }
th:last-child, td:last-child { padding-right: 24px; text-align: right; }
td { height: 64px; color: rgba(255,255,255,.48); font-size: 13px; }
td strong { color: #fff; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: rgba(255,255,255,.032); }
tbody tr:last-child td { border-bottom: 0; }
.rank-cell { width: 78px; color: var(--gold-light); font: 13px ui-monospace, monospace; }
.rank-cell svg { width: 20px; height: 20px; fill: rgba(214,171,92,.2); }
.level-badge { display: inline-block; padding: 4px 8px; border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.72); font-size: 11px; }
.rankings-more { margin-top: 22px; text-align: right; }

.community-section { position: relative; min-height: 690px; display: grid; place-items: center; overflow: hidden; border-block: 1px solid rgba(255,255,255,.07); }
.community-background { position: absolute; inset: 0; opacity: .22; background: linear-gradient(90deg, var(--ink) 5%, rgba(7,16,29,.67) 50%, var(--ink) 95%), url('../img/hero-jaevictis.png') 52% 70% / cover no-repeat; }
.community-content { position: relative; max-width: 880px; padding-block: 90px; text-align: center; }
.community-content .square-icon { margin-inline: auto; width: 55px; height: 55px; }
.community-content > small { display: block; margin-top: 28px; }
.community-content h2 { margin: 17px 0 0; font: 600 clamp(42px, 5vw, 66px)/1.08 Georgia, serif; letter-spacing: -.03em; }
.community-content > p { max-width: 680px; margin: 22px auto 0; color: rgba(255,255,255,.55); font-size: 16px; line-height: 1.7; }
.community-actions { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.community-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px 40px; margin-top: 46px; padding-top: 27px; border-top: 1px solid var(--line); color: rgba(255,255,255,.43); font-size: 13px; }
.community-stats strong { color: #fff; }

.help-grid { max-width: 1180px; display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; }
.help-links { display: grid; gap: 10px; margin-top: 30px; }
.help-links a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 18px; border: 1px solid var(--line); color: rgba(255,255,255,.7); background: rgba(255,255,255,.02); font-size: 13px; font-weight: 700; transition: color .2s, border-color .2s; }
.help-links a:hover { color: #fff; border-color: rgba(214,171,92,.4); }
.help-links a span { display: flex; align-items: center; gap: 12px; }
.help-links a span svg { color: var(--gold); }
.help-links > a > svg { color: rgba(255,255,255,.22); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; color: #fff; font-size: 16px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex: 0 0 auto; color: rgba(255,255,255,.4); transition: transform .2s; }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list details p { max-width: 680px; margin: -4px 36px 0 0; padding-bottom: 25px; color: rgba(255,255,255,.5); font-size: 14px; line-height: 1.75; }

.newsletter-section { padding-block: 50px; color: #101824; background: var(--gold); }
.newsletter-inner { max-width: 1180px; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.newsletter-inner small { color: rgba(16,24,36,.58); }
.newsletter-inner h2 { margin: 7px 0 0; font: 600 36px/1.15 Georgia, serif; }
.newsletter-inner p { margin: 7px 0 0; color: rgba(16,24,36,.62); font-size: 14px; }
#newsletter-form { width: min(100%, 520px); display: flex; }
#newsletter-form input { flex: 1 1 auto; min-width: 0; height: 50px; padding: 0 16px; border: 1px solid rgba(16,24,36,.22); border-right: 0; outline: 0; color: #101824; background: rgba(255,255,255,.34); }
#newsletter-form input::placeholder { color: rgba(16,24,36,.45); }
#newsletter-form input:focus { border-color: #101824; }

.site-footer { background: #050b13; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 60px; padding-block: 62px; }
.footer-brand > p { max-width: 320px; margin: 20px 0 0; color: rgba(255,255,255,.38); font-size: 13px; line-height: 1.7; }
.footer-status { display: flex; align-items: center; gap: 8px; margin-top: 24px; color: #70d9ab; font-size: 11px; }
.footer-group { display: flex; flex-direction: column; gap: 12px; }
.footer-group h3 { margin: 0 0 7px; color: rgba(255,255,255,.62); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.footer-group a { color: rgba(255,255,255,.35); font-size: 13px; transition: color .2s; }
.footer-group a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); }
.footer-bottom-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.26); font-size: 11px; }
.footer-bottom-inner div { display: flex; flex-wrap: wrap; gap: 20px; }

.modal { width: min(92vw, 450px); max-height: 90vh; padding: 0; overflow: auto; border: 1px solid rgba(255,255,255,.14); border-radius: 0; color: #fff; background: var(--ink-3); box-shadow: 0 28px 90px rgba(0,0,0,.55); }
.modal::backdrop { background: rgba(2,6,12,.78); backdrop-filter: blur(7px); }
.modal[open] { animation: modal-in .2s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.modal-close { position: absolute; top: 13px; right: 13px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border: 0; color: rgba(255,255,255,.58); background: transparent; cursor: pointer; }
.modal-heading { padding: 27px 27px 22px; border-bottom: 1px solid var(--line); }
.modal-heading .square-icon { margin-bottom: 16px; }
.modal-heading h2 { margin: 0; font: 600 27px/1.2 Georgia, serif; }
.modal-heading p { margin: 8px 0 0; color: rgba(255,255,255,.45); font-size: 13px; line-height: 1.55; }
.modal-form { display: grid; gap: 16px; padding: 23px 27px 27px; }
.field label { display: block; margin-bottom: 7px; color: rgba(255,255,255,.66); font-size: 11px; font-weight: 700; }
.field input { width: 100%; height: 45px; padding: 0 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 0; outline: 0; color: #fff; background: rgba(255,255,255,.045); }
.field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214,171,92,.09); }
.field input::placeholder { color: rgba(255,255,255,.25); }
.label-row { display: flex; align-items: center; justify-content: space-between; }
.text-link { padding: 0; border: 0; color: var(--gold-light); background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }
.auth-switch { margin: -2px 0 0; color: rgba(255,255,255,.38); text-align: center; font-size: 11px; }
.form-message { margin: 0; padding: 10px 12px; border: 1px solid rgba(52,211,153,.2); color: #a2ebcb; background: rgba(52,211,153,.08); font-size: 11px; line-height: 1.5; }
.form-message.error { border-color: rgba(248,113,113,.24); color: #fca5a5; background: rgba(248,113,113,.08); }
.download-modal { width: min(92vw, 520px); }
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.platform-card { min-height: 110px; display: flex; flex-direction: column; align-items: flex-start; padding: 16px; border: 1px solid var(--line); color: #fff; background: rgba(255,255,255,.02); cursor: pointer; text-align: left; transition: border-color .2s, background .2s; }
.platform-card.selected { border-color: var(--gold); background: rgba(214,171,92,.1); }
.platform-card > svg { color: var(--gold-light); }
.platform-card strong { margin-top: 14px; font-size: 13px; }
.platform-card small { margin-top: 3px; color: rgba(255,255,255,.36); font-size: 10px; }
.download-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 15px; border-block: 1px solid var(--line); text-align: center; }
.download-stats span + span { border-left: 1px solid var(--line); }
.download-stats small, .download-stats strong { display: block; }
.download-stats small { color: rgba(255,255,255,.28); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.download-stats strong { margin-top: 4px; font-size: 11px; }
.download-safe { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0; color: rgba(255,255,255,.33); font-size: 10px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 200; max-width: 370px; padding: 13px 16px; transform: translateY(18px); border: 1px solid rgba(214,171,92,.32); color: #fff; background: #101d2c; box-shadow: 0 16px 40px rgba(0,0,0,.4); opacity: 0; pointer-events: none; font-size: 12px; transition: opacity .2s, transform .2s; }
.toast.show { transform: translateY(0); opacity: 1; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
    .desktop-nav, .server-pill { display: none; }
    .icon-button { display: grid; }
    .news-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 460px 310px; }
    .news-featured { grid-column: 1 / -1; grid-row: auto; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .feature-card { min-height: 300px; }
    .footer-grid { grid-template-columns: 1.3fr repeat(2, 1fr); }
    .footer-group:last-child { grid-column: 2; }
}

@media (max-width: 860px) {
    :root { --header-h: 72px; }
    .container, .container-wide { padding-inline: 22px; }
    .section { padding-block: 88px; }
    .account-button { display: none; }
    .hero { min-height: 760px; }
    .hero-shade { background: linear-gradient(90deg, #07101d 0%, rgba(7,16,29,.86) 46%, rgba(7,16,29,.22) 100%), linear-gradient(0deg, #07101d 0%, transparent 38%); }
    .hero-content > p { max-width: 520px; font-size: 16px; }
    .scroll-hint { display: none; }
    .event-inner, .newsletter-inner { align-items: flex-start; flex-direction: column; padding-block: 20px; }
    .event-action { width: 100%; justify-content: space-between; padding-left: 58px; }
    .world-intro, .trailer-card, .help-grid { grid-template-columns: 1fr; }
    .world-intro aside { justify-content: flex-start; }
    .trailer-visual { min-height: 380px; background: linear-gradient(0deg, #0c1725 0%, transparent 44%), url('../img/hero-jaevictis.png') 70% center / cover no-repeat; }
    .rankings-heading { align-items: flex-start; flex-direction: column; }
    .help-grid { gap: 60px; }
    #newsletter-form { width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-group:last-child { grid-column: auto; }
}

@media (max-width: 620px) {
    .container, .container-wide { padding-inline: 18px; }
    .brand { font-size: 17px; }
    .brand-mark { width: 37px; height: 37px; }
    .play-button { min-width: 42px; padding-inline: 0; }
    .play-button span { display: none; }
    .header-actions { gap: 3px; }
    .hero { min-height: 760px; align-items: flex-end; padding-bottom: 64px; }
    .hero-art { background-position: 72% center; opacity: .73; }
    .hero-shade { background: linear-gradient(90deg, rgba(7,16,29,.86), rgba(7,16,29,.36)), linear-gradient(0deg, #07101d 0%, rgba(7,16,29,.42) 64%, rgba(7,16,29,.35)); }
    .hero-kicker { font-size: 9px; letter-spacing: .17em; }
    .hero h1 { font-size: 50px; }
    .hero-actions, .community-actions { flex-direction: column; }
    .hero-actions .button, .community-actions .button { width: 100%; }
    .hero-stats { gap: 13px 24px; margin-top: 34px; }
    .event-copy { align-items: flex-start; }
    .event-action { padding-left: 0; }
    .news-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
    .news-card, .news-featured { min-height: 380px; grid-column: auto; grid-row: auto; }
    .news-featured h3 { font-size: 31px; }
    .news-content, .news-featured .news-content { padding: 23px; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 275px; }
    .feature-card h3 { margin-top: 45px; }
    .world-intro aside { align-items: flex-start; flex-direction: column; }
    .trailer-visual { min-height: 310px; }
    .trailer-copy { padding: 30px 24px 34px; }
    .trailer-copy h3 { font-size: 34px; }
    th:nth-child(3), td:nth-child(3), th:nth-child(5), td:nth-child(5) { display: none; }
    .community-section { min-height: 700px; }
    .community-content h2 br { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
    .footer-bottom-inner { align-items: flex-start; flex-direction: column; padding-block: 24px; }
    #newsletter-form { flex-direction: column; gap: 8px; }
    #newsletter-form input { border-right: 1px solid rgba(16,24,36,.22); }
    .modal-heading, .modal-form { padding-inline: 20px; }
    .platform-grid { grid-template-columns: 1fr 1fr; }
    .toast { right: 14px; bottom: 14px; left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}


