:root {
    --bg: #080504;
    --panel: rgba(14, 12, 11, 0.92);
    --panel2: rgba(25, 18, 14, 0.94);
    --text: #f5efe4;
    --muted: #b7aa98;
    --line: rgba(255, 126, 38, 0.28);
    --line-soft: rgba(212, 172, 108, 0.25);
    --orange: #ff6b1a;
    --gold: #d9a74b;
    --red: #a72e17;
    --blue: #325574;
    --green: #72ff4f;
    --shadow: 0 20px 60px rgba(0,0,0,.65);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
    margin: 0;
    min-height: 100%;
    color: var(--text);
    font-family: Georgia, 'Times New Roman', serif;
    background:
        radial-gradient(circle at 70% 10%, rgba(167,46,23,.3), transparent 30%),
        linear-gradient(180deg, rgba(0,0,0,.2), #050303 72%),
        var(--site-bg-image, url('images/bg1.png')) center top / cover fixed;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: rgba(0,0,0,.47);
    z-index: -1;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.site-shell {
    width: min(100%, 980px);
    min-height: 100vh;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(6,5,5,.96), rgba(6,5,5,.9));
    box-shadow: 0 0 80px rgba(0,0,0,.8);
    border-left: 1px solid rgba(255,255,255,.05);
    border-right: 1px solid rgba(255,255,255,.05);
}
.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: rgba(8,7,7,.95);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}
.brand img {
    display: block;
    width: min(68vw, 430px);
    height: auto;
    filter: drop-shadow(0 0 16px rgba(255,86,24,.32));
}
.menu-toggle {
    width: 48px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: linear-gradient(180deg, #1a1512, #0c0a09);
    display: grid;
    place-items: center;
    gap: 0;
    padding: 11px;
    cursor: pointer;
}
.menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--orange);
    display: block;
    box-shadow: 0 0 12px rgba(255,107,26,.55);
}
.mobile-nav {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px 14px;
    background: rgba(5,4,4,.96);
    border-bottom: 1px solid var(--line);
}
.mobile-nav.is-open { display: grid; }
.mobile-nav a {
    padding: 13px 12px;
    border: 1px solid var(--line-soft);
    background: rgba(255,255,255,.03);
    border-radius: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .78rem;
}
.main-content { padding: 12px 12px 28px; }

.hero-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    background: #070504;
    box-shadow: var(--shadow);
}
.hero-art {
    min-height: 380px;
    background-size: cover;
    background-position: 54% center;
    position: relative;
    transition: background-image .45s ease-in-out;
}
.hero-media-stack,
.hero-media {
    position: absolute;
    inset: 0;
}
.hero-media {
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .55s ease-in-out;
    pointer-events: none;
}
.hero-media.is-active {
    opacity: 1;
}
.hero-image {
    background-size: cover;
    background-position: 54% center;
    background-repeat: no-repeat;
}
.hero-video {
    object-fit: cover;
    object-position: center center;
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.18) 35%, rgba(0,0,0,.92) 100%),
        radial-gradient(circle at 65% 55%, rgba(255,88,20,.24), transparent 35%);
}
.hero-content {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 110px 18px 22px;
    text-align: center;
}
.season-label {
    display: inline-flex;
    padding: 4px 18px 7px;
    color: #ffdfb6;
    font-size: clamp(2.6rem, 13vw, 5.8rem);
    line-height: .9;
    text-transform: uppercase;
    letter-spacing: .05em;
    text-shadow: 0 0 14px #ff4c14, 0 4px 0 #180805;
}
.hero-content h1 {
    margin: 10px 0 4px;
    color: #d9d0c2;
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .22em;
}
.hero-content p {
    max-width: 520px;
    margin: 0 auto;
    color: var(--muted);
    font-family: system-ui, sans-serif;
    font-size: .92rem;
}

.quick-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 14px 0;
}
.action {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    border: 1px solid var(--line);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 8px 22px rgba(0,0,0,.28);
}
.action span { font-family: system-ui, sans-serif; font-size: 1.25rem; }
.action-download { background: linear-gradient(180deg, rgba(139,42,16,.95), rgba(60,15,9,.95)); }
.action-register { background: linear-gradient(180deg, rgba(130,83,20,.95), rgba(58,33,9,.95)); }
.action-login { background: linear-gradient(180deg, rgba(42,61,79,.95), rgba(14,22,32,.95)); }

