@font-face {
    font-family: 'AevoraTrajan';
    src: url('../fonts/Trajan Pro Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AevoraTrajan';
    src: url('../fonts/Trajan Pro Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AevoraSans';
    src: url('../fonts/Roboto/Roboto-Regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AevoraSans';
    src: url('../fonts/Roboto/Roboto-Medium-webfont.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AevoraSans';
    src: url('../fonts/Roboto/Roboto-Bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #080a09;
    --bg-soft: #0b0f0c;
    --panel: #101512;
    --panel-2: #131a16;
    --panel-3: #172019;
    --gold: #c7a765;
    --gold-bright: #e4ca8d;
    --gold-dim: #7f6b43;
    --emerald: #2e9a72;
    --emerald-soft: #1b634d;
    --emerald-dark: #103c2f;
    --text: #eee9de;
    --muted: #8e9991;
    --muted-2: #66726b;
    --line: rgba(199, 167, 101, .18);
    --line-strong: rgba(199, 167, 101, .38);
    --green-line: rgba(46, 154, 114, .24);
    --danger: #b5584f;
    --success: #4d9b75;
    --shadow: 0 24px 70px rgba(0, 0, 0, .42);
    --shell: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 12%, rgba(46, 154, 114, .07), transparent 28%),
        radial-gradient(circle at 86% 8%, rgba(199, 167, 101, .06), transparent 26%),
        linear-gradient(180deg, #090c0a 0%, #070908 100%);
    font-family: 'AevoraSans', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background:
        linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.008) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.35), transparent 68%);
}

.site-noise {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: .025;
    pointer-events: none;
    background-image: radial-gradient(circle at 20% 30%, #fff 0 0.5px, transparent .7px), radial-gradient(circle at 80% 70%, #fff 0 0.5px, transparent .7px);
    background-size: 7px 7px, 11px 11px;
    mix-blend-mode: overlay;
}

::selection {
    color: #0b100d;
    background: var(--gold-bright);
}

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

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

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

img {
    max-width: 100%;
}

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

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 78px;
    background: rgba(8, 11, 9, .89);
    border-bottom: 1px solid rgba(199, 167, 101, .14);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 42px rgba(0, 0, 0, .22);
}

.site-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(199,167,101,.3), rgba(46,154,114,.35), rgba(199,167,101,.3), transparent);
}

.site-header__inner {
    width: min(calc(100% - 48px), 1340px);
    min-height: 78px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 36px;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.brand__name {
    font-family: 'AevoraTrajan', Georgia, serif;
    color: var(--gold-bright);
    font-size: 25px;
    letter-spacing: 7px;
    text-shadow: 0 0 24px rgba(199, 167, 101, .16);
}

.brand__tagline {
    margin-top: 7px;
    color: var(--emerald);
    font-size: 7px;
    letter-spacing: 4.6px;
}

.main-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 31px;
}

.main-nav a {
    position: relative;
    color: #a8b0aa;
    font-size: 13px;
    font-weight: 500;
    transition: color .2s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -29px;
    width: 0;
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--gold), var(--emerald));
    transition: width .2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--gold-bright);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
    width: 100%;
}

.account-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.account-actions__login,
.account-actions__admin,
.logout-form button {
    color: #aeb6b0;
    font-size: 13px;
    background: none;
    border: 0;
    padding: 7px 2px;
    cursor: pointer;
    transition: color .2s ease;
}

.account-actions__login:hover,
.account-actions__admin:hover,
.logout-form button:hover {
    color: var(--gold-bright);
}

.logout-form {
    margin: 0;
}

.account-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    color: #d8ded9;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 8px;
    font-size: 12px;
}

.account-chip__dot,
.status-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #49c58e;
    box-shadow: 0 0 0 4px rgba(73,197,142,.09), 0 0 14px rgba(73,197,142,.65);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: rgba(255,255,255,.02);
}

.nav-toggle span {
    display: block;
    height: 1px;
    margin: 5px 0;
    background: var(--gold-bright);
    transition: transform .2s ease, opacity .2s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 22px;
    color: var(--text);
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--small {
    min-height: 38px;
    padding-inline: 16px;
    font-size: 12px;
}

.btn--large {
    min-height: 54px;
    padding-inline: 28px;
}

.btn--block {
    width: 100%;
}

.btn--gold {
    color: #17120a;
    border-color: #d5b86f;
    background: linear-gradient(135deg, #ead29b 0%, #c5a35e 55%, #9c7b3d 100%);
    box-shadow: inset 0 1px rgba(255,255,255,.35), 0 12px 32px rgba(134, 103, 48, .18);
}

.btn--gold:hover {
    color: #100d08;
    box-shadow: inset 0 1px rgba(255,255,255,.4), 0 15px 36px rgba(199, 167, 101, .24);
}

.btn--ghost {
    color: #d9dfda;
    border-color: rgba(199,167,101,.25);
    background: rgba(11, 16, 13, .6);
}

.btn--ghost:hover {
    color: var(--gold-bright);
    border-color: rgba(199,167,101,.5);
    background: rgba(199,167,101,.05);
}

/* Hero */
.hero {
    position: relative;
    isolation: isolate;
    min-height: 500px;
    overflow: hidden;
    border-bottom: 1px solid rgba(199,167,101,.12);
    background:
        radial-gradient(ellipse at 78% 45%, rgba(28,92,70,.18), transparent 28%),
        radial-gradient(ellipse at 68% 46%, rgba(199,167,101,.09), transparent 37%),
        linear-gradient(120deg, #0c110e 0%, #090c0a 46%, #070908 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(199,167,101,.022) 1px, transparent 1px),
        linear-gradient(rgba(199,167,101,.018) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: radial-gradient(circle at 74% 50%, black, transparent 68%);
}

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, rgba(4,6,5,.72));
    pointer-events: none;
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.hero__glow--one {
    width: 440px;
    height: 440px;
    right: 11%;
    top: 74px;
    background: rgba(39, 131, 96, .085);
}

.hero__glow--two {
    width: 320px;
    height: 320px;
    right: 30%;
    top: 160px;
    background: rgba(199, 167, 101, .055);
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
    gap: 60px;
    align-items: center;
    min-height: 500px;
    padding-block: 44px 42px;
}

.hero__copy {
    max-width: 680px;
}

.eyebrow,
.section-kicker {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.7px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.eyebrow > span {
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, var(--emerald), var(--gold));
}

.hero h1 {
    margin: 0;
    max-width: 650px;
    color: #f2eee5;
    font-family: 'AevoraTrajan', Georgia, serif;
    font-size: clamp(52px, 5.6vw, 82px);
    line-height: 1.02;
    font-weight: 400;
    letter-spacing: -2px;
    text-shadow: 0 10px 50px rgba(0,0,0,.48);
}

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

.hero__lead {
    max-width: 610px;
    margin: 20px 0 0;
    color: #9ba59e;
    font-size: 17px;
    line-height: 1.8;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hero__status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
    color: #77837b;
    font-size: 12px;
}

.hero__status strong {
    color: #b8c2bb;
    font-weight: 500;
}

.hero__status-separator {
    width: 1px;
    height: 14px;
    background: rgba(199,167,101,.2);
}

.hero__art {
    position: relative;
    width: min(100%, 560px);
    min-height: 500px;
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: visible;
}

.hero__art--keyart::before {
    content: '';
    position: absolute;
    inset: 8% 0 10% 14%;
    background: radial-gradient(circle, rgba(46,154,114,.12) 0%, rgba(199,167,101,.08) 38%, transparent 72%);
    filter: blur(28px);
    z-index: 0;
}

.hero__art--keyart::after {
    content: '';
    position: absolute;
    width: 58%;
    height: 12%;
    right: 12%;
    bottom: 9%;
    border-radius: 50%;
    background: rgba(0,0,0,.40);
    filter: blur(26px);
    z-index: 0;
}

.hero__keyart {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 520px);
    height: auto;
    object-fit: contain;
    transform: translate(18px, 8px);
    filter: drop-shadow(0 30px 70px rgba(0,0,0,.30));
    animation: hero-keyart-float 9s ease-in-out infinite;
    pointer-events: none;
    user-select: none;
}

@keyframes hero-keyart-float {
    0% { transform: translate(18px, 8px); }
    50% { transform: translate(18px, -2px); }
    100% { transform: translate(18px, 8px); }
}

/* Server strip */
.server-strip {
    position: relative;
    z-index: 8;
    margin-top: -1px;
    border-bottom: 1px solid rgba(199,167,101,.13);
    background: rgba(9, 13, 10, .94);
    box-shadow: 0 18px 60px rgba(0,0,0,.22);
}

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

.server-stat {
    position: relative;
    min-height: 90px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 24px;
    border-right: 1px solid rgba(199,167,101,.12);
}

.server-stat:last-child { border-right: 0; }

.server-stat__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--gold);
    border: 1px solid rgba(199,167,101,.18);
    background: rgba(199,167,101,.035);
    transform: rotate(45deg);
}