.feature-grid, .status-grid, .shop-grid, .download-stack, .list-stack {
    display: grid;
    gap: 12px;
}
.feature-grid { grid-template-columns: 1fr; }
.feature-card, .panel {
    position: relative;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(255,255,255,.04), transparent 38%),
        linear-gradient(180deg, var(--panel2), var(--panel));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), 0 14px 32px rgba(0,0,0,.42);
}
.feature-card {
    min-height: 98px;
    display: grid;
    grid-template-columns: 58px 1fr 20px;
    align-items: center;
    gap: 12px;
    padding: 16px;
}
.feature-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(255,107,26,.1);
    border: 1px solid var(--line);
    font-family: system-ui, sans-serif;
    font-size: 1.7rem;
}
.feature-card strong {
    display: block;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 1.3rem;
}
.feature-card small { display: block; color: var(--muted); font-family: system-ui, sans-serif; margin-top: 3px; }
.feature-card em { color: var(--orange); font-size: 2rem; font-style: normal; }

.status-grid { margin-top: 12px; grid-template-columns: 1fr; }
.panel { padding: 18px; }
.panel h2, .page-head h1 {
    margin: 0 0 12px;
    color: #ead7bc;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
}
.panel h2 { font-size: 1.05rem; }
.online-row { display: flex; align-items: center; gap: 10px; }
.online-row strong { color: #b6ff9c; font-size: 2rem; text-transform: uppercase; letter-spacing: .05em; }
.status-dot {
    width: 14px; height: 14px; border-radius: 50%; background: var(--green);
    box-shadow: 0 0 14px var(--green);
}
.status-panel small, .shop-top small { display: block; color: var(--muted); margin-top: 16px; font-family: system-ui, sans-serif; }
.players-count { display: block; color: var(--orange); font-size: 2rem; margin-top: 2px; }
.server-version { display: inline-block; margin-top: 14px; color: var(--gold); border-top: 1px solid var(--line-soft); padding-top: 10px; }
.ranking-panel ol { list-style: none; padding: 0; margin: 0; }
.ranking-panel li {
    display: flex; justify-content: space-between; gap: 10px; padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.ranking-panel li em { color: var(--orange); font-style: normal; }
.ranking-panel a { display: block; margin-top: 14px; color: #e8c58b; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }

.page-head {
    margin: 2px 0 14px;
    padding: 24px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.85)),
        url('images/bg1.png') center 34% / cover;
}
.page-head h1 { font-size: 2rem; }
.page-head p { margin: 0; color: var(--muted); font-family: system-ui, sans-serif; }
.news-card time { color: var(--orange); font-family: system-ui, sans-serif; font-size: .82rem; }
.news-card h2 { margin-top: 8px; }
.news-card p, .simple-panel p, .download-card p, .shop-item p { color: var(--muted); font-family: system-ui, sans-serif; }

.form-panel { display: grid; gap: 14px; }
.form-panel label { display: grid; gap: 7px; color: #e8d2ad; }
.form-panel input, .shop-top select {
    width: 100%;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    background: rgba(0,0,0,.45);
    color: var(--text);
    padding: 13px 12px;
    outline: none;
}
.form-panel button, .shop-item button, .button-primary, .button-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: linear-gradient(180deg, #bf521b, #5b1e0d);
    color: #fff7e8;
    text-transform: uppercase;
    letter-spacing: .08em;
    cursor: pointer;
}
.button-secondary { background: linear-gradient(180deg, #344d67, #121f2b); }
.form-link { color: var(--gold); font-family: system-ui, sans-serif; }

.ranking-table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 420px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
th { color: var(--gold); text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; }

.shop-top { display: grid; gap: 16px; margin-bottom: 12px; }
.shop-top strong { display: block; color: var(--orange); font-size: 2rem; }
.shop-item { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.shop-icon { display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,107,26,.1); font-size: 2rem; }
.shop-item button { grid-column: 1 / -1; }
.shop-item h2 { margin: 0 0 4px; }
.shop-item p { margin: 0 0 7px; }
.shop-item strong { color: var(--gold); }

.site-footer {
    margin-top: 12px;
    padding: 26px 14px 34px;
    text-align: center;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(26,12,8,.82), rgba(3,3,3,.96));
}
.footer-callout { color: var(--orange); text-transform: uppercase; letter-spacing: .15em; font-size: 1.1rem; }
.footer-sub { margin-top: 6px; color: #cfc2af; letter-spacing: .12em; text-transform: uppercase; }
.footer-copy { margin-top: 20px; color: #938879; font-family: system-ui, sans-serif; font-size: .82rem; }
.footer-icons { margin-top: 14px; display: flex; justify-content: center; gap: 16px; }
.footer-icons a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-soft); color: #d4c3aa; }

.message-stack {
    display: grid;
    gap: 10px;
    margin: 0 0 14px;
}
.message {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--line-soft);
    background: linear-gradient(180deg, rgba(20,16,13,.96), rgba(8,7,7,.96));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), 0 10px 24px rgba(0,0,0,.32);
    font-family: system-ui, sans-serif;
}
.message p { margin: 0; color: var(--text); }
.message-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-weight: 800;
    font-family: system-ui, sans-serif;
}
.message-success { border-color: rgba(114,255,79,.38); }
.message-success .message-icon { color: #092306; background: #92ff74; box-shadow: 0 0 14px rgba(114,255,79,.4); }
.message-error { border-color: rgba(255,72,41,.5); }
.message-error .message-icon { color: #fff; background: #a72e17; box-shadow: 0 0 14px rgba(255,72,41,.35); }
.message-warning { border-color: rgba(217,167,75,.48); }
.message-warning .message-icon { color: #201102; background: var(--gold); box-shadow: 0 0 14px rgba(217,167,75,.35); }
.message-info .message-icon { color: #fff; background: var(--blue); box-shadow: 0 0 14px rgba(50,85,116,.35); }

.inline-form {
    display: inline-grid;
    margin-top: 14px;
}
.inline-form button,
.buy-form button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: linear-gradient(180deg, #bf521b, #5b1e0d);
    color: #fff7e8;
    text-transform: uppercase;
    letter-spacing: .08em;
    cursor: pointer;
}
.account-panel { display: grid; gap: 10px; }
.account-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-family: system-ui, sans-serif;
}
.account-row span { color: var(--muted); }
.account-row strong { color: var(--gold); text-align: right; }
.buy-form { grid-column: 1 / -1; display: grid; }

/* Contact and legal pages */
.contact-grid {
    display: grid;
    gap: 12px;
}
.form-panel textarea {
    width: 100%;
    min-height: 160px;
    resize: vertical;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    background: rgba(0,0,0,.45);
    color: var(--text);
    padding: 13px 12px;
    outline: none;
    font: inherit;
}
.form-panel textarea:focus,
.form-panel input:focus,
.shop-top select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,107,26,.12);
}
.contact-info-panel a,
.legal-panel a {
    color: var(--gold);
}
.contact-row {
    display: grid;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-family: system-ui, sans-serif;
}
.contact-row span {
    color: var(--muted);
    font-size: .86rem;
}
.contact-row strong {
    color: var(--text);
    overflow-wrap: anywhere;
}
.legal-panel {
    display: grid;
    gap: 10px;
    font-family: system-ui, sans-serif;
    line-height: 1.65;
}
.legal-panel h2 {
    margin: 12px 0 0;
    color: #ead7bc;
    font-family: Georgia, 'Times New Roman', serif;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 1.05rem;
}
.legal-panel p,
.legal-panel li {
    color: var(--muted);
}
.legal-panel ul {
    margin: 0;
    padding-left: 22px;
}
.legal-updated {
    color: var(--gold) !important;
    margin-top: 0;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    font-family: system-ui, sans-serif;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.footer-links a {
    color: #d8c5a6;
    border-bottom: 1px solid rgba(217,167,75,.35);
}

@media (min-width: 760px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
        align-items: start;
    }
}

/* Download QR cards */
.qr-downloads {
    gap: 14px;
}
.download-platform {
    overflow: hidden;
}
.download-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.download-card-head h2 {
    margin-bottom: 2px;
}
.download-card-head small {
    color: var(--gold);
    font-family: system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .76rem;
}
.download-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,107,26,.1);
    box-shadow: inset 0 0 18px rgba(255,107,26,.08);
    font-size: 1.55rem;
    font-family: system-ui, sans-serif;
}
.platform-ios .download-icon {
    background: rgba(68,98,132,.16);
}
.qr-card-body {
    display: grid;
    gap: 16px;
    align-items: center;
}
.qr-frame {
    width: min(240px, 100%);
    margin: 0 auto;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 167, 73, .42);
    background:
        linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.03)),
        #f2e8d7;
    box-shadow: 0 16px 28px rgba(0,0,0,.35), 0 0 24px rgba(255,91,22,.14);
}
.platform-ios .qr-frame {
    border-color: rgba(118, 162, 207, .45);
    box-shadow: 0 16px 28px rgba(0,0,0,.35), 0 0 24px rgba(83,129,176,.13);
}
.qr-image {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    image-rendering: pixelated;
    border-radius: 8px;
}
.qr-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    background: rgba(0,0,0,.1);
    color: #111;
    font-weight: 800;
    letter-spacing: .1em;
}
.download-info {
    display: grid;
    gap: 12px;
}
.download-info p {
    margin: 0;
}
.download-warning {
    border: 1px solid rgba(255, 167, 73, .35);
    border-radius: 10px;
    background: rgba(255, 167, 73, .08);
    padding: 10px;
    color: #ffcf91 !important;
    font-size: .88rem;
}
.download-warning code {
    color: #fff0cf;
}
.download-note {
    margin-top: 12px;
}

@media (min-width: 680px) {
    .qr-downloads {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}



/* Offline / maintenance page */
.route-offline .mobile-nav,
.route-offline .menu-toggle {
    display: none !important;
}
.route-offline .topbar {
    justify-content: center;
}
.offline-page {
    min-height: calc(100vh - 220px);
    display: grid;
    align-content: center;
    gap: 14px;
    padding: 12px 0 22px;
}
.offline-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: clamp(28px, 8vw, 54px) 18px;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(0,0,0,.24), rgba(0,0,0,.88)),
        radial-gradient(circle at 50% 34%, rgba(255, 107, 26, .24), transparent 34%),
        url('images/bg1.png') center 32% / cover;
    box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.04);
}
.offline-card::before,
.offline-card::after {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,172,87,.7), transparent);
}
.offline-card::before { top: 18px; }
.offline-card::after { bottom: 18px; }
.offline-glow {
    position: absolute;
    inset: -30% 5% auto;
    height: 300px;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255,77,24,.2), transparent 62%);
    filter: blur(8px);
}
.offline-rune {
    position: relative;
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    margin: 0 auto 14px;
    border: 1px solid rgba(255,167,73,.52);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255,107,26,.2), rgba(0,0,0,.66)),
        linear-gradient(180deg, rgba(255,255,255,.07), rgba(0,0,0,.08));
    box-shadow: 0 0 32px rgba(255,80,24,.18), inset 0 0 18px rgba(255,130,45,.12);
    color: #ffd59b;
    font-size: 2.15rem;
    text-shadow: 0 0 14px rgba(255,107,26,.85);
}
.offline-kicker {
    position: relative;
    margin: 0 0 8px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .22em;
    font: 700 .78rem system-ui, sans-serif;
}
.offline-card h1 {
    position: relative;
    max-width: 760px;
    margin: 0 auto 12px;
    color: #fff1da;
    font-size: clamp(2rem, 9vw, 4.25rem);
    line-height: .95;
    text-transform: uppercase;
    letter-spacing: .045em;
    text-shadow: 0 0 18px rgba(255,76,20,.34), 0 4px 0 rgba(30,8,4,.9);
}
.offline-message {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
    color: #d8cbbb;
    font: 1rem/1.6 system-ui, sans-serif;
}
.offline-status {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 12px 16px;
    border: 1px solid rgba(217,167,75,.4);
    border-radius: 999px;
    background: rgba(0,0,0,.48);
    color: #ffcf91;
    font: 800 .78rem system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.offline-pulse {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 0 rgba(255,107,26,.65);
    animation: offlinePulse 1.6s infinite;
}
@keyframes offlinePulse {
    0% { box-shadow: 0 0 0 0 rgba(255,107,26,.65); }
    70% { box-shadow: 0 0 0 10px rgba(255,107,26,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,107,26,0); }
}
.offline-grid {
    display: grid;
    gap: 12px;
}
.offline-info-box {
    display: grid;
    gap: 8px;
    text-align: center;
}
.offline-info-box h2 {
    margin-bottom: 0;
}
.offline-info-box p {
    margin: 0;
    color: var(--muted);
    font-family: system-ui, sans-serif;
    line-height: 1.55;
}
.offline-info-box a {
    color: var(--gold);
    overflow-wrap: anywhere;
}
.offline-box-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 2px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,107,26,.1);
    font-family: system-ui, sans-serif;
    font-size: 1.45rem;
}