.server-stat__icon i { transform: rotate(-45deg); }
.server-stat--online .server-stat__icon { color: #55c796; border-color: rgba(85,199,150,.22); background: rgba(85,199,150,.04); }
.server-stat--online .server-stat__icon i { font-size: 9px; text-shadow: 0 0 12px #49c58e; }

.server-stat small {
    display: block;
    color: #6e7972;
    font-size: 10px;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.server-stat strong {
    display: block;
    margin-top: 2px;
    color: #d9ded9;
    font-family: 'AevoraTrajan', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
}

/* Inner hero */
.inner-hero {
    position: relative;
    border-bottom: 1px solid rgba(199,167,101,.12);
    background: linear-gradient(120deg, rgba(14,20,16,.98), rgba(8,11,9,.98));
}

.inner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 74% 20%, rgba(46,154,114,.07), transparent 30%);
    pointer-events: none;
}

.inner-hero__inner {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.inner-hero .eyebrow { margin-bottom: 8px; }
.inner-hero__brand {
    color: var(--gold-bright);
    font-family: 'AevoraTrajan', Georgia, serif;
    font-size: 38px;
    letter-spacing: 11px;
}

.inner-hero__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #7e8982;
    font-size: 12px;
}
.inner-hero__meta strong { color: #c0c8c2; font-weight: 500; }

/* Main */
.site-main {
    min-height: 480px;
    padding: 82px 0 110px;
}

.home-section + .home-section {
    margin-top: 104px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 34px;
}

.section-heading h1,
.section-heading h2 {
    margin: 5px 0 0;
    color: #ece9e0;
    font-family: 'AevoraTrajan', Georgia, serif;
    font-weight: 400;
    line-height: 1.15;
}

.section-heading h1 { font-size: clamp(34px, 4vw, 48px); }
.section-heading h2 { font-size: clamp(31px, 3.4vw, 43px); }
.section-heading p { max-width: 650px; margin: 10px 0 0; color: var(--muted); }
.section-heading--compact { align-items: center; margin-bottom: 30px; }
.section-link,
.text-link,
.back-link {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
}
.section-link:hover,
.text-link:hover,
.back-link:hover { color: var(--gold-bright); }
.section-link i,
.text-link i { margin-left: 6px; }

/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.news-card {
    position: relative;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    overflow: hidden;
    border: 1px solid rgba(199,167,101,.14);
    border-radius: 10px;
    background:
        radial-gradient(circle at 100% 0%, rgba(46,154,114,.055), transparent 36%),
        linear-gradient(145deg, rgba(18,25,20,.92), rgba(11,15,12,.96));
    box-shadow: 0 18px 50px rgba(0,0,0,.17);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.news-card:hover {
    transform: translateY(-2px);
    border-color: rgba(199,167,101,.30);
}

.news-card--featured {
    grid-column: span 2;
    min-height: 330px;
    padding: 38px;
    background:
        radial-gradient(circle at 78% 30%, rgba(46,154,114,.075), transparent 35%),
        linear-gradient(135deg, rgba(19,27,21,.97), rgba(10,14,11,.97));
}

.news-card--featured::after {
    content: 'A';
    position: absolute;
    right: 58px;
    bottom: -54px;
    color: rgba(199,167,101,.025);
    font-family: 'AevoraTrajan', Georgia, serif;
    font-size: 270px;
    line-height: 1;
}

.news-card__topline {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(199,167,101,.55), rgba(46,154,114,.38), transparent 72%);
}

.news-card__meta,
.article-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6f7b73;
    font-size: 11px;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    color: var(--gold-bright);
    border: 1px solid rgba(199,167,101,.21);
    border-radius: 999px;
    background: rgba(199,167,101,.05);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.news-card h3 {
    position: relative;
    z-index: 2;
    margin: 21px 0 0;
    color: #e8e6df;
    font-family: 'AevoraTrajan', Georgia, serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.3;
}
.news-card--featured h3 { max-width: 720px; font-size: 33px; }

.news-card p {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 15px 0 28px;
    color: #8b968f;
    line-height: 1.75;
}

.news-card__footer {
    position: relative;
    z-index: 2;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(199,167,101,.10);
    color: #66716a;
    font-size: 11px;
}
.news-card__footer strong { color: #9ca69f; font-weight: 500; }
.news-card__footer a { color: var(--gold); font-weight: 700; }
.news-card__footer a:hover { color: var(--gold-bright); }

/* Ranking overview */
.ranking-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ranking-card,
.data-card,
.settings-card,
.info-card,
.download-hero-card,
.article-card,
.auth-card {
    border: 1px solid rgba(199,167,101,.15);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(17,24,19,.96), rgba(10,14,11,.97));
    box-shadow: var(--shadow);
}

.ranking-card { overflow: hidden; }
.ranking-card__header {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px;
    border-bottom: 1px solid rgba(199,167,101,.11);
    background: rgba(255,255,255,.012);
}
.ranking-card__header > div { display: flex; align-items: center; gap: 14px; }
.ranking-card__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--gold-bright);
    border: 1px solid rgba(199,167,101,.20);
    border-radius: 6px;
    background: rgba(199,167,101,.045);
}
.ranking-card__header small { display: block; color: var(--emerald); font-size: 9px; font-weight: 700; letter-spacing: 1.4px; }
.ranking-card__header h3 { margin: 2px 0 0; font-family: 'AevoraTrajan'; font-size: 19px; font-weight: 400; }
.ranking-card__header > a { color: #7b867f; font-size: 11px; }
.ranking-card__header > a:hover { color: var(--gold-bright); }

.ranking-list { padding: 5px 0; }
.ranking-row {
    min-height: 74px;
    display: grid;
    grid-template-columns: 50px 1fr auto;
    align-items: center;
    gap: 15px;
    padding: 12px 26px;
    border-bottom: 1px solid rgba(255,255,255,.035);
    transition: background .2s ease;
}
.ranking-row:last-child { border-bottom: 0; }
.ranking-row:hover { background: rgba(46,154,114,.035); }
.ranking-position {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #69746d;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 6px;
    font-family: 'AevoraTrajan';
    font-size: 11px;
}
.ranking-position--top { color: var(--gold-bright); border-color: rgba(199,167,101,.21); background: rgba(199,167,101,.04); }
.ranking-identity strong { display: block; color: #d7dcd8; font-size: 13px; font-weight: 600; }
.ranking-identity small { display: block; margin-top: 4px; color: #69746d; font-size: 10px; }
.ranking-value { text-align: right; }
.ranking-value small { display: block; color: #606c64; font-size: 8px; letter-spacing: 1.1px; }
.ranking-value strong { display: block; margin-top: 1px; color: var(--gold-bright); font-family: 'AevoraTrajan'; font-size: 18px; font-weight: 400; }

/* Feature world */
.world-section {
    position: relative;
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 76px;
    align-items: center;
    padding: 62px;
    overflow: hidden;
    border: 1px solid rgba(199,167,101,.14);
    border-radius: 12px;
    background:
        radial-gradient(circle at 18% 50%, rgba(46,154,114,.075), transparent 30%),
        linear-gradient(135deg, #101712 0%, #0a0e0b 100%);
}
.world-section::before {
    content: 'AEVORA';
    position: absolute;
    right: -20px;
    bottom: -23px;
    color: rgba(199,167,101,.018);
    font-family: 'AevoraTrajan';
    font-size: 100px;
    letter-spacing: 18px;
}
.world-section__copy { position: relative; z-index: 2; }
.world-section__copy h2 { margin: 9px 0 17px; font-family: 'AevoraTrajan'; font-size: 38px; font-weight: 400; line-height: 1.22; }
.world-section__copy p { color: var(--muted); line-height: 1.8; }
.world-section__copy .btn { margin-top: 20px; }
.feature-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.feature-card {
    min-height: 148px;
    padding: 24px;
    border: 1px solid rgba(199,167,101,.11);
    border-radius: 8px;
    background: rgba(5,9,7,.35);
}
.feature-card i { color: var(--gold); font-size: 19px; }
.feature-card strong { display: block; margin-top: 16px; color: #dce0dc; font-size: 13px; }
.feature-card span { display: block; margin-top: 6px; color: #6d786f; font-size: 11px; line-height: 1.6; }

.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 38px 42px;
    border-top: 1px solid rgba(199,167,101,.16);
    border-bottom: 1px solid rgba(199,167,101,.16);
    background: linear-gradient(90deg, rgba(199,167,101,.025), rgba(46,154,114,.035), rgba(199,167,101,.025));
}
.cta-banner h2 { margin: 6px 0 0; font-family: 'AevoraTrajan'; font-size: 29px; font-weight: 400; }
.cta-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }

/* Page elements */
.page-section { max-width: 1120px; margin-inline: auto; }
.tab-nav { display: flex; gap: 7px; padding: 5px; border: 1px solid rgba(199,167,101,.12); border-radius: 8px; background: rgba(255,255,255,.015); }
.tab-nav a { padding: 8px 13px; color: #778279; border-radius: 5px; font-size: 11px; font-weight: 700; }
.tab-nav a.is-active { color: #18130b; background: linear-gradient(135deg, #e0c88e, #af8c49); }

.data-card { overflow: hidden; }
.table-wrap { width: 100%; overflow-x: auto; }
.aevora-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.aevora-table th {
    padding: 15px 18px;
    color: #6e7a72;
    border-bottom: 1px solid rgba(199,167,101,.14);
    background: rgba(255,255,255,.012);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-align: left;
    text-transform: uppercase;
}
.aevora-table td { padding: 16px 18px; color: #8e9991; border-bottom: 1px solid rgba(255,255,255,.035); font-size: 12px; }
.aevora-table tr:last-child td { border-bottom: 0; }
.aevora-table tbody tr:hover { background: rgba(46,154,114,.03); }
.aevora-table td strong { color: #d8ddd9; font-weight: 600; }
.table-rank { color: var(--gold); font-family: 'AevoraTrajan'; }
.level-badge { display: inline-flex; padding: 4px 9px; color: var(--gold-bright); border: 1px solid rgba(199,167,101,.16); border-radius: 999px; background: rgba(199,167,101,.04); font-size: 10px; }
.empire { font-size: 10px; font-weight: 700; }
.empire--1 { color: #d16f67; }
.empire--2 { color: #d5b55f; }
.empire--3 { color: #699ad3; }
.pagination-wrap { padding: 22px; border-top: 1px solid rgba(199,167,101,.08); }
.pagination { margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; list-style: none; }
.page-item .page-link { min-width: 34px; height: 34px; padding: 0 9px; display: grid; place-items: center; color: #7d8880; border: 1px solid rgba(199,167,101,.12); border-radius: 5px; background: rgba(255,255,255,.015); font-size: 11px; }
.page-item.active .page-link { color: #17120a; border-color: var(--gold); background: var(--gold); }
.page-item.disabled .page-link { opacity: .35; pointer-events: none; }

/* Events */
.event-grid { display: grid; gap: 14px; }
.event-card {
    position: relative;
    display: grid;
    grid-template-columns: 84px 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 22px 25px;
    border: 1px solid rgba(199,167,101,.13);
    border-radius: 9px;
    background: linear-gradient(145deg, rgba(17,24,19,.93), rgba(10,14,11,.96));
    transition: transform .2s ease, border-color .2s ease;
}
.event-card:hover { transform: translateY(-1px); border-color: rgba(199,167,101,.28); }
.event-card__date { width: 68px; height: 68px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(199,167,101,.2); border-radius: 7px; background: rgba(199,167,101,.035); }
.event-card__date span { color: var(--gold-bright); font-family: 'AevoraTrajan'; font-size: 26px; line-height: 1; }
.event-card__date small { margin-top: 4px; color: #69746d; font-size: 8px; letter-spacing: 1px; }
.event-card__content h3 { margin: 8px 0 5px; color: #dfe3df; font-family: 'AevoraTrajan'; font-size: 19px; font-weight: 400; }
.event-card__content p { margin: 0; color: #778279; font-size: 12px; }
.event-card__content time { display: block; margin-top: 8px; color: #59655d; font-size: 10px; }
.event-card__arrow { color: var(--gold); font-size: 21px; }

/* Download */
.download-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 20px; }
.download-hero-card { position: relative; padding: 42px; overflow: hidden; }
.download-hero-card::after { content: 'A'; position: absolute; right: 25px; bottom: -85px; color: rgba(199,167,101,.022); font-family: 'AevoraTrajan'; font-size: 300px; }
.download-hero-card__icon { position: relative; z-index: 2; width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 25px; color: var(--gold-bright); border: 1px solid rgba(199,167,101,.22); border-radius: 9px; background: rgba(199,167,101,.04); font-size: 24px; }
.download-hero-card h2 { position: relative; z-index: 2; margin: 7px 0 8px; font-family: 'AevoraTrajan'; font-size: 35px; font-weight: 400; }
.download-hero-card > p { position: relative; z-index: 2; max-width: 610px; color: var(--muted); }
.download-options { position: relative; z-index: 2; display: grid; gap: 9px; margin-top: 29px; }
.download-option { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 0 18px; border: 1px solid rgba(199,167,101,.12); border-radius: 7px; background: rgba(255,255,255,.018); transition: border-color .2s ease, background .2s ease; }
.download-option:hover { border-color: rgba(199,167,101,.32); background: rgba(199,167,101,.035); }
.download-option span { display: flex; align-items: center; gap: 12px; }
.download-option i { color: var(--gold); }
.download-option strong { color: #d9ded9; font-size: 12px; }
.download-option em { color: #78837b; font-size: 10px; font-style: normal; }
.download-side { display: grid; gap: 20px; }
.info-card { padding: 28px; }
.info-card > i { color: var(--gold); font-size: 21px; }
.info-card h3 { margin: 17px 0 8px; font-family: 'AevoraTrajan'; font-size: 19px; font-weight: 400; }
.info-card p { color: #79857d; font-size: 12px; line-height: 1.7; }
.info-card .muted { color: #606c64; font-size: 11px; }

/* Auth & forms */
.auth-page { min-height: 510px; display: grid; place-items: start center; padding-top: 10px; }
.auth-page--wide { align-items: start; }
.auth-card { position: relative; width: min(100%, 520px); padding: 42px; overflow: hidden; }
.auth-card--wide { width: min(100%, 760px); }
.auth-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(199,167,101,.65), rgba(46,154,114,.45), transparent); }
.auth-card__ornament { position: absolute; right: 24px; top: -25px; color: rgba(199,167,101,.025); font-family: 'AevoraTrajan'; font-size: 160px; line-height: 1; }
.auth-card h1 { position: relative; z-index: 2; margin: 8px 0 6px; font-family: 'AevoraTrajan'; font-size: 33px; font-weight: 400; }
.auth-card__lead { position: relative; z-index: 2; margin: 0 0 28px; color: #7e8981; }
.form-stack { position: relative; z-index: 2; display: grid; gap: 16px; }
.form-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.form-grid__full { grid-column: 1 / -1; }
.field { display: block; }
.field > span { display: block; margin-bottom: 7px; color: #929d95; font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.field > small { display: block; margin-top: 7px; color: #5f6a62; font-size: 10px; }
.field__control { min-height: 48px; display: flex; align-items: center; gap: 11px; padding: 0 14px; border: 1px solid rgba(199,167,101,.14); border-radius: 7px; background: #0b100d; transition: border-color .2s ease, box-shadow .2s ease; }
.field__control:focus-within { border-color: rgba(46,154,114,.55); box-shadow: 0 0 0 3px rgba(46,154,114,.07); }
.field__control i { width: 15px; color: #647067; text-align: center; }
.field__control input { width: 100%; min-width: 0; color: #dfe3df; background: transparent; border: 0; outline: 0; font-size: 13px; }
.field__control input::placeholder { color: #455048; }
.form-consent { color: #68736b; font-size: 11px; line-height: 1.6; }
.auth-card__links { margin-top: 22px; color: #68736b; font-size: 11px; text-align: center; }
.auth-card__links a { color: var(--gold); }
.auth-card__links span { margin-inline: 8px; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }

/* Account */
.account-summary { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-bottom: 20px; }
.account-summary > div { min-height: 92px; padding: 20px; border: 1px solid rgba(199,167,101,.12); border-radius: 8px; background: rgba(16,22,18,.78); }
.account-summary small { display: block; color: #637068; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }
.account-summary strong { display: block; margin-top: 8px; color: #d9ded9; font-size: 14px; font-weight: 600; word-break: break-word; }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.settings-card { padding: 28px; }
.settings-card__head { display: flex; gap: 14px; margin-bottom: 24px; }
.settings-card__head > i { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(199,167,101,.16); border-radius: 7px; }
.settings-card__head h3 { margin: 1px 0 4px; font-family: 'AevoraTrajan'; font-size: 17px; font-weight: 400; }
.settings-card__head p { margin: 0; color: #657068; font-size: 10px; }
.character-card { margin-top: 20px; padding: 28px; }
.card-heading h2 { margin: 5px 0 20px; font-family: 'AevoraTrajan'; font-size: 24px; font-weight: 400; }
.character-grid { display: grid; gap: 9px; }
.character-item { min-height: 64px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 14px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.045); border-radius: 7px; background: rgba(255,255,255,.012); }
.character-item__icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(199,167,101,.14); border-radius: 50%; font-family: 'AevoraTrajan'; }
.character-item strong { display: block; color: #dbe0dc; font-size: 12px; }
.character-item small { display: block; margin-top: 3px; color: #657068; font-size: 9px; }

/* Article / credits */
.article-page { max-width: 900px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.article-card { padding: 44px; }
.article-card h1 { margin: 16px 0 26px; color: #e7e5de; font-family: 'AevoraTrajan'; font-size: clamp(32px,4vw,47px); font-weight: 400; line-height: 1.2; }
.article-card__body { color: #9aa49d; font-size: 14px; line-height: 1.9; }
.article-card__body--preline { white-space: pre-line; }
.article-intro { max-width: 720px; color: #939e96; font-size: 15px; line-height: 1.8; }
.credits-grid { display: grid; gap: 12px; margin-top: 34px; }
.credit-person { padding: 22px 24px; border: 1px solid rgba(199,167,101,.11); border-radius: 7px; background: rgba(255,255,255,.012); }
.credit-person > span { color: var(--emerald); font-size: 8px; font-weight: 700; letter-spacing: 1.6px; }
.credit-person strong { display: block; margin-top: 6px; color: var(--gold-bright); font-family: 'AevoraTrajan'; font-size: 19px; font-weight: 400; }
.credit-person p { margin: 6px 0 0; color: #778279; font-size: 12px; }
.credit-person--aevora { border-color: rgba(46,154,114,.20); }
.credits-note { display: flex; gap: 14px; margin-top: 24px; padding: 18px; border-left: 2px solid var(--gold); background: rgba(199,167,101,.035); }
.credits-note i { margin-top: 3px; color: var(--gold); }
.credits-note p { margin: 0; color: #78837b; font-size: 11px; line-height: 1.7; }

/* Empty */
.empty-state { grid-column: 1 / -1; min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 38px; text-align: center; border: 1px dashed rgba(199,167,101,.17); border-radius: 9px; background: rgba(255,255,255,.01); }
.empty-state i { color: var(--gold); font-size: 26px; }
.empty-state h3 { margin: 16px 0 5px; font-family: 'AevoraTrajan'; font-size: 20px; font-weight: 400; }
.empty-state p { max-width: 440px; margin: 0; color: #66726a; font-size: 11px; }
.empty-inline { color: #66726a; font-size: 11px; }
.muted { color: var(--muted-2); }

/* Flash */
.flash-wrap { margin-top: 22px; }
.flash { padding: 14px 17px; color: #cbd2cc; border: 1px solid rgba(199,167,101,.18); border-radius: 7px; background: rgba(16,22,18,.95); font-size: 12px; box-shadow: 0 12px 35px rgba(0,0,0,.18); }
.flash ul { margin: 8px 0 0; padding-left: 18px; }
.flash--success { border-color: rgba(77,155,117,.40); background: rgba(14,39,29,.92); }
.flash--error { border-color: rgba(181,88,79,.45); background: rgba(47,21,19,.92); }
.flash--warning { border-color: rgba(199,167,101,.45); background: rgba(45,35,17,.92); }

/* Footer */
.site-footer { padding: 64px 0 24px; border-top: 1px solid rgba(199,167,101,.13); background: #070908; }
.site-footer__grid { display: grid; grid-template-columns: 1.7fr .7fr .7fr .9fr; gap: 50px; }
.brand--footer .brand__name { font-size: 22px; }
.site-footer__brand p { max-width: 410px; margin: 18px 0 0; color: #5f6a63; font-size: 11px; line-height: 1.8; }
.site-footer__links h4,
.site-footer__status h4 { margin: 0 0 16px; color: #a9b2ac; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; }
.site-footer__links { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer__links a { margin: 4px 0; color: #68736b; font-size: 11px; }
.site-footer__links a:hover { color: var(--gold); }
.site-footer__status > div { display: flex; align-items: center; gap: 9px; color: #9aa49e; font-size: 12px; }
.site-footer__status small { display: block; margin-top: 8px; color: #566159; font-size: 10px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 48px; padding-top: 22px; color: #49534c; border-top: 1px solid rgba(255,255,255,.035); font-size: 9px; }
.site-footer__bottom a { color: #727d75; }

.discord-fab { position: fixed; z-index: 950; right: 22px; bottom: 22px; width: 48px; height: 48px; display: grid; place-items: center; color: var(--gold-bright); border: 1px solid rgba(199,167,101,.25); border-radius: 50%; background: rgba(12,17,14,.94); box-shadow: 0 14px 40px rgba(0,0,0,.45); transition: transform .2s ease, border-color .2s ease; }
.discord-fab:hover { transform: translateY(-2px); border-color: rgba(199,167,101,.55); }

/* Responsive */
/* Compact desktop/laptop viewport: keeps 100% browser zoom while fitting 1366x768 / 1280x800 naturally. */
@media (min-width: 1121px) and (max-width: 1500px) and (max-height: 850px) {
    .site-header,
    .site-header__inner { min-height: 64px; }

    .site-header__inner { gap: 28px; }
    .brand__name { font-size: 22px; letter-spacing: 6px; }
    .brand__tagline { margin-top: 5px; font-size: 6px; letter-spacing: 4px; }
    .main-nav { gap: 25px; }
    .main-nav a { font-size: 12px; }
    .main-nav a::after { bottom: -23px; }
    .account-actions__login,
    .account-actions__admin,
    .logout-form button { font-size: 12px; }
    .btn--small { min-height: 34px; padding-inline: 14px; font-size: 11px; }

    .hero { min-height: 414px; }
    .hero__inner {
        min-height: 414px;
        grid-template-columns: minmax(0, 1.08fr) minmax(370px, .92fr);
        gap: 34px;
        padding-block: 24px 22px;
    }
    .hero__copy { max-width: 610px; }
    .eyebrow { margin-bottom: 13px; font-size: 8px; letter-spacing: 2.3px; }
    .eyebrow > span { width: 27px; }
    .hero h1 {
        max-width: 590px;
        font-size: clamp(56px, 4.55vw, 64px);
        line-height: 1.00;
        letter-spacing: -1.5px;
    }
    .hero__lead {
        max-width: 560px;
        margin-top: 15px;
        font-size: 14px;
        line-height: 1.65;
    }
    .hero__actions { margin-top: 19px; gap: 10px; }
    .hero__actions .btn--large { min-height: 44px; padding-inline: 21px; font-size: 11px; }
    .hero__status { margin-top: 19px; gap: 10px; font-size: 10px; }

    .hero__art {
        width: min(100%, 455px);
        min-height: 414px;
    }
    .hero__keyart {
        width: min(100%, 430px);
        transform: translate(10px, 4px);
        filter: drop-shadow(0 24px 56px rgba(0,0,0,.28));
    }
    @keyframes hero-keyart-float {
        0% { transform: translate(10px, 4px); }
        50% { transform: translate(10px, -3px); }
        100% { transform: translate(10px, 4px); }
    }

    .server-stat { min-height: 72px; padding: 12px 20px; gap: 12px; }
    .server-stat__icon { width: 34px; height: 34px; }
    .server-stat small { font-size: 8px; }
    .server-stat strong { font-size: 18px; }
}

/* Extra-short laptop screens (e.g. 1280x720). */
@media (min-width: 1121px) and (max-height: 720px) {
    .hero { min-height: 376px; }
    .hero__inner { min-height: 376px; padding-block: 18px 16px; }
    .hero h1 { font-size: clamp(50px, 4.15vw, 58px); }
    .hero__lead { margin-top: 12px; font-size: 13px; }
    .hero__actions { margin-top: 15px; }
    .hero__status { margin-top: 14px; }
    .hero__art { width: min(100%, 410px); min-height: 376px; }
    .hero__keyart { width: min(100%, 390px); }
    .server-stat { min-height: 66px; padding-block: 9px; }
}

@media (max-width: 1120px) {
    .site-header__inner { grid-template-columns: auto auto 1fr auto; gap: 20px; }
    .nav-toggle { display: block; grid-column: 2; }
    .main-nav { position: absolute; top: 78px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 24px 22px; border-bottom: 1px solid var(--line); background: rgba(8,11,9,.98); box-shadow: 0 22px 50px rgba(0,0,0,.42); }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,.035); }
    .main-nav a::after { display: none; }
    .account-actions { grid-column: 4; }
    .hero__inner { grid-template-columns: 1fr .78fr; gap: 18px; }
    .hero__art { opacity: .9; }
    .hero__keyart { width: min(100%, 500px); transform: translate(8px, 4px); }
    .world-section { grid-template-columns: 1fr; gap: 40px; }
    .site-footer__grid { grid-template-columns: 1.4fr .6fr .6fr; }
    .site-footer__status { display: none; }
}

@media (max-width: 880px) {
    .shell { width: min(calc(100% - 30px), var(--shell)); }
    .site-header__inner { width: calc(100% - 30px); }
    .account-actions .btn--small { display: none; }
    .account-actions__admin { display: none; }
    .hero { min-height: 500px; }
    .hero__inner { min-height: 500px; grid-template-columns: 1fr; padding-block: 54px; }
    .hero__copy { max-width: 720px; }
    .hero__art { position: absolute; right: -105px; top: 14px; width: 470px; min-height: auto; opacity: .26; z-index: -1; }
    .hero__art--keyart::after { right: 16%; bottom: 18%; width: 46%; }
    .hero__keyart { width: min(100%, 450px); transform: translate(0, 0); }
    .server-strip__grid { grid-template-columns: repeat(2, 1fr); }
    .server-stat:nth-child(2) { border-right: 0; }
    .server-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(199,167,101,.12); }
    .news-grid { grid-template-columns: 1fr; }
    .news-card--featured { grid-column: span 1; }
    .ranking-panels { grid-template-columns: 1fr; }
    .world-section { padding: 38px 30px; }
    .download-layout { grid-template-columns: 1fr; }
    .account-summary { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .account-grid { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
    .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
    .site-header { min-height: 68px; }
    .site-header__inner { min-height: 68px; grid-template-columns: auto 1fr auto; }
    .brand__name { font-size: 19px; letter-spacing: 5px; }
    .brand__tagline { display: none; }
    .nav-toggle { grid-column: 3; grid-row: 1; width: 38px; height: 38px; justify-self: end; }
    .account-actions { display: none; }
    .main-nav { top: 68px; }
    .hero { min-height: 510px; }
    .hero__inner { min-height: 510px; padding-block: 52px; }
    .hero h1 { font-size: 46px; letter-spacing: -1px; }
    .hero__lead { font-size: 14px; }
    .hero__actions { display: grid; grid-template-columns: 1fr; }
    .hero__actions .btn { width: 100%; }
    .hero__status { gap: 9px; }
    .hero__status-separator { display: none; }
    .hero__art { right: -205px; top: 44px; width: 430px; }
    .hero__art--keyart::before { inset: 10% 5% 15% 20%; }
    .hero__art--keyart::after { display: none; }
    .hero__keyart { width: min(100%, 420px); transform: translate(0, 0); }
    .server-strip__grid { grid-template-columns: 1fr 1fr; }
    .server-stat { min-height: 90px; padding: 18px 15px; gap: 11px; }
    .server-stat__icon { width: 34px; height: 34px; }
    .server-stat strong { font-size: 17px; }
    .server-stat small { font-size: 8px; }
    .inner-hero__inner { min-height: 135px; }
    .inner-hero__brand { font-size: 26px; letter-spacing: 7px; }
    .inner-hero__meta { display: none; }
    .site-main { padding: 58px 0 80px; }
    .home-section + .home-section { margin-top: 74px; }
    .section-heading { display: block; }
    .section-heading .section-link { display: inline-block; margin-top: 15px; }
    .section-heading h1 { font-size: 35px; }
    .section-heading h2 { font-size: 31px; }
    .section-heading--compact .tab-nav { margin-top: 20px; width: max-content; }
    .news-card,
    .news-card--featured { min-height: 0; padding: 25px 22px; }
    .news-card--featured h3 { font-size: 27px; }
    .news-card__footer { align-items: flex-end; }
    .news-card__footer > span { display: none; }
    .ranking-card__header { padding: 19px; }
    .ranking-card__header > a { display: none; }
    .ranking-row { grid-template-columns: 42px 1fr auto; gap: 10px; padding: 12px 17px; }
    .ranking-value strong { font-size: 15px; }
    .world-section { padding: 30px 22px; }
    .world-section__copy h2 { font-size: 30px; }
    .feature-grid { grid-template-columns: 1fr; }
    .cta-banner { display: block; padding: 28px 22px; }
    .cta-banner h2 { font-size: 25px; }
    .cta-banner__actions { margin-top: 22px; display: grid; }
    .event-card { grid-template-columns: 62px 1fr; gap: 14px; padding: 17px; }
    .event-card__date { width: 58px; height: 58px; }
    .event-card__arrow { display: none; }
    .download-hero-card { padding: 28px 22px; }
    .download-option { align-items: flex-start; flex-direction: column; gap: 4px; padding: 13px 15px; }
    .auth-card,
    .auth-card--wide { padding: 31px 22px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid__full { grid-column: auto; }
    .account-summary { grid-template-columns: 1fr; }
    .settings-card { padding: 23px 19px; }
    .article-card { padding: 30px 22px; }
    .article-card h1 { font-size: 34px; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
    .site-footer__bottom { display: block; }
    .site-footer__bottom span { display: block; margin-top: 5px; }
    .discord-fab { right: 15px; bottom: 15px; }
}

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


/* =========================================================
   AEVORA V3 — AUTH / ACCOUNT EXPERIENCE
   ========================================================= */
.auth-experience {
    display: grid;
    grid-template-columns: minmax(300px, .82fr) minmax(420px, 1.18fr);
    max-width: 1060px;
    margin: -18px auto 0;
    overflow: hidden;
    border: 1px solid rgba(199,167,101,.16);
    border-radius: 14px;
    background: #0c110e;
    box-shadow: 0 34px 90px rgba(0,0,0,.48);
}
.auth-experience--register { max-width: 1160px; grid-template-columns: minmax(330px,.76fr) minmax(540px,1.24fr); }
.auth-story {
    position: relative;
    min-height: 590px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 52px 46px 34px;
    overflow: hidden;
    border-right: 1px solid rgba(199,167,101,.12);
    background:
        radial-gradient(circle at 18% 10%, rgba(46,154,114,.13), transparent 32%),
        radial-gradient(circle at 85% 75%, rgba(199,167,101,.08), transparent 35%),
        linear-gradient(145deg, #111a15 0%, #0a0f0c 65%, #080b09 100%);
}
.auth-story::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 49.8%, rgba(199,167,101,.035) 50%, transparent 50.2%);
    background-size: 36px 36px;
    opacity: .55;
}
.auth-story::after {
    content: '';
    position: absolute;
    width: 330px;
    height: 330px;
    left: -165px;
    bottom: -180px;
    border: 1px solid rgba(199,167,101,.08);
    border-radius: 50%;
    box-shadow: 0 0 0 35px rgba(199,167,101,.018), 0 0 0 70px rgba(46,154,114,.012);
}
.auth-story__mark {
    position: absolute;
    right: -18px;
    top: -56px;
    color: rgba(199,167,101,.035);
    font-family: 'AevoraTrajan';
    font-size: 245px;
    line-height: 1;
}
.auth-story__mark i { font-size: 160px; }
.auth-story__content,
.auth-story__footer { position: relative; z-index: 2; }
.auth-story__content h1 {
    margin: 13px 0 17px;
    color: #eee9df;
    font-family: 'AevoraTrajan';
    font-size: clamp(38px,4vw,54px);
    font-weight: 400;
    line-height: 1.08;
}
.auth-story__content h1 em { color: var(--gold-bright); font-style: normal; }
.auth-story__content > p { max-width: 410px; margin: 0; color: #7f8b83; font-size: 13px; line-height: 1.85; }
.auth-story__features { display: grid; gap: 14px; margin-top: 38px; }
.auth-story__features > div { display: grid; grid-template-columns: 38px 1fr; align-items: start; gap: 13px; }
.auth-story__features > div > i { width: 38px; height: 38px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(199,167,101,.15); border-radius: 7px; background: rgba(199,167,101,.025); }
.auth-story__features strong,
.auth-story__features small { display: block; }
.auth-story__features strong { color: #cbd2cc; font-size: 11px; font-weight: 600; }
.auth-story__features small { margin-top: 2px; color: #657169; font-size: 9px; line-height: 1.55; }
.auth-story__footer { display: flex; align-items: center; gap: 8px; padding-top: 22px; color: #657168; border-top: 1px solid rgba(255,255,255,.045); font-size: 10px; }
.auth-story__footer i { color: var(--gold); }
.auth-form-panel { position: relative; padding: 54px 58px; background: linear-gradient(145deg, rgba(15,21,17,.98), rgba(9,13,10,.99)); }
.auth-form-panel::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(46,154,114,.45), rgba(199,167,101,.55), transparent 76%); }
.auth-form-panel--register { padding: 48px 54px; }
.auth-form-panel__head { margin-bottom: 30px; }
.auth-form-panel__eyebrow { color: var(--emerald); font-size: 9px; font-weight: 700; letter-spacing: 1.8px; }
.auth-form-panel__head h2 { margin: 6px 0 5px; color: #ece9e1; font-family: 'AevoraTrajan'; font-size: 34px; font-weight: 400; }
.auth-form-panel__head p { margin: 0; color: #6f7b73; font-size: 11px; }
.form-stack--roomy { gap: 19px; }
.field__control--large { min-height: 54px; }
.field__control { position: relative; }
.password-toggle { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; padding: 0; color: #58645c; border: 0; border-radius: 5px; background: transparent; cursor: pointer; transition: color .2s ease, background .2s ease; }
.password-toggle:hover { color: var(--gold-bright); background: rgba(199,167,101,.05); }
.password-toggle i { width: auto; color: inherit; }
.auth-inline-link { margin-top: -8px; text-align: right; }
.auth-inline-link a { color: #8e998f; font-size: 10px; }
.auth-inline-link span { margin: 0 7px; color: rgba(198,161,91,.45); font-size: 9px; }
.auth-inline-link a:hover { color: var(--gold-bright); }
.auth-submit { min-height: 54px; letter-spacing: .25px; }
.auth-submit i { margin-right: 7px; }
.auth-switch { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 26px; padding-top: 22px; color: #5d6961; border-top: 1px solid rgba(255,255,255,.045); font-size: 10px; }
.auth-switch a { color: var(--gold); font-weight: 700; }
.auth-switch a:hover { color: var(--gold-bright); }
.auth-notice { display: flex; gap: 11px; margin-top: 22px; padding: 14px 15px; color: #6e7a72; border: 1px solid rgba(46,154,114,.12); border-radius: 7px; background: rgba(46,154,114,.025); font-size: 9px; line-height: 1.65; }
.auth-notice i { margin-top: 3px; color: var(--emerald); }

.register-guide { display: grid; gap: 18px; margin-top: 42px; }
.register-guide__item { display: grid; grid-template-columns: 38px 1fr; gap: 13px; align-items: start; }
.register-guide__item > span { width: 34px; height: 34px; display: grid; place-items: center; color: var(--gold-bright); border: 1px solid rgba(199,167,101,.18); border-radius: 50%; font-family: 'AevoraTrajan'; font-size: 9px; }
.register-guide__item strong,
.register-guide__item small { display: block; }
.register-guide__item strong { color: #c7cec8; font-size: 11px; }
.register-guide__item small { margin-top: 3px; color: #606d64; font-size: 9px; line-height: 1.55; }
.register-form { display: grid; gap: 22px; }
.form-section { padding: 22px; border: 1px solid rgba(199,167,101,.10); border-radius: 8px; background: rgba(255,255,255,.012); }
.form-section--final { border-color: rgba(46,154,114,.13); background: rgba(46,154,114,.018); }
.form-section__heading { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.form-section__heading > span { width: 30px; height: 30px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(199,167,101,.15); border-radius: 6px; font-family: 'AevoraTrajan'; font-size: 8px; }
.form-section__heading strong,
.form-section__heading small { display: block; }
.form-section__heading strong { color: #d0d6d1; font-size: 11px; }
.form-section__heading small { margin-top: 1px; color: #626e66; font-size: 9px; }
.consent-card { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; padding: 14px 15px; color: #707b73; border: 1px solid rgba(199,167,101,.09); border-radius: 7px; background: rgba(199,167,101,.018); font-size: 9px; line-height: 1.55; }
.consent-card__icon { width: 34px; height: 34px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(199,167,101,.12); border-radius: 6px; }
.password-meter { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; align-items: center; }
.password-meter > span { height: 3px; border-radius: 999px; background: #202821; transition: background .2s ease, box-shadow .2s ease; }
.password-meter small { grid-column: 1 / -1; color: #566159; font-size: 8px; letter-spacing: .5px; }
.password-meter[data-strength="1"] span:nth-child(-n+1) { background: #9d4f48; }
.password-meter[data-strength="2"] span:nth-child(-n+2) { background: #a9814f; }
.password-meter[data-strength="3"] span:nth-child(-n+3) { background: var(--gold); }
.password-meter[data-strength="4"] span:nth-child(-n+4) { background: var(--emerald); box-shadow: 0 0 8px rgba(46,154,114,.25); }
.security-steps { display: grid; gap: 14px; margin-top: 38px; }
.security-steps > div { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.security-steps > div > span { width: 32px; height: 32px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(199,167,101,.16); border-radius: 50%; font-family: 'AevoraTrajan'; font-size: 9px; }
.security-steps p { margin: 0; }
.security-steps strong,
.security-steps small { display: block; }
.security-steps strong { color: #c8d0c9; font-size: 10px; }
.security-steps small { margin-top: 3px; color: #647068; font-size: 9px; line-height: 1.5; }

/* Account dashboard */
.account-dashboard { display: grid; gap: 20px; }
.account-hero-card { position: relative; min-height: 148px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px 32px; overflow: hidden; border: 1px solid rgba(199,167,101,.15); border-radius: 11px; background: radial-gradient(circle at 12% 30%, rgba(46,154,114,.075), transparent 28%), linear-gradient(145deg, rgba(18,25,20,.98), rgba(9,13,10,.98)); box-shadow: var(--shadow); }
.account-hero-card::after { content: 'A'; position: absolute; right: 90px; bottom: -95px; color: rgba(199,167,101,.025); font-family: 'AevoraTrajan'; font-size: 260px; }
.account-hero-card__identity,
.account-hero-card__status { position: relative; z-index: 2; display: flex; align-items: center; }
.account-hero-card__identity { gap: 19px; }
.account-avatar { width: 70px; height: 70px; display: grid; place-items: center; color: var(--gold-bright); border: 1px solid rgba(199,167,101,.24); border-radius: 50%; background: radial-gradient(circle, rgba(199,167,101,.08), rgba(46,154,114,.02)); font-family: 'AevoraTrajan'; font-size: 28px; box-shadow: inset 0 0 0 6px rgba(255,255,255,.015); }
.account-hero-card h1 { margin: 2px 0 0; font-family: 'AevoraTrajan'; font-size: 30px; font-weight: 400; }
.account-hero-card p { margin: 4px 0 0; color: #6c7870; font-size: 10px; }
.account-hero-card__status { gap: 12px; }
.account-status { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(46,154,114,.18); border-radius: 999px; color: #7caf97; background: rgba(46,154,114,.035); font-size: 9px; font-weight: 700; letter-spacing: .3px; }
.account-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.account-metrics article { min-height: 88px; display: flex; align-items: center; gap: 13px; padding: 17px 18px; border: 1px solid rgba(199,167,101,.10); border-radius: 8px; background: rgba(15,21,17,.82); }
.account-metric__icon { width: 37px; height: 37px; flex: 0 0 37px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(199,167,101,.12); border-radius: 7px; background: rgba(199,167,101,.025); }
.account-metrics small,
.account-metrics strong { display: block; }
.account-metrics small { color: #5f6b63; font-size: 8px; letter-spacing: .8px; text-transform: uppercase; }
.account-metrics strong { max-width: 190px; margin-top: 3px; overflow: hidden; color: #d5dbd6; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(260px,.6fr); gap: 20px; }
.dashboard-card { padding: 27px; border: 1px solid rgba(199,167,101,.13); border-radius: 10px; background: linear-gradient(145deg,rgba(17,24,19,.95),rgba(10,14,11,.97)); box-shadow: 0 20px 55px rgba(0,0,0,.24); }
.dashboard-card__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.dashboard-card__head h2 { margin: 4px 0 2px; font-family: 'AevoraTrajan'; font-size: 22px; font-weight: 400; }
.dashboard-card__head p { margin: 0; color: #626e66; font-size: 9px; }
.dashboard-card__head--small > i { color: var(--gold); font-size: 22px; }
.dashboard-card__count { color: #768179; font-family: 'AevoraTrajan'; font-size: 12px; }
.character-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.character-profile { position: relative; padding: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.05); border-radius: 8px; background: rgba(255,255,255,.012); }
.character-profile::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold-dim); }
.empire-card--1::before { background: #9e5449; }
.empire-card--2::before { background: #b28c52; }
.empire-card--3::before { background: #4b7395; }
.character-profile__top { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 11px; }
.character-profile__avatar { width: 38px; height: 38px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(199,167,101,.13); border-radius: 50%; font-family: 'AevoraTrajan'; font-size: 13px; }
.character-profile__identity strong,
.character-profile__identity span { display: block; }
.character-profile__identity strong { color: #d8ded9; font-size: 11px; }
.character-profile__identity span { color: #647068; font-size: 8px; }
.character-profile__meta { display: flex; gap: 16px; margin-top: 13px; padding-top: 11px; color: #5e6a62; border-top: 1px solid rgba(255,255,255,.035); font-size: 8px; }
.character-profile__meta i { margin-right: 4px; color: #7a867e; }
.character-profile__action { margin-top: 11px; }
.character-profile__action button { padding: 0; color: #68746c; border: 0; background: transparent; font-size: 8px; cursor: pointer; }
.character-profile__action button:hover { color: var(--gold-bright); }
.security-overview { height: 100%; }
.security-score { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 15px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04); }
.security-score__ring { width: 58px; height: 58px; display: grid; place-items: center; border: 2px solid rgba(46,154,114,.35); border-radius: 50%; box-shadow: inset 0 0 25px rgba(46,154,114,.06); }
.security-score__ring span { color: #63b28f; font-family: 'AevoraTrajan'; font-size: 10px; }
.security-score strong { color: #cbd2cc; font-size: 10px; }
.security-score p { margin: 3px 0 0; color: #5f6b63; font-size: 8px; line-height: 1.55; }
.security-checks { display: grid; gap: 9px; margin: 17px 0 0; padding: 0; list-style: none; color: #738078; font-size: 9px; }
.security-checks i { width: 16px; color: var(--emerald); }
.security-settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.settings-card--premium { padding: 28px; }
.settings-card__icon { width: 45px; height: 45px; flex: 0 0 45px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(199,167,101,.16); border-radius: 8px; background: rgba(199,167,101,.025); }
.settings-card--premium .settings-card__head > div { min-width: 0; }
.settings-card--premium .settings-card__head > i { display: none; }
.current-value { margin: -4px 0 18px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.04); border-radius: 7px; background: rgba(255,255,255,.012); }
.current-value small,
.current-value strong { display: block; }
.current-value small { color: #5c6860; font-size: 8px; text-transform: uppercase; letter-spacing: .8px; }
.current-value strong { margin-top: 3px; overflow: hidden; color: #9aa59d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.account-danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; border: 1px solid rgba(181,88,79,.12); border-radius: 8px; background: rgba(181,88,79,.018); }
.account-danger-zone > div { display: flex; align-items: center; gap: 13px; }
.account-danger-zone > div > i { color: #9a625b; }
.account-danger-zone strong,
.account-danger-zone small { display: block; }
.account-danger-zone strong { color: #b8beb9; font-size: 10px; }
.account-danger-zone small { color: #626d65; font-size: 8px; }
.empty-state--compact { min-height: 180px; }

@media (max-width: 980px) {
    .auth-experience,
    .auth-experience--register { grid-template-columns: 1fr; max-width: 720px; }
    .auth-story { min-height: auto; padding: 38px 38px 30px; border-right: 0; border-bottom: 1px solid rgba(199,167,101,.12); }
    .auth-story__features,
    .register-guide,
    .security-steps { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .auth-story__footer { margin-top: 30px; }
    .auth-form-panel,
    .auth-form-panel--register { padding: 42px 38px; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .account-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 680px) {
    .auth-story { padding: 32px 24px 26px; }
    .auth-story__content h1 { font-size: 38px; }
    .auth-story__features,
    .register-guide,
    .security-steps { grid-template-columns: 1fr; }
    .auth-form-panel,
    .auth-form-panel--register { padding: 34px 22px; }
    .auth-experience { margin-top: -28px; border-radius: 10px; }
    .form-section { padding: 18px 15px; }
    .account-hero-card { align-items: flex-start; flex-direction: column; padding: 24px 20px; }
    .account-hero-card__status { width: 100%; justify-content: space-between; }
    .account-avatar { width: 56px; height: 56px; font-size: 21px; }
    .account-hero-card h1 { font-size: 24px; }
    .account-metrics { grid-template-columns: 1fr; }
    .character-cards,
    .security-settings-grid { grid-template-columns: 1fr; }
    .dashboard-card,
    .settings-card--premium { padding: 22px 17px; }
    .account-danger-zone { align-items: flex-start; flex-direction: column; }
    .auth-switch { flex-wrap: wrap; }
}

/* =========================================================
   AEVORA — UNIVERSAL VIEWPORT FIT
   Fluid desktop + laptop + tablet + mobile calibration.
   Keeps browser zoom at 100% and adapts typography/spacing.
   ========================================================= */

/* Mid/large desktop: 1600x900, 1680x1050, 1536x864, etc. */
@media (min-width: 1501px) and (max-width: 1799px) {
    :root { --shell: 1180px; }

    .site-header,
    .site-header__inner { min-height: 72px; }
    .site-header__inner { width: min(calc(100% - 44px), 1290px); gap: 32px; }
    .brand__name { font-size: 24px; letter-spacing: 6.5px; }
    .main-nav { gap: 29px; }
    .main-nav a { font-size: 12px; }

    .hero__inner {
        min-height: clamp(470px, 55vh, 540px);
        grid-template-columns: minmax(0, 1.06fr) minmax(430px, .94fr);
        gap: 44px;
        padding-block: 42px 38px;
    }
    .hero h1 { font-size: clamp(62px, 4.5vw, 74px); }
    .hero__lead { margin-top: 21px; font-size: 15px; }
    .hero__actions { margin-top: 25px; }
    .hero__status { margin-top: 25px; }
    .hero__art { width: min(100%, 540px); min-height: clamp(470px, 55vh, 540px); }
    .hero__keyart { width: min(100%, 510px); }

    .site-main { padding-top: 72px; padding-bottom: 92px; }
    .home-section + .home-section { margin-top: 92px; }
    .section-heading { margin-bottom: 28px; }
    .world-section { padding: 44px; gap: 46px; }
    .site-footer { padding-top: 54px; }
}

/* Universal short-desktop fit: catches 1600x768, 1440x810, 1366x768, etc. */
@media (min-width: 1121px) and (max-height: 900px) {
    .site-main { padding-top: 58px; padding-bottom: 76px; }
    .home-section + .home-section { margin-top: 76px; }
    .section-heading { margin-bottom: 24px; }
    .section-heading h1 { font-size: clamp(34px, 3vw, 44px); }
    .section-heading h2 { font-size: clamp(30px, 2.65vw, 39px); }
    .section-heading p { font-size: 13px; line-height: 1.7; }

    .news-card { padding: 26px; }
    .news-card--featured h3 { font-size: 29px; }
    .news-card p { font-size: 12px; line-height: 1.7; }

    .ranking-card__header { padding: 20px 22px; }
    .ranking-row { min-height: 60px; padding-inline: 20px; }

    .world-section { padding: 36px; gap: 38px; }
    .world-section__copy h2 { font-size: 34px; }
    .cta-banner { padding: 31px 34px; }
    .cta-banner h2 { font-size: 27px; }

    .auth-experience { margin-top: -8px; }
    .auth-story { min-height: 520px; }
    .auth-card,
    .auth-card--wide { padding-top: 34px; padding-bottom: 34px; }

    .site-footer { padding-top: 48px; }
    .site-footer__bottom { margin-top: 34px; }
}

/* Smaller desktop / compact notebooks: 1280 widths, 1280x720, 1280x800, etc. */
@media (min-width: 1121px) and (max-width: 1279px) {
    :root { --shell: 1040px; }
    .shell { width: min(calc(100% - 36px), var(--shell)); }
    .site-header__inner { width: min(calc(100% - 36px), 1120px); gap: 22px; }

    .brand__name { font-size: 20px; letter-spacing: 5.5px; }
    .brand__tagline { font-size: 6px; letter-spacing: 3.2px; }
    .main-nav { gap: 19px; }
    .main-nav a { font-size: 11px; }
    .account-actions { gap: 10px; }

    .hero__inner {
        grid-template-columns: minmax(0, 1.10fr) minmax(320px, .90fr);
        gap: 24px;
    }
    .hero h1 { font-size: clamp(49px, 4.35vw, 57px); }
    .hero__lead { max-width: 510px; font-size: 13px; }
    .hero__art { width: min(100%, 390px); }
    .hero__keyart { width: min(100%, 370px); }

    .server-stat { padding-inline: 15px; }
    .server-stat__icon { width: 32px; height: 32px; }

    .news-card { padding: 23px; }
    .ranking-panels { gap: 18px; }
    .world-section { padding: 31px; gap: 30px; }

    .auth-experience,
    .auth-experience--register { width: min(100%, 1010px); }
}

/* Tablet / small notebook: tune existing breakpoint rather than shrinking browser zoom. */
@media (min-width: 881px) and (max-width: 1120px) {
    .shell { width: min(calc(100% - 38px), 980px); }
    body { font-size: 14px; }

    .hero h1 { font-size: clamp(48px, 6.1vw, 64px); }
    .hero__lead { max-width: 580px; font-size: 14px; }
    .hero__art { width: 450px; }
    .hero__keyart { width: 430px; }

    .site-main { padding-top: 62px; padding-bottom: 78px; }
    .home-section + .home-section { margin-top: 72px; }
    .section-heading h1 { font-size: clamp(33px, 4.3vw, 43px); }
    .section-heading h2 { font-size: clamp(29px, 3.7vw, 38px); }

    .world-section { padding: 34px; }
    .site-footer { padding-top: 48px; }
}

/* Landscape tablets / 768-ish widths. */
@media (min-width: 621px) and (max-width: 880px) {
    body { font-size: 14px; }
    .hero h1 { font-size: clamp(43px, 7.2vw, 57px); }
    .hero__lead { max-width: 540px; font-size: 13px; }
    .hero__copy { max-width: 620px; }

    .site-main { padding-top: 54px; padding-bottom: 70px; }
    .home-section + .home-section { margin-top: 62px; }
    .section-heading h1 { font-size: clamp(31px, 5vw, 40px); }
    .section-heading h2 { font-size: clamp(28px, 4.4vw, 36px); }

    .news-card { padding: 22px; }
    .world-section { padding: 30px 26px; }
    .cta-banner { padding: 28px 26px; }

    .auth-card,
    .auth-card--wide { padding: 30px 25px; }
    .site-footer { padding-top: 44px; }
}

/* Mobile: fluid type + tighter rhythm, no browser zoom needed. */
@media (max-width: 620px) {
    body { font-size: 13px; }
    .shell { width: min(calc(100% - 24px), var(--shell)); }

    .hero h1 { font-size: clamp(38px, 12vw, 48px); }
    .hero__lead { font-size: clamp(12px, 3.6vw, 14px); line-height: 1.65; }
    .eyebrow,
    .section-kicker { font-size: 8px; letter-spacing: 2px; }

    .site-main { padding-top: 48px; padding-bottom: 62px; }
    .home-section + .home-section { margin-top: 56px; }
    .section-heading h1 { font-size: clamp(29px, 9vw, 36px); }
    .section-heading h2 { font-size: clamp(27px, 8vw, 33px); }
    .section-heading p { font-size: 12px; }

    .news-card { padding: 19px; }
    .news-card h3,
    .news-card--featured h3 { font-size: clamp(20px, 6.4vw, 27px); }
    .news-card p { font-size: 12px; }

    .ranking-card__header { padding: 18px; }
    .ranking-row { padding-inline: 16px; }

    .world-section { padding: 27px 20px; }
    .world-section__copy h2 { font-size: clamp(27px, 8vw, 32px); }
    .cta-banner { padding: 25px 20px; }
    .cta-banner h2 { font-size: clamp(23px, 7vw, 28px); }

    .auth-card,
    .auth-card--wide { padding: 27px 19px; }
    .auth-card h1 { font-size: clamp(28px, 8vw, 34px); }

    .site-footer { padding-top: 38px; }
    .site-footer__bottom { margin-top: 30px; }
}

/* Very small phones. */
@media (max-width: 420px) {
    .shell { width: calc(100% - 20px); }
    .brand__name { font-size: 17px; letter-spacing: 4px; }
    .hero h1 { font-size: clamp(34px, 11vw, 42px); }
    .hero__actions .btn { min-height: 43px; }
    .server-stat { padding-inline: 10px; }
    .server-stat strong { font-size: 15px; }
    .section-heading h1 { font-size: 29px; }
    .section-heading h2 { font-size: 27px; }
    .site-footer__grid { grid-template-columns: 1fr; }
}

/* Short viewport protection on any non-mobile device. */
@media (min-width: 621px) and (max-height: 680px) {
    .site-header,
    .site-header__inner { min-height: 58px; }
    .hero__inner { padding-block: 14px; }
    .hero__actions { margin-top: 14px; }
    .hero__status { margin-top: 12px; }
    .server-stat { min-height: 62px; }
}

/* Auth/pages compact fit for 1366x768 and similar short notebooks */
@media (min-width: 1121px) and (max-width: 1440px) and (max-height: 820px) {
    .inner-hero__inner {
        min-height: 122px;
        gap: 18px;
    }

    .inner-hero .eyebrow {
        margin-bottom: 6px;
        font-size: 8px;
        letter-spacing: 2px;
    }

    .inner-hero__brand {
        font-size: 30px;
        letter-spacing: 8px;
    }

    .inner-hero__meta {
        gap: 8px;
        font-size: 11px;
    }

    .site-main {
        padding-top: 42px;
        padding-bottom: 68px;
    }

    .auth-experience {
        width: min(100%, 980px);
        max-width: 980px;
        margin-top: -4px;
        grid-template-columns: minmax(270px, .72fr) minmax(430px, 1.28fr);
        border-radius: 12px;
    }

    .auth-experience--register {
        width: min(100%, 1040px);
        max-width: 1040px;
        grid-template-columns: minmax(300px, .68fr) minmax(500px, 1.32fr);
    }

    .auth-story {
        min-height: 458px;
        padding: 34px 32px 24px;
    }

    .auth-story::after {
        width: 280px;
        height: 280px;
        left: -145px;
        bottom: -160px;
    }

    .auth-story__mark {
        top: -42px;
        right: -10px;
        font-size: 195px;
    }

    .auth-story__mark i {
        font-size: 128px;
    }

    .auth-story__content h1 {
        margin: 10px 0 12px;
        font-size: clamp(32px, 3.2vw, 43px);
    }

    .auth-story__content > p {
        max-width: 360px;
        font-size: 12px;
        line-height: 1.72;
    }

    .auth-story__features {
        gap: 10px;
        margin-top: 26px;
    }

    .auth-story__features > div {
        grid-template-columns: 32px 1fr;
        gap: 10px;
    }

    .auth-story__features > div > i {
        width: 32px;
        height: 32px;
        border-radius: 6px;
    }

    .auth-story__footer {
        padding-top: 16px;
        font-size: 9px;
    }

    .auth-form-panel {
        padding: 34px 38px;
    }

    .auth-form-panel--register {
        padding: 30px 34px;
    }

    .auth-form-panel__head {
        margin-bottom: 22px;
    }

    .auth-form-panel__head h2 {
        font-size: 29px;
    }

    .auth-form-panel__head p,
    .auth-inline-link a,
    .auth-switch,
    .auth-story__footer,
    .form-section__heading small,
    .consent-card,
    .password-meter small {
        font-size: 9px;
    }

    .form-stack--roomy {
        gap: 16px;
    }

    .register-form {
        gap: 18px;
    }

    .field__control--large,
    .auth-submit {
        min-height: 48px;
    }

    .auth-notice {
        margin-top: 18px;
        padding: 12px 13px;
    }

    .register-guide {
        gap: 14px;
        margin-top: 30px;
    }

    .form-section {
        padding: 18px;
    }

    .form-section__heading {
        margin-bottom: 14px;
    }

    .consent-card {
        padding: 12px 13px;
    }
}

/* =========================================================
   AEVORA RANKING V2
   ========================================================= */
.ranking-v2 { max-width: 1160px; }
.ranking-v2__head { display:flex; align-items:flex-end; justify-content:space-between; gap:30px; margin-bottom:24px; }
.ranking-v2__head h1 { margin:5px 0 0; color:#ece9e0; font-family:'AevoraTrajan',Georgia,serif; font-size:clamp(38px,3.3vw,50px); font-weight:400; line-height:1.08; }
.ranking-v2__head p { margin:9px 0 0; color:#7c8780; font-size:12px; }
.ranking-v2__toolbar { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:18px; }
.ranking-v2__summary { display:flex; align-items:center; gap:12px; color:#7b867f; }
.ranking-v2__summary > span { width:39px; height:39px; display:grid; place-items:center; color:var(--gold); border:1px solid rgba(199,167,101,.16); border-radius:7px; background:rgba(199,167,101,.025); }
.ranking-v2__summary small,.ranking-v2__summary strong { display:block; }
.ranking-v2__summary small { color:#58645c; font-size:8px; letter-spacing:1.1px; }
.ranking-v2__summary strong { margin-top:2px; color:#a9b2ac; font-size:11px; font-weight:600; }
.ranking-search { width:min(100%,285px); height:42px; display:flex; align-items:center; gap:9px; padding:0 12px; border:1px solid rgba(199,167,101,.12); border-radius:7px; background:rgba(255,255,255,.012); }
.ranking-search > i { color:#566159; font-size:11px; }
.ranking-search input { min-width:0; flex:1; color:#cbd2cc; border:0; outline:0; background:transparent; font:inherit; font-size:11px; }
.ranking-search input::placeholder { color:#4e5952; }
.ranking-search a { color:#667168; }
.ranking-search:focus-within { border-color:rgba(199,167,101,.28); box-shadow:0 0 0 3px rgba(199,167,101,.025); }

.ranking-podium { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-bottom:18px; }
.podium-card { position:relative; min-height:205px; padding:24px 22px 20px; overflow:hidden; border:1px solid rgba(199,167,101,.12); border-radius:10px; background:radial-gradient(circle at 90% 5%,rgba(46,154,114,.07),transparent 37%),linear-gradient(145deg,rgba(17,24,19,.96),rgba(9,13,10,.98)); box-shadow:0 18px 48px rgba(0,0,0,.16); }
.podium-card::before { content:''; position:absolute; left:0; right:0; top:0; height:1px; background:linear-gradient(90deg,transparent,rgba(199,167,101,.5),rgba(46,154,114,.32),transparent); }
.podium-card--1 { border-color:rgba(224,200,142,.26); background:radial-gradient(circle at 82% 8%,rgba(199,167,101,.10),transparent 40%),linear-gradient(145deg,rgba(20,27,21,.98),rgba(9,13,10,.98)); transform:translateY(-3px); }
.podium-card__rank { position:absolute; right:17px; top:13px; color:rgba(228,202,141,.12); font-family:'AevoraTrajan'; font-size:43px; line-height:1; }
.podium-card__medal { width:38px; height:38px; display:grid; place-items:center; color:var(--gold-bright); border:1px solid rgba(199,167,101,.18); border-radius:50%; background:rgba(199,167,101,.035); }
.podium-card__eyebrow { margin-top:18px; color:var(--emerald); font-size:8px; font-weight:700; letter-spacing:1.5px; }
.podium-card h2 { margin:6px 0 0; color:#e6e3dc; font-family:'AevoraTrajan'; font-size:24px; font-weight:400; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.podium-card > p { margin:6px 0 18px; color:#6e7a72; font-size:10px; }
.podium-card > p span { color:#4d5851; margin-inline:4px; }
.podium-card > p strong { color:#87928a; font-weight:600; }
.podium-card__stats { display:grid; grid-template-columns:1fr 1.45fr; gap:10px; padding-top:14px; border-top:1px solid rgba(255,255,255,.04); }
.podium-card__stats small,.podium-card__stats strong { display:block; }
.podium-card__stats small { color:#566159; font-size:7px; letter-spacing:1px; }
.podium-card__stats strong { margin-top:3px; color:#b5beb7; font-size:10px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.podium-card--1 .podium-card__stats strong:first-of-type { color:var(--gold-bright); }

.ranking-table-card { overflow:hidden; border:1px solid rgba(199,167,101,.14); border-radius:10px; background:linear-gradient(145deg,rgba(17,24,19,.94),rgba(9,13,10,.97)); box-shadow:var(--shadow); }
.ranking-table-card__title { min-height:66px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px 20px; border-bottom:1px solid rgba(199,167,101,.10); background:rgba(255,255,255,.01); }
.ranking-table-card__title small,.ranking-table-card__title strong { display:block; }
.ranking-table-card__title small { color:var(--emerald); font-size:8px; letter-spacing:1.2px; }
.ranking-table-card__title strong { margin-top:3px; color:#bac3bc; font-size:12px; font-weight:600; }
.ranking-table-card__title > span { color:#626e66; font-size:9px; }
.aevora-table--ranking { min-width:760px; }
.aevora-table--ranking th { padding:13px 17px; }
.aevora-table--ranking td { padding:13px 17px; }
.aevora-table--ranking tbody tr.is-top { background:linear-gradient(90deg,rgba(199,167,101,.025),transparent 55%); }
.rank-player { display:flex; align-items:center; gap:11px; }
.rank-player__mark { width:31px; height:31px; flex:0 0 31px; display:grid; place-items:center; color:#8d988f; border:1px solid rgba(199,167,101,.10); border-radius:6px; background:rgba(255,255,255,.012); font-family:'AevoraTrajan'; font-size:10px; }
.rank-player__mark i { color:var(--gold); font-size:10px; }
.aevora-table--ranking tr.is-top .rank-player__mark { color:var(--gold-bright); border-color:rgba(199,167,101,.22); background:rgba(199,167,101,.035); }
.ranking-points { color:var(--gold-bright)!important; font-family:'AevoraTrajan'; font-weight:400!important; }
.ranking-empty { min-height:170px; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#5e6a62; text-align:center; }
.ranking-empty i { color:var(--gold); font-size:19px; }
.ranking-empty strong { margin-top:13px; color:#aab3ac!important; font-size:12px; }
.ranking-empty span { margin-top:4px; font-size:10px; }

.aevora-pagination { display:flex; align-items:center; justify-content:center; gap:6px; }
.aevora-page { min-width:34px; height:34px; display:grid; place-items:center; padding:0 9px; color:#78837b; border:1px solid rgba(199,167,101,.11); border-radius:6px; background:rgba(255,255,255,.012); font-size:10px; transition:border-color .2s ease,color .2s ease,background .2s ease; }
a.aevora-page:hover { color:var(--gold-bright); border-color:rgba(199,167,101,.3); background:rgba(199,167,101,.035); }
.aevora-page.is-active { color:#151109; border-color:#d8b86d; background:linear-gradient(135deg,#e2ca90,#ae8945); font-weight:700; }
.aevora-page.is-disabled { opacity:.3; }
.aevora-page--dots { border-color:transparent; background:transparent; }

@media (min-width:1121px) and (max-height:820px) {
    .ranking-v2__head { margin-bottom:18px; }
    .ranking-v2__head h1 { font-size:38px; }
    .ranking-podium { gap:11px; margin-bottom:14px; }
    .podium-card { min-height:176px; padding:19px 18px 16px; }
    .podium-card__eyebrow { margin-top:13px; }
    .podium-card h2 { font-size:20px; }
    .podium-card > p { margin-bottom:13px; }
    .ranking-table-card__title { min-height:57px; padding:12px 17px; }
    .aevora-table--ranking th { padding:10px 15px; }
    .aevora-table--ranking td { padding:10px 15px; }
    .pagination-wrap { padding:15px; }
}

@media (max-width:880px) {
    .ranking-v2__head { display:block; }
    .ranking-v2__tabs { width:max-content; margin-top:18px; }
    .ranking-v2__toolbar { align-items:stretch; flex-direction:column; }
    .ranking-search { width:100%; max-width:none; }
    .ranking-podium { grid-template-columns:1fr; }
    .podium-card--1 { transform:none; }
}

@media (max-width:620px) {
    .ranking-v2__head h1 { font-size:34px; }
    .ranking-podium { display:none; }
    .ranking-table-card__title { padding:14px 15px; }
    .ranking-table-card__title > span { display:none; }
    .pagination-wrap { padding:15px 10px; }
    .aevora-page { min-width:31px; height:31px; padding:0 7px; }
}

/* =========================================================
   AEVORA EVENTS HUB — automatic srv1_player.event_table feed
   ========================================================= */
.events-hub { max-width: 1160px; margin-inline: auto; }
.events-hub__head { display:flex; align-items:flex-end; justify-content:space-between; gap:30px; margin-bottom:26px; }
.events-hub__head h1 { margin:5px 0 0; color:#ece9e0; font-family:'AevoraTrajan',Georgia,serif; font-size:clamp(38px,3.3vw,50px); font-weight:400; line-height:1.08; }
.events-hub__head p { max-width:650px; margin:9px 0 0; color:#7c8780; font-size:12px; line-height:1.7; }
.events-timezone { display:flex; align-items:center; gap:12px; flex:0 0 auto; padding:11px 14px; border:1px solid rgba(199,167,101,.12); border-radius:7px; background:rgba(255,255,255,.012); }
.events-timezone > i { width:34px; height:34px; display:grid; place-items:center; color:var(--gold); border:1px solid rgba(199,167,101,.12); border-radius:6px; background:rgba(199,167,101,.025); }
.events-timezone small,.events-timezone strong { display:block; }
.events-timezone small { color:#566159; font-size:7px; letter-spacing:1.1px; }
.events-timezone strong { margin-top:2px; color:#9ca69f; font-size:10px; font-weight:600; }

.event-feature { position:relative; min-height:250px; display:grid; grid-template-columns:110px 1fr; align-items:center; gap:30px; padding:34px 38px; overflow:hidden; border:1px solid rgba(199,167,101,.16); border-radius:12px; background:linear-gradient(135deg,rgba(18,26,20,.98),rgba(9,13,10,.99)); box-shadow:0 28px 76px rgba(0,0,0,.28); }
.event-feature__ambient { position:absolute; inset:0; pointer-events:none; background:radial-gradient(circle at 15% 50%,rgba(46,154,114,.12),transparent 28%),radial-gradient(circle at 92% 10%,rgba(199,167,101,.06),transparent 28%); }
.event-feature--active { border-color:rgba(65,185,129,.28); box-shadow:0 28px 80px rgba(0,0,0,.30),inset 0 1px 0 rgba(65,185,129,.06); }
.event-feature__icon { position:relative; z-index:2; width:96px; height:96px; display:grid; place-items:center; color:var(--gold-bright); border:1px solid rgba(199,167,101,.24); transform:rotate(45deg); background:radial-gradient(circle,rgba(199,167,101,.09),rgba(46,154,114,.025)); box-shadow:0 0 55px rgba(46,154,114,.08); }
.event-feature__icon i { transform:rotate(-45deg); font-size:29px; }
.event-feature__body { position:relative; z-index:2; }
.event-feature__meta { display:flex; align-items:center; gap:11px; color:#667269; font-size:9px; letter-spacing:.9px; text-transform:uppercase; }
.event-feature h2 { margin:13px 0 8px; color:#eeeae1; font-family:'AevoraTrajan',Georgia,serif; font-size:clamp(31px,3vw,44px); font-weight:400; }
.event-feature p { max-width:720px; margin:0; color:#849087; font-size:12px; line-height:1.7; }
.event-feature__schedule { display:flex; align-items:center; gap:0; margin-top:25px; border-top:1px solid rgba(199,167,101,.09); }
.event-feature__schedule > div { min-width:145px; padding:17px 28px 0 0; margin-right:28px; border-right:1px solid rgba(199,167,101,.09); }
.event-feature__schedule > div:last-child { border-right:0; }
.event-feature__schedule small,.event-feature__schedule strong { display:block; }
.event-feature__schedule small { color:#566159; font-size:7px; letter-spacing:1.2px; }
.event-feature__schedule strong { margin-top:3px; color:#bbc3bd; font-size:11px; font-weight:600; }
.event-status { display:inline-flex; align-items:center; min-height:22px; padding:0 8px; border:1px solid rgba(199,167,101,.18); border-radius:999px; color:#b79b61; background:rgba(199,167,101,.035); font-size:7px; font-weight:800; letter-spacing:1px; }
.event-status--active { color:#6fd19f; border-color:rgba(72,190,134,.25); background:rgba(72,190,134,.045); box-shadow:0 0 18px rgba(72,190,134,.05); }
.event-status--ended { color:#747e77; border-color:rgba(255,255,255,.07); background:rgba(255,255,255,.012); }

.events-section { margin-top:70px; }
.events-section__heading { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:22px; }
.events-section__heading h2 { margin:5px 0 0; color:#e5e4dc; font-family:'AevoraTrajan',Georgia,serif; font-size:30px; font-weight:400; }
.events-section__heading p { max-width:620px; margin:7px 0 0; color:#69756d; font-size:11px; line-height:1.65; }
.events-live-indicator,.events-source { display:inline-flex; align-items:center; gap:8px; color:#68746c; font-size:9px; }
.events-live-indicator i { width:7px; height:7px; border-radius:50%; background:#52c58f; box-shadow:0 0 11px rgba(82,197,143,.72); }
.events-source i { color:var(--gold); }
.today-events { overflow:hidden; border:1px solid rgba(199,167,101,.12); border-radius:10px; background:rgba(13,18,15,.76); }
.today-event { position:relative; display:grid; grid-template-columns:74px 20px 42px minmax(0,1fr) auto; align-items:center; gap:14px; min-height:104px; padding:16px 22px; border-bottom:1px solid rgba(199,167,101,.08); }
.today-event:last-child { border-bottom:0; }
.today-event--active { background:linear-gradient(90deg,rgba(46,154,114,.055),transparent 55%); }
.today-event--ended { opacity:.48; }
.today-event__time strong,.today-event__time span { display:block; }
.today-event__time strong { color:#dadfd9; font-family:'AevoraTrajan',Georgia,serif; font-size:17px; font-weight:400; }
.today-event__time span { margin-top:2px; color:#59655d; font-size:9px; }
.today-event__line { position:relative; height:100%; }
.today-event__line::before { content:''; position:absolute; top:-16px; bottom:-16px; left:50%; width:1px; background:rgba(199,167,101,.09); }
.today-event__line i { position:absolute; z-index:2; left:50%; top:50%; width:7px; height:7px; border:1px solid rgba(199,167,101,.38); transform:translate(-50%,-50%) rotate(45deg); background:#0b100d; }
.today-event--active .today-event__line i { border-color:#58c892; box-shadow:0 0 12px rgba(88,200,146,.42); }
.today-event__icon { width:38px; height:38px; display:grid; place-items:center; color:var(--gold); border:1px solid rgba(199,167,101,.12); border-radius:7px; background:rgba(199,167,101,.022); }
.today-event__copy > div { display:flex; align-items:center; gap:8px; }
.today-event__copy > div small { color:#57635b; font-size:8px; letter-spacing:.8px; text-transform:uppercase; }
.today-event__copy h3 { margin:6px 0 2px; color:#cfd5d0; font-size:13px; font-weight:600; }
.today-event__copy p { margin:0; color:#69756d; font-size:10px; }
.today-event__value { min-width:82px; padding:8px 10px; color:#b99e68; border:1px solid rgba(199,167,101,.12); border-radius:6px; text-align:center; font-size:9px; font-weight:700; }

.event-days { display:grid; gap:14px; }
.event-day { display:grid; grid-template-columns:94px 1fr; overflow:hidden; border:1px solid rgba(199,167,101,.11); border-radius:9px; background:rgba(13,18,15,.72); }
.event-day__date { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:18px 12px; border-right:1px solid rgba(199,167,101,.09); background:linear-gradient(145deg,rgba(199,167,101,.035),rgba(46,154,114,.018)); }
.event-day__date strong { color:var(--gold-bright); font-family:'AevoraTrajan',Georgia,serif; font-size:28px; font-weight:400; line-height:1; }
.event-day__date span { margin-top:5px; color:#887859; font-size:8px; font-weight:700; letter-spacing:1.5px; }
.event-day__date small { margin-top:3px; color:#515d55; font-size:7px; letter-spacing:1px; }
.event-day__list { min-width:0; }
.event-row { display:grid; grid-template-columns:38px minmax(0,1fr) 150px auto; align-items:center; gap:13px; min-height:70px; padding:12px 18px; border-bottom:1px solid rgba(199,167,101,.07); }
.event-row:last-child { border-bottom:0; }
.event-row__icon { width:34px; height:34px; display:grid; place-items:center; color:#a98e5b; border:1px solid rgba(199,167,101,.10); border-radius:6px; background:rgba(199,167,101,.018); }
.event-row__copy small,.event-row__copy strong,.event-row__time small,.event-row__time strong { display:block; }
.event-row__copy small { color:#566159; font-size:7px; letter-spacing:.9px; text-transform:uppercase; }
.event-row__copy strong { margin-top:3px; color:#bfc7c1; font-size:11px; font-weight:600; }
.event-row__time { text-align:right; }
.event-row__time small { color:#505b54; font-size:7px; letter-spacing:1px; }
.event-row__time strong { margin-top:2px; color:#8b968f; font-size:10px; font-weight:500; }
.event-row__bonus { min-width:76px; padding:7px 9px; color:#aa915f; border:1px solid rgba(199,167,101,.10); border-radius:999px; text-align:center; font-size:10px; font-weight:700; }

.special-events-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.special-event-card { position:relative; min-height:190px; padding:25px; border:1px solid rgba(199,167,101,.11); border-radius:9px; background:linear-gradient(145deg,rgba(17,23,19,.88),rgba(10,14,11,.94)); }
.special-event-card:hover { border-color:rgba(199,167,101,.27); transform:translateY(-1px); }
.special-event-card__date { color:var(--gold); font-size:8px; letter-spacing:1px; }
.special-event-card h3 { margin:11px 0 8px; color:#d9ddd8; font-family:'AevoraTrajan'; font-size:21px; font-weight:400; }
.special-event-card p { margin:0 0 20px; color:#6f7b73; font-size:10px; line-height:1.7; }
.events-empty { display:flex; align-items:center; gap:16px; padding:24px; color:#68746c; border:1px solid rgba(199,167,101,.10); border-radius:9px; background:rgba(255,255,255,.01); }
.events-empty > i { width:40px; height:40px; display:grid; place-items:center; color:var(--gold); border:1px solid rgba(199,167,101,.12); border-radius:7px; }
.events-empty strong,.events-empty span { display:block; }
.events-empty strong { color:#afb8b1; font-size:11px; }
.events-empty span { margin-top:3px; font-size:9px; }
.events-empty--compact { border:0; border-radius:0; }

.event-detail { max-width:900px; }
.event-detail__card { margin-top:20px; padding:38px; border:1px solid rgba(199,167,101,.12); border-radius:10px; background:linear-gradient(145deg,rgba(17,23,19,.94),rgba(9,13,10,.98)); }
.event-detail__card h1 { margin:8px 0 12px; color:#ebe8df; font-family:'AevoraTrajan'; font-size:38px; font-weight:400; }
.event-detail__date { color:#8d987f; font-size:10px; }
.event-detail__date i { margin-right:6px; color:var(--gold); }
.event-detail__content { margin-top:28px; padding-top:24px; color:#909a93; border-top:1px solid rgba(199,167,101,.09); font-size:12px; line-height:1.85; white-space:pre-line; }

@media (min-width:1121px) and (max-width:1440px) and (max-height:820px) {
    .events-hub__head { margin-bottom:20px; }
    .event-feature { min-height:210px; grid-template-columns:86px 1fr; gap:24px; padding:27px 31px; }
    .event-feature__icon { width:76px; height:76px; }
    .event-feature__icon i { font-size:23px; }
    .event-feature h2 { font-size:34px; }
    .event-feature__schedule { margin-top:20px; }
    .events-section { margin-top:48px; }
    .today-event { min-height:88px; padding-top:12px; padding-bottom:12px; }
    .event-row { min-height:62px; }
}

@media (max-width:880px) {
    .events-hub__head { display:block; }
    .events-timezone { width:max-content; margin-top:18px; }
    .event-feature { grid-template-columns:70px 1fr; gap:20px; padding:27px 24px; }
    .event-feature__icon { width:62px; height:62px; }
    .event-feature__schedule { flex-wrap:wrap; }
    .event-feature__schedule > div { min-width:120px; }
    .today-event { grid-template-columns:60px 14px 36px minmax(0,1fr); gap:10px; padding-inline:15px; }
    .today-event__value { grid-column:4; width:max-content; margin-top:-4px; }
    .event-day { grid-template-columns:72px 1fr; }
    .event-row { grid-template-columns:34px minmax(0,1fr) auto; }
    .event-row__time { grid-column:2; text-align:left; }
    .event-row__bonus { grid-column:3; grid-row:1 / span 2; }
    .special-events-grid { grid-template-columns:1fr; }
}

@media (max-width:620px) {
    .events-hub__head h1 { font-size:34px; }
    .event-feature { grid-template-columns:1fr; padding:24px 20px; }
    .event-feature__icon { width:54px; height:54px; }
    .event-feature__schedule { display:grid; grid-template-columns:1fr 1fr; }
    .event-feature__schedule > div { min-width:0; margin-right:0; padding-right:12px; }
    .events-section { margin-top:46px; }
    .events-section__heading { display:block; }
    .events-live-indicator,.events-source { margin-top:12px; }
    .today-event { grid-template-columns:50px 12px minmax(0,1fr); }
    .today-event__icon { display:none; }
    .today-event__copy { grid-column:3; }
    .today-event__value { grid-column:3; }
    .event-day { grid-template-columns:58px 1fr; }
    .event-day__date strong { font-size:22px; }
    .event-row { grid-template-columns:30px minmax(0,1fr); padding:11px 12px; }
    .event-row__time { grid-column:2; }
    .event-row__bonus { grid-column:2; grid-row:auto; width:max-content; }
    .event-detail__card { padding:26px 20px; }
    .event-detail__card h1 { font-size:31px; }
}

/* AEVORA EVENTS STATUS HIGHLIGHT 20260922 */
.today-event {
    position: relative;
    transition:
        background-color .18s ease,
        border-color .18s ease,
        opacity .18s ease,
        box-shadow .18s ease;
}

.today-event--ended {
    opacity: .52;
    filter: saturate(.72);
}

.today-event--ended:hover {
    opacity: .68;
}

.today-event--upcoming {
    opacity: 1;
    background:
        linear-gradient(
            90deg,
            rgba(199, 167, 101, .075) 0%,
            rgba(199, 167, 101, .026) 42%,
            rgba(199, 167, 101, 0) 100%
        );
    box-shadow:
        inset 3px 0 0 rgba(199, 167, 101, .56),
        inset 0 1px 0 rgba(199, 167, 101, .045);
}

.today-event--upcoming .today-event__time strong {
    color: #e1cf9d;
    text-shadow: 0 0 18px rgba(199, 167, 101, .14);
}

.today-event--upcoming .today-event__icon {
    color: #d0ad68;
    border-color: rgba(199, 167, 101, .28);
    background: rgba(199, 167, 101, .055);
    box-shadow: 0 0 22px rgba(199, 167, 101, .055);
}

.today-event--upcoming .today-event__copy h3 {
    color: #e4e0d5;
    font-weight: 700;
}

.today-event--upcoming .today-event__line > i {
    border-color: rgba(199, 167, 101, .48);
    background: rgba(199, 167, 101, .12);
}

.today-event--active {
    opacity: 1;
    background:
        linear-gradient(
            90deg,
            rgba(46, 154, 114, .095) 0%,
            rgba(46, 154, 114, .028) 44%,
            rgba(46, 154, 114, 0) 100%
        );
    box-shadow:
        inset 3px 0 0 rgba(77, 177, 137, .68),
        inset 0 1px 0 rgba(77, 177, 137, .055);
}

.today-event--active .today-event__time strong {
    color: #9fd4bd;
    text-shadow: 0 0 18px rgba(77, 177, 137, .16);
}

.today-event--active .today-event__icon {
    color: #83c3a6;
    border-color: rgba(77, 177, 137, .34);
    background: rgba(77, 177, 137, .065);
    box-shadow: 0 0 24px rgba(77, 177, 137, .065);
}

.today-event--active .today-event__copy h3 {
    color: #e4eee9;
    font-weight: 700;
}

.today-event--active .today-event__line > i {
    border-color: rgba(77, 177, 137, .54);
    background: rgba(77, 177, 137, .15);
}

.today-event--upcoming .event-status--upcoming,
.today-event--active .event-status--active {
    letter-spacing: .65px;
    font-weight: 800;
}

/* AEVORA MOBILE ACCOUNT NAV 20260923 */
.main-nav__account-mobile {
    display: none;
}

@media (max-width: 620px) {
    .main-nav {
        max-height: calc(100vh - 68px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .main-nav__account-mobile {
        display: grid;
        gap: 0;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(199,167,101,.14);
    }

    .main-nav__mobile-label {
        display: block;
        padding: 8px 6px 5px;
        color: #8b7650;
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 1.35px;
    }

    .main-nav__account-mobile > a {
        display: flex;
        align-items: center;
        gap: 9px;
    }

    .main-nav__account-mobile > a i {
        width: 16px;
        color: #b59658;
        text-align: center;
    }

    .main-nav__mobile-logout {
        margin: 0;
    }

    .main-nav__mobile-logout button {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 12px 6px;
        color: #a77a73;
        border: 0;
        border-bottom: 1px solid rgba(255,255,255,.035);
        background: transparent;
        font: inherit;
        font-size: 12px;
        text-align: left;
        cursor: pointer;
    }

    .main-nav__mobile-logout button i {
        width: 16px;
        color: #9a625b;
        text-align: center;
    }

    .main-nav__mobile-logout button:hover {
        color: #d29a90;
    }
}

/* AEVORA HEADER ACCOUNT POLISH 20260923 */
.account-chip--panel {
    min-height: 38px;
    padding: 0 13px;
    gap: 8px;
    border: 1px solid rgba(46,154,114,.18);
    border-radius: 7px;
    background: rgba(46,154,114,.035);
    transition:
        border-color .18s ease,
        background .18s ease,
        transform .18s ease;
}

.account-chip--panel:hover {
    border-color: rgba(46,154,114,.34);
    background: rgba(46,154,114,.065);
    transform: translateY(-1px);
}

.account-actions__admin--button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    color: #d1b36f;
    border: 1px solid rgba(199,167,101,.24);
    border-radius: 7px;
    background:
        linear-gradient(135deg, rgba(199,167,101,.075), rgba(199,167,101,.025));
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2px;
    white-space: nowrap;
    transition:
        color .18s ease,
        border-color .18s ease,
        background .18s ease,
        transform .18s ease;
}

.account-actions__admin--button i {
    color: #c7a765;
    font-size: 11px;
}

.account-actions__admin--button:hover {
    color: #ead39a;
    border-color: rgba(199,167,101,.42);
    background:
        linear-gradient(135deg, rgba(199,167,101,.12), rgba(199,167,101,.045));
    transform: translateY(-1px);
}

@media (min-width: 621px) and (max-width: 1120px) {
    .account-chip--panel {
        padding-inline: 11px;
    }
}

.field-error { display: block; margin-top: 8px; color: #d98b7f; font-size: 9px; }