@media (min-width: 760px) {
    .offline-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Registration email recovery warning */
.form-hint {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font: .84rem/1.45 system-ui, sans-serif;
}
.warning-hint {
    color: #ffcf91;
}
.checkbox-row {
    display: grid !important;
    grid-template-columns: 22px 1fr;
    align-items: start;
    gap: 10px !important;
    color: var(--text) !important;
    font: .92rem/1.45 system-ui, sans-serif;
}
.checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--orange);
}
.warning-check {
    padding: 12px;
    border: 1px solid rgba(217, 167, 75, .42);
    border-radius: 12px;
    background: rgba(217, 167, 75, .08);
}
.register-warning-box {
    border: 1px solid rgba(255, 107, 26, .38);
    border-radius: 12px;
    padding: 12px;
    background: linear-gradient(180deg, rgba(255, 107, 26, .12), rgba(0, 0, 0, .22));
    font-family: system-ui, sans-serif;
}
.register-warning-box strong {
    color: #ffd49a;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .82rem;
}
.register-warning-box p {
    margin: 6px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.discord-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 40px;
    padding: 9px 13px;

    border-radius: 12px;
    border: 1px solid rgba(145, 165, 255, 0.7);

    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    background:
        linear-gradient(180deg, rgba(105, 126, 225, 0.98), rgba(55, 68, 155, 0.98));

    box-shadow:
        0 0 18px rgba(88, 101, 242, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 0 rgba(0, 0, 0, 0.35);

    transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

.discord-header-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow:
        0 0 25px rgba(88, 101, 242, 0.65),
        0 4px 14px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.discord-header-icon {
    width: 21px;
    height: 21px;
    border-radius: 50%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.28);
}

.discord-header-icon svg {
    width: 15px;
    height: 15px;
    fill: #5865f2;
}

.mobile-discord-link {
    margin: 8px 12px;
    border-radius: 12px;
    text-align: center;
    font-weight: 900 !important;
    color: #fff !important;
    background:
        linear-gradient(180deg, rgba(105, 126, 225, 0.98), rgba(55, 68, 155, 0.98)) !important;
    border: 1px solid rgba(145, 165, 255, 0.7);
    box-shadow: 0 0 18px rgba(88, 101, 242, 0.35);
}
/* Store buttons below Download / Register / Login */
.store-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: -2px 0 16px;
    text-align: center;
}
.store-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    border-radius: 8px;
    transition: transform .16s ease, filter .16s ease;
}
.store-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}
.store-button img {
    display: block;
    width: 190px;
    height: auto;
    max-width: 100%;
}

@media (max-width: 430px) {
    .store-buttons {
        gap: 10px;
        margin-top: 0;
    }
    .store-button img {
        width: min(190px, 44vw);
    }
}

/* ver11: styled news body from manager WYSIWYG editor */
.news-body {
    color: var(--muted);
    font-family: system-ui, sans-serif;
    line-height: 1.7;
}
.news-body p { margin: 0 0 12px; }
.news-body h2,
.news-body h3 {
    margin: 14px 0 8px;
    color: var(--gold);
    font-family: Georgia, 'Times New Roman', serif;
    letter-spacing: .04em;
}
.news-body ul,
.news-body ol {
    margin: 10px 0 12px 22px;
    padding: 0;
}
.news-body li { margin: 5px 0; }
.news-body strong,
.news-body b { color: #fff0cf; }
.news-body em,
.news-body i { color: #ffd28a; }
.news-body a {
    color: var(--orange);
    text-decoration: underline;
}
.news-body blockquote {
    margin: 12px 0;
    padding: 10px 14px;
    border-left: 3px solid var(--orange);
    background: rgba(255,107,26,.08);
    color: #e8d2ad;
}

/* ver12: guides nav compact + rich media in news/guides */
.news-body img,
.guide-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 12px auto;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.news-body video,
.guide-body video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 12px auto;
    border-radius: 10px;
    background: #000;
}
.news-body .video-embed,
.guide-body .video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 12px auto;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.news-body .video-embed iframe,
.guide-body .video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 820px) {
    .mobile-nav {
        flex-wrap: wrap;
        gap: 8px;
    }
    .mobile-nav a {
        min-width: auto;
        padding: 10px 12px;
        font-size: .72rem;
        flex: 0 0 auto;
    }
}

/* ver13: mobile hero auto-fit so banner image/video is not cropped */
@media (max-width: 768px) {
    .hero-art {
        min-height: 0;
        aspect-ratio: 16 / 9;
        background-color: #050303;
    }

    .hero-image {
        background-size: contain;
        background-position: center center;
        background-color: #050303;
    }

    .hero-video {
        object-fit: contain;
        object-position: center center;
        background: #050303;
    }

    .hero-content {
        padding: 52px 12px 12px;
    }

    .season-label {
        font-size: clamp(1.8rem, 11vw, 3.3rem);
    }

    .hero-content h1 {
        font-size: .72rem;
        letter-spacing: .14em;
    }

    .hero-content p {
        font-size: .75rem;
    }
}

/* ver23: bigger hero placeholder/tagline text */
.hero-content h1 {
    font-size: clamp(1.35rem, 3.2vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: .14em;
    text-shadow: 0 0 14px rgba(255, 107, 26, .35), 0 3px 0 rgba(0,0,0,.65);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: clamp(1.05rem, 5vw, 1.55rem) !important;
        line-height: 1.15 !important;
        letter-spacing: .09em !important;
    }
}
