:root {
    --bg: #070910;
    --bg-2: #101526;
    --panel: rgba(17, 22, 38, .82);
    --panel-strong: rgba(23, 29, 49, .96);
    --line: rgba(188, 202, 255, .16);
    --text: #eef2ff;
    --muted: #aeb7d4;
    --blue: #47b6ff;
    --violet: #8d6bff;
    --gold: #d7b46a;
    --steel: #9fb1c9;
    --danger: #c94c5d;
    --ok: #55d49d;
    --shadow: 0 18px 50px rgba(0, 0, 0, .45);
    --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: Inter, Segoe UI, Arial, sans-serif;
    line-height: 1.6;
    letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.loader {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 45%, #182142, #05070d 68%);
    transition: opacity .45s ease, visibility .45s ease;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader span {
    width: 58px;
    height: 58px;
    border: 2px solid rgba(141, 107, 255, .35);
    border-top-color: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(71, 182, 255, .35);
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 12px 44px;
    background: linear-gradient(180deg, rgba(5, 8, 16, .94), rgba(5, 8, 16, .78));
    border-bottom: 1px solid rgba(188, 202, 255, .14);
    box-shadow: 0 10px 36px rgba(0, 0, 0, .28);
    backdrop-filter: blur(18px);
}
.brand img, .panel-logo img { width: 190px; height: auto; }
.brand img { filter: drop-shadow(0 0 18px rgba(71, 182, 255, .26)); }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 12px; }
.site-nav a, .side-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 0 17px;
    color: var(--muted);
    border: 1px solid transparent;
    border-radius: var(--radius);
    transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.site-nav a:hover, .site-nav .is-active, .side-nav a:hover {
    color: var(--text);
    border-color: rgba(71, 182, 255, .34);
    background: linear-gradient(180deg, rgba(71, 182, 255, .13), rgba(141, 107, 255, .08));
    box-shadow: inset 0 0 18px rgba(71, 182, 255, .1), 0 0 24px rgba(71, 182, 255, .12), 0 0 18px rgba(141, 107, 255, .08);
}
.site-nav a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 5px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity .2s ease;
}
.site-nav a:hover::after, .site-nav .is-active::after { opacity: .9; }
.header-actions .btn-primary {
    min-width: 132px;
    font-weight: 900;
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-select {
    height: 42px;
    color: var(--text);
    background: rgba(14, 18, 32, .9);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0 10px;
}
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(15, 20, 35, .88);
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--text);
}

.btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--text);
    background: rgba(16, 21, 36, .9);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    font-weight: 800;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
}
.btn::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(255,255,255,.18), transparent 42%, rgba(0,0,0,.18));
    opacity: .72;
    z-index: -1;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(71, 182, 255, .22), 0 12px 30px rgba(0, 0, 0, .28);
}
.btn:active { transform: translateY(0); }
.btn-primary {
    color: #07101c;
    background: linear-gradient(135deg, #a9742f 0%, #fff2a8 43%, #67c8ff 100%);
    border-color: rgba(255, 241, 168, .62);
    box-shadow: 0 0 30px rgba(71, 182, 255, .24), inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.btn-metal {
    background: linear-gradient(135deg, #141a2a, #5f6d91 46%, #111827);
    border-color: rgba(215, 180, 106, .32);
    box-shadow: inset 0 0 18px rgba(71, 182, 255, .08), 0 0 22px rgba(141, 107, 255, .1);
}
.btn-ghost {
    border-color: rgba(141, 107, 255, .32);
    background: linear-gradient(180deg, rgba(16, 21, 36, .72), rgba(9, 12, 22, .52));
    box-shadow: inset 0 0 18px rgba(141, 107, 255, .08);
}
.btn-danger {
    background: rgba(201, 76, 93, .18);
    border-color: rgba(201, 76, 93, .55);
}
.btn-large { min-height: 52px; padding: 0 24px; font-weight: 800; }

.hero {
    position: relative;
    min-height: calc(100vh - 82px);
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 104px 7vw 124px;
    background-image: radial-gradient(circle at 26% 38%, rgba(71, 182, 255, .18), transparent 32%), radial-gradient(circle at 62% 54%, rgba(141, 107, 255, .14), transparent 34%), linear-gradient(90deg, rgba(5, 7, 13, .93), rgba(6, 8, 16, .68) 48%, rgba(5, 7, 13, .86)), var(--hero);
    background-size: cover;
    background-position: center;
}
.hero-aura {
    position: absolute;
    left: -12%;
    top: 6%;
    width: 58vw;
    height: 58vw;
    max-width: 780px;
    max-height: 780px;
    background: radial-gradient(circle, rgba(71, 182, 255, .18), rgba(141, 107, 255, .09) 38%, transparent 68%);
    filter: blur(2px);
    pointer-events: none;
}
.hero::after, .page-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 140px;
    background: linear-gradient(180deg, transparent, var(--bg));
    pointer-events: none;
}
.particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .72; }
.hero-content {
    position: relative;
    z-index: 2;
    width: min(1020px, 100%);
    max-width: 1020px;
    margin-left: min(34px, 2vw);
}
.hero-logo {
    width: 440px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 30px rgba(71, 182, 255, .58)) drop-shadow(0 0 58px rgba(141, 107, 255, .3)) drop-shadow(0 10px 26px rgba(0, 0, 0, .55));
}
.hero-title {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
    max-width: 760px;
}
.hero-title h1 {
    font-size: 4.55rem;
    line-height: 1.06;
    color: #f5d987;
    text-shadow: 0 0 18px rgba(71, 182, 255, .3), 0 0 34px rgba(141, 107, 255, .18), 0 6px 22px rgba(0, 0, 0, .5);
    overflow-wrap: normal;
    word-break: normal;
}
.hero-title h2 {
    font-size: 2.45rem;
    color: #eef4ff;
    text-shadow: 0 0 16px rgba(141, 107, 255, .22);
}
.hero-title p {
    margin: 0;
    max-width: 780px;
    color: #dce7ff;
    font-size: 1.22rem;
    font-weight: 700;
}
.kicker {
    margin: 0 0 8px;
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}
h1, h2, h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.08;
    letter-spacing: 0;
}
h1 { font-size: 4.1rem; }
h2 { font-size: 2.45rem; }
h3 { font-size: 1.28rem; }
.hero-copy {
    max-width: 660px;
    color: var(--muted);
    font-size: 1.08rem;
    margin: 0 0 26px;
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 30px;
    max-width: 1020px;
}
.hero-badges span {
    flex: 1 1 0;
    min-height: 44px;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 10px;
    border: 1px solid rgba(215, 180, 106, .36);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(24, 30, 50, .82), rgba(9, 12, 22, .68));
    color: #dfe8ff;
    box-shadow: inset 0 0 18px rgba(71, 182, 255, .08), 0 0 20px rgba(141, 107, 255, .08), 0 8px 22px rgba(0, 0, 0, .18);
    font-size: .92rem;
    font-weight: 800;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}
.hero-badges span::before {
    content: "";
    width: 7px;
    flex: 0 0 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 14px rgba(215, 180, 106, .8);
}
.hero-badges span:hover {
    transform: translateY(-2px);
    color: #fff6cf;
    border-color: rgba(141, 107, 255, .58);
    box-shadow: inset 0 0 22px rgba(71, 182, 255, .12), 0 0 28px rgba(141, 107, 255, .16), 0 12px 28px rgba(0, 0, 0, .24);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding-top: 56px;
    padding-bottom: 34px;
}
.feature-card {
    min-height: 224px;
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(215, 180, 106, .2);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(25, 31, 52, .9), rgba(8, 11, 20, .94));
    box-shadow: var(--shadow), 0 0 26px rgba(71, 182, 255, .06);
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}
.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 22% 0, rgba(71, 182, 255, .18), transparent 38%), radial-gradient(circle at 94% 100%, rgba(215, 180, 106, .12), transparent 38%);
    pointer-events: none;
}
.feature-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 6px;
    pointer-events: none;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(141, 107, 255, .46);
    background: linear-gradient(180deg, rgba(31, 38, 64, .94), rgba(9, 12, 22, .96));
    box-shadow: 0 20px 56px rgba(0, 0, 0, .35), 0 0 36px rgba(71, 182, 255, .14), inset 0 0 28px rgba(141, 107, 255, .07);
}
.feature-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.feature-icon {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(71, 182, 255, .26)) drop-shadow(0 0 10px rgba(215, 180, 106, .1));
}
.feature-number {
    position: relative;
    display: inline-flex;
    color: var(--gold);
    font-weight: 900;
    padding: 6px 10px;
    border: 1px solid rgba(215, 180, 106, .24);
    border-radius: var(--radius);
    background: rgba(5, 7, 13, .32);
}
.feature-card h3, .feature-card p { position: relative; z-index: 1; }
.feature-card p { color: var(--muted); margin-bottom: 0; }

.band, .section, .download-strip, .article-page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}
.band { padding: 54px 0 26px; }
.section { padding: 84px 0; }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head p { color: var(--muted); }
.section-head.compact { margin-bottom: 18px; }
.countdown-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
    margin-top: 28px;
    padding: 42px;
    border: 1px solid rgba(215, 180, 106, .28);
    border-radius: var(--radius);
    background: radial-gradient(circle at 72% 44%, rgba(71, 182, 255, .2), transparent 30%), radial-gradient(circle at 92% 6%, rgba(141, 107, 255, .2), transparent 34%), linear-gradient(100deg, rgba(13, 18, 32, .96), rgba(27, 24, 52, .84)), url("../img/banners/coming-soon.png") center/cover;
    box-shadow: var(--shadow), 0 0 40px rgba(71, 182, 255, .12), inset 0 0 42px rgba(141, 107, 255, .06);
}
.countdown {
    display: grid;
    grid-template-columns: repeat(4, 132px);
    gap: 12px;
}
.countdown div, .panel-card, .system-card, .news-card, .form-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(24, 30, 50, .86), rgba(9, 12, 22, .9));
    box-shadow: var(--shadow);
}
.countdown div {
    min-height: 132px;
    display: grid;
    place-items: center;
    padding: 10px;
    border-color: rgba(215, 180, 106, .22);
    background: linear-gradient(180deg, rgba(24, 30, 50, .94), rgba(5, 7, 13, .9));
    box-shadow: 0 16px 42px rgba(0, 0, 0, .3), inset 0 0 24px rgba(71, 182, 255, .08);
}
.countdown strong {
    display: block;
    color: #fff1a8;
    font-size: 3.25rem;
    line-height: 1;
    text-shadow: 0 0 18px rgba(215, 180, 106, .34), 0 0 24px rgba(71, 182, 255, .16);
}
.countdown span { color: var(--muted); font-size: .92rem; font-weight: 800; }

.system-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.system-grid.wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.system-card {
    min-height: 244px;
    padding: 24px;
    overflow: hidden;
    position: relative;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
    background: linear-gradient(180deg, rgba(24, 30, 50, .9), rgba(7, 10, 18, .92));
}
.system-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 0, rgba(71, 182, 255, .18), transparent 42%), radial-gradient(circle at 90% 85%, rgba(215, 180, 106, .13), transparent 40%);
    pointer-events: none;
}
.system-card:hover {
    transform: translateY(-5px);
    border-color: rgba(71, 182, 255, .5);
    box-shadow: 0 18px 50px rgba(71, 182, 255, .16), inset 0 0 28px rgba(141, 107, 255, .08);
}
.system-card img {
    width: 66px;
    height: 66px;
    margin-bottom: 18px;
    position: relative;
    filter: drop-shadow(0 0 18px rgba(71, 182, 255, .24));
}
.system-card h3, .system-card p { position: relative; }
.system-card p, .news-card p, .panel-card p { color: var(--muted); }

.artemisia-section {
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
    align-items: center;
    gap: 42px;
    padding: 64px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: radial-gradient(circle at 78% 50%, rgba(71, 182, 255, .2), transparent 28%), radial-gradient(circle at 88% 22%, rgba(141, 107, 255, .2), transparent 34%), linear-gradient(110deg, rgba(14, 18, 31, .97), rgba(22, 18, 43, .86)), url("../img/banners/artemisia-new-character.png") center/cover;
    box-shadow: var(--shadow), 0 0 46px rgba(141, 107, 255, .14), inset 0 0 48px rgba(71, 182, 255, .06);
}
.artemisia-copy h2 { max-width: 620px; }
.artemisia-copy p:not(.kicker) {
    max-width: 560px;
    color: #d7def2;
    font-size: 1.12rem;
}
.artemisia-frame {
    margin: 0;
    position: relative;
    border: 1px solid rgba(215, 180, 106, .32);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(5, 7, 13, .62);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .46), 0 0 44px rgba(71, 182, 255, .18), 0 0 34px rgba(141, 107, 255, .14);
}
.artemisia-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .08);
    pointer-events: none;
}
.artemisia-art { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(1.08) contrast(1.04); }

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.ranking-preview {
    display: grid;
    gap: 10px;
}
.ranking-preview div, .download-row, .timeline-item {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(17, 22, 38, .78);
}
.ranking-preview span { color: var(--gold); font-weight: 800; }
.ranking-preview em { color: var(--steel); font-style: normal; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.news-card { overflow: hidden; }
.news-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.news-card div { padding: 20px; }
.news-card span {
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    font-size: .82rem;
}
.news-card h3 { margin: 8px 0; }

.download-strip {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    margin-bottom: 80px;
    padding: 34px;
    border: 1px solid rgba(215, 180, 106, .3);
    border-radius: var(--radius);
    background: linear-gradient(100deg, rgba(21, 29, 49, .95), rgba(42, 28, 61, .82)), url("../img/banners/download-client.png") center/cover;
}

.page-hero {
    position: relative;
    min-height: 430px;
    display: grid;
    align-content: center;
    gap: 18px;
    padding: 110px 7vw 80px;
    overflow: hidden;
    background-image: linear-gradient(90deg, rgba(5, 7, 13, .86), rgba(7, 10, 19, .54)), var(--hero);
    background-size: cover;
    background-position: center;
}
.small-hero { min-height: 330px; }
.page-hero h1 { max-width: 880px; }
.page-hero p { max-width: 660px; color: var(--muted); }

.article-page {
    max-width: 900px;
    padding: 90px 0;
}
.article-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 28px;
}
.article-body {
    color: #d8def0;
    font-size: 1.05rem;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}
.character-card {
    min-height: 300px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}
.character-card img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; margin-bottom: 14px; }
.character-card p { color: var(--muted); }

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(9, 12, 22, .75);
}
.ranking-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}
.ranking-table th, .ranking-table td {
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}
.ranking-table th { color: var(--gold); background: rgba(215, 180, 106, .06); }
.ranking-table tr:hover td { background: rgba(71, 182, 255, .05); }
.ranking-section { padding-top: 64px; }
.ranking-hero h1 { max-width: 920px; }
.ranking-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}
.ranking-tabs, .ranking-limits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ranking-tabs a, .ranking-limits a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid rgba(188, 202, 255, .16);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(20, 26, 45, .86), rgba(8, 11, 20, .86));
    color: var(--muted);
    font-weight: 800;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.ranking-tabs a:hover, .ranking-limits a:hover, .ranking-tabs .is-active, .ranking-limits .is-active {
    color: var(--text);
    transform: translateY(-2px);
    border-color: rgba(71, 182, 255, .42);
    box-shadow: 0 0 24px rgba(71, 182, 255, .12), inset 0 0 18px rgba(141, 107, 255, .08);
}
.ranking-limits a {
    min-height: 38px;
    padding: 0 13px;
    font-size: .92rem;
}
.ranking-alert {
    margin-bottom: 22px;
    padding: 24px;
    border: 1px solid rgba(201, 76, 93, .46);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(72, 23, 36, .82), rgba(17, 22, 38, .82));
    box-shadow: var(--shadow), 0 0 26px rgba(201, 76, 93, .12);
}
.ranking-alert h2 { font-size: 1.55rem; }
.ranking-alert p { color: #f2c8d0; }
.ranking-wrap {
    background: radial-gradient(circle at 16% 0, rgba(71, 182, 255, .08), transparent 30%), linear-gradient(180deg, rgba(12, 16, 30, .92), rgba(5, 7, 13, .94));
    box-shadow: var(--shadow), 0 0 34px rgba(71, 182, 255, .08);
}
.premium-ranking { min-width: 1080px; }
.premium-ranking th {
    position: sticky;
    top: 0;
    z-index: 1;
    text-transform: uppercase;
    font-size: .82rem;
}
.premium-ranking td {
    transition: background .22s ease, box-shadow .22s ease;
}
.premium-ranking tbody tr:hover td {
    background: rgba(71, 182, 255, .075);
    box-shadow: inset 0 0 24px rgba(71, 182, 255, .05);
}
.rank-top td {
    background: linear-gradient(90deg, rgba(215, 180, 106, .08), rgba(71, 182, 255, .035), transparent);
}
.rank-top-1 td { box-shadow: inset 3px 0 0 rgba(255, 241, 168, .72); }
.rank-top-2 td { box-shadow: inset 3px 0 0 rgba(188, 202, 255, .54); }
.rank-top-3 td { box-shadow: inset 3px 0 0 rgba(191, 124, 67, .58); }
.rank-medal {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(188, 202, 255, .18);
    background: rgba(7, 10, 20, .76);
    color: var(--steel);
    font-weight: 900;
}
.rank-medal-1 {
    color: #07101c;
    border-color: rgba(255, 241, 168, .7);
    background: linear-gradient(135deg, #b88736, #fff2a8 54%, #67c8ff);
    box-shadow: 0 0 26px rgba(215, 180, 106, .24);
}
.rank-medal-2 {
    color: #08111d;
    border-color: rgba(225, 234, 255, .62);
    background: linear-gradient(135deg, #7f8aa7, #eef4ff 58%, #90c8ff);
}
.rank-medal-3 {
    color: #0e0a08;
    border-color: rgba(219, 147, 82, .62);
    background: linear-gradient(135deg, #8b4f29, #d99a56 58%, #fff0c4);
}
.class-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    color: var(--text);
    font-weight: 800;
}
.class-icon {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(215, 180, 106, .28);
    background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, .24), transparent 32%), rgba(20, 26, 45, .92);
    box-shadow: inset 0 0 16px rgba(71, 182, 255, .08), 0 0 16px rgba(141, 107, 255, .1);
    color: var(--gold);
    font-size: .9rem;
}
.class-warrior .class-icon { border-color: rgba(215, 180, 106, .4); }
.class-ninja .class-icon { border-color: rgba(85, 212, 157, .35); color: #85e4bf; }
.class-sura .class-icon { border-color: rgba(141, 107, 255, .48); color: #b9a8ff; }
.class-shaman .class-icon { border-color: rgba(71, 182, 255, .48); color: #8bd8ff; }
.class-lycan .class-icon { border-color: rgba(201, 76, 93, .45); color: #ff9aad; }
.class-artemisia .class-icon { border-color: rgba(103, 200, 255, .55); color: #a8ecff; }
.empty-cell {
    padding: 28px 16px;
    color: var(--muted);
    text-align: center;
}
.actions-cell { display: flex; gap: 8px; }

.form-card {
    display: grid;
    gap: 16px;
    padding: 26px;
}
.form-card label { display: grid; gap: 8px; color: var(--steel); font-weight: 700; }
input, textarea, select {
    width: 100%;
    color: var(--text);
    background: rgba(5, 7, 13, .74);
    border: 1px solid rgba(188, 202, 255, .16);
    border-radius: var(--radius);
    padding: 12px 13px;
    outline: none;
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: rgba(71, 182, 255, .55); box-shadow: 0 0 0 3px rgba(71, 182, 255, .12); }
.check-line {
    grid-template-columns: auto 1fr;
    align-items: center;
}
.check-line input { width: 18px; height: 18px; }
.auth-shell {
    min-height: calc(100vh - 76px);
    display: grid;
    place-items: center;
    padding: 60px 20px;
    background: linear-gradient(90deg, rgba(5, 7, 13, .88), rgba(8, 12, 23, .72)), url("../img/backgrounds/homepage-background.png") center/cover;
}
.auth-card { width: min(440px, 100%); }
.auth-card img { width: 220px; margin: 0 auto 6px; }
.auth-card h1 { text-align: center; }
.auth-card p { text-align: center; color: var(--muted); }
.narrow { max-width: 780px; }
.compact-form { max-width: 720px; }
.editor-form { max-width: 980px; }

.panel-body {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 270px 1fr;
    background: radial-gradient(circle at 70% 0, rgba(141, 107, 255, .16), transparent 36%), #080b13;
}
.side-nav {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    border-right: 1px solid var(--line);
    background: rgba(5, 8, 16, .86);
}
.panel-logo { margin-bottom: 14px; padding: 0 !important; border: 0 !important; background: transparent !important; }
.panel-main { padding: 38px; min-width: 0; }
.panel-head { margin-bottom: 24px; }
.panel-head p { color: var(--muted); }
.row-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.panel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.panel-card { padding: 22px; }
.panel-card img { width: 48px; height: 48px; margin-bottom: 14px; }
.empty-state {
    padding: 24px;
    border: 1px dashed rgba(215, 180, 106, .35);
    border-radius: var(--radius);
    color: var(--muted);
    background: rgba(215, 180, 106, .06);
}

.timeline {
    display: grid;
    gap: 14px;
}
.timeline-item {
    grid-template-columns: 190px 1fr auto;
}
.timeline-item h2 { font-size: 1.35rem; }
.timeline-item p { color: var(--muted); }
.clean-list { margin: 0; padding-left: 18px; color: var(--muted); }

.flash {
    position: fixed;
    right: 20px;
    top: 92px;
    z-index: 80;
    max-width: 420px;
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.flash-success { background: rgba(35, 94, 68, .94); }
.flash-error { background: rgba(102, 31, 45, .94); }

.footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    padding: 46px 7vw;
    border-top: 1px solid var(--line);
    background: #05070d;
}
.footer img { width: 190px; margin-bottom: 12px; }
.footer p { max-width: 560px; color: var(--muted); }
.footer nav { display: flex; flex-wrap: wrap; align-content: start; gap: 12px; color: var(--steel); }
.footer small { grid-column: 1 / -1; color: #7f8aa7; }

@media (max-width: 1180px) {
    .system-grid, .panel-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .character-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero-title h1 { font-size: 4rem; }
    .hero-logo { width: 390px; }
    .hero-badges span { flex: 0 1 164px; min-width: 164px; }
    .countdown { grid-template-columns: repeat(4, 118px); }
}

@media (max-width: 920px) {
    h1 { font-size: 2.55rem; }
    h2 { font-size: 2rem; }
    .site-header { grid-template-columns: auto auto; padding: 10px 18px; min-height: 74px; }
    .nav-toggle { display: block; justify-self: end; }
    .site-nav, .header-actions {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
        justify-content: stretch;
    }
    .site-nav.is-open, .header-actions.is-open { display: grid; }
    .site-nav a, .header-actions .btn, .lang-select { width: 100%; justify-content: center; }
    .hero {
        min-height: auto;
        padding: 72px 20px 92px;
        text-align: center;
        justify-items: center;
        background-image: radial-gradient(circle at 50% 28%, rgba(71, 182, 255, .18), transparent 34%), radial-gradient(circle at 50% 58%, rgba(141, 107, 255, .14), transparent 40%), linear-gradient(180deg, rgba(5, 7, 13, .9), rgba(6, 8, 16, .76) 52%, rgba(5, 7, 13, .92)), var(--hero);
    }
    .hero-content { max-width: 680px; margin-left: auto; margin-right: auto; }
    .hero-logo { width: min(330px, 88vw); margin-left: auto; margin-right: auto; }
    .hero-title { margin-left: auto; margin-right: auto; }
    .hero-title h1 { font-size: 3rem; }
    .hero-title h2 { font-size: 1.9rem; }
    .hero-title p { font-size: 1.05rem; }
    .hero-copy { margin-left: auto; margin-right: auto; }
    .hero-badges { justify-content: center; margin-left: auto; margin-right: auto; }
    .hero-badges span { flex: 0 1 170px; min-width: 170px; }
    .hero-actions { justify-content: center; }
    .countdown-band, .download-strip, .split, .artemisia-section, .footer { grid-template-columns: 1fr; }
    .countdown { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .system-grid, .system-grid.wide, .news-grid, .character-grid { grid-template-columns: 1fr; }
    .ranking-toolbar { display: grid; }
    .ranking-tabs, .ranking-limits { justify-content: center; }
    .ranking-tabs a { flex: 1 1 220px; }
    .artemisia-section { padding: 34px; text-align: center; }
    .artemisia-copy p:not(.kicker) { margin-left: auto; margin-right: auto; }
    .artemisia-section .btn { justify-self: center; }
    .panel-body { grid-template-columns: 1fr; }
    .side-nav {
        position: relative;
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .panel-logo { grid-column: 1 / -1; }
    .panel-main { padding: 24px 18px; }
}

@media (max-width: 560px) {
    h1 { font-size: 2.05rem; }
    h2 { font-size: 1.65rem; }
    .brand img { width: 138px; }
    .hero-actions, .footer nav { display: grid; }
    .hero { padding-top: 56px; }
    .hero-title h1 { font-size: 2.45rem; }
    .hero-title h2 { font-size: 1.55rem; }
    .hero-title p { font-size: .98rem; }
    .hero-logo { width: min(280px, 86vw); }
    .hero-badges span { width: 100%; min-width: 0; flex-basis: 100%; justify-content: center; }
    .btn { width: 100%; }
    .band, .section, .download-strip, .article-page { width: min(100% - 28px, 1180px); }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: auto; }
    .countdown-band { padding: 24px 16px; }
    .countdown { grid-template-columns: 1fr 1fr; }
    .countdown div { min-height: 102px; }
    .countdown strong { font-size: 2.35rem; }
    .ranking-preview div, .timeline-item { grid-template-columns: 1fr; }
    .ranking-tabs a, .ranking-limits a { width: 100%; }
    .ranking-limits { display: grid; grid-template-columns: 1fr; }
    .side-nav { grid-template-columns: 1fr; }
}

/* Final premium polish */
.brand-premium {
    min-width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
}
.brand-sigil {
    width: 58px;
    height: 58px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, rgba(71, 182, 255, .18), rgba(141, 107, 255, .06) 58%, transparent 70%);
    filter: drop-shadow(0 0 18px rgba(71, 182, 255, .34)) drop-shadow(0 0 22px rgba(141, 107, 255, .18));
}
.brand-premium .brand-sigil img {
    width: 100%;
    height: 100%;
}
.brand-copy {
    display: grid;
    gap: 0;
}
.brand-copy strong {
    color: #f2d37b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.82rem;
    line-height: 1;
    text-shadow: 0 0 18px rgba(71, 182, 255, .22), 0 2px 0 rgba(0, 0, 0, .42);
}
.brand-copy small {
    margin-top: 3px;
    color: #9fb1c9;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}
.brand img, .panel-logo img { width: auto; }
.site-header {
    min-height: 88px;
    background: linear-gradient(180deg, rgba(4, 6, 13, .96), rgba(7, 10, 20, .84));
}
.header-actions .btn-primary {
    min-width: 150px;
    color: #06101d;
}
.hero {
    min-height: calc(100vh - 88px);
    padding-top: 92px;
    padding-bottom: 128px;
    background-image:
        linear-gradient(90deg, rgba(3, 5, 10, .96), rgba(8, 12, 24, .78) 42%, rgba(5, 7, 13, .88)),
        radial-gradient(circle at 28% 42%, rgba(71, 182, 255, .22), transparent 34%),
        radial-gradient(circle at 72% 58%, rgba(141, 107, 255, .16), transparent 38%),
        var(--hero);
}
.hero-layout {
    width: min(1280px, 100%);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: center;
    gap: 54px;
}
.hero-content {
    width: 100%;
    margin-left: 0;
}
.hero-emblem {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding: 10px 16px 10px 10px;
    border: 1px solid rgba(215, 180, 106, .3);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(20, 26, 45, .72), rgba(7, 10, 19, .48));
    box-shadow: inset 0 0 18px rgba(71, 182, 255, .08), 0 0 28px rgba(141, 107, 255, .12);
}
.hero-emblem img {
    width: 76px;
    height: 76px;
}
.hero-emblem strong {
    display: block;
    color: #f4d77e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    line-height: 1;
}
.hero-emblem span {
    display: block;
    color: var(--steel);
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
}
.hero-title h1 {
    font-size: 4.15rem;
    line-height: 1;
}
.hero-title h2 {
    font-size: 2.26rem;
}
.hero-copy {
    max-width: 720px;
}
.hero-badges span {
    max-width: 196px;
    flex-basis: 176px;
}
.hero-server-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(215, 180, 106, .26);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(20, 26, 45, .84), rgba(5, 7, 13, .92));
    box-shadow: var(--shadow), 0 0 42px rgba(71, 182, 255, .16), inset 0 0 38px rgba(141, 107, 255, .08);
}
.hero-server-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 6px;
    pointer-events: none;
}
.hero-server-card > img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.06);
}
.hero-server-card > div {
    padding: 22px;
}
.hero-server-card h3 {
    margin-bottom: 18px;
}
.hero-server-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.hero-server-card li {
    min-height: 74px;
    display: grid;
    place-items: center;
    padding: 9px;
    text-align: center;
    border: 1px solid rgba(188, 202, 255, .14);
    border-radius: var(--radius);
    background: rgba(5, 7, 13, .48);
}
.hero-server-card li strong {
    color: #fff1a8;
    font-size: 1.45rem;
    line-height: 1;
}
.hero-server-card li span {
    color: var(--muted);
    font-size: .78rem;
}
.server-strip {
    width: min(1180px, calc(100% - 40px));
    margin: -56px auto 0;
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.server-strip div {
    min-height: 94px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 18px;
    border: 1px solid rgba(215, 180, 106, .24);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(22, 28, 48, .96), rgba(7, 10, 18, .94));
    box-shadow: 0 18px 46px rgba(0, 0, 0, .34), inset 0 0 22px rgba(71, 182, 255, .06);
}
.server-strip span {
    color: var(--steel);
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
}
.server-strip strong {
    color: #eef4ff;
}
.feature-card, .system-card, .news-card, .form-card, .panel-card, .table-wrap {
    box-shadow: 0 20px 54px rgba(0, 0, 0, .36), inset 0 0 28px rgba(71, 182, 255, .035);
}
.feature-card h3, .system-card h3 {
    color: #fff0b6;
}
.ranking-preview .empty-state {
    display: block;
    grid-template-columns: none;
}
.ranking-preview div.preview-top {
    border-color: rgba(215, 180, 106, .34);
    background: linear-gradient(90deg, rgba(215, 180, 106, .1), rgba(71, 182, 255, .055), rgba(17, 22, 38, .78));
}
.ranking-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}
.podium-card {
    min-height: 150px;
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(215, 180, 106, .28);
    border-radius: var(--radius);
    background: radial-gradient(circle at 18% 0, rgba(71, 182, 255, .16), transparent 38%), linear-gradient(180deg, rgba(24, 30, 50, .92), rgba(6, 9, 17, .95));
    box-shadow: 0 20px 58px rgba(0, 0, 0, .36), inset 0 0 32px rgba(141, 107, 255, .06);
}
.podium-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(215, 180, 106, .8), rgba(71, 182, 255, .72), transparent);
}
.podium-card strong {
    display: block;
    color: #fff;
    font-size: 1.15rem;
}
.podium-card em, .podium-card small {
    display: block;
    color: var(--muted);
    font-style: normal;
}
.podium-card small {
    grid-column: 1 / -1;
    padding-top: 8px;
    border-top: 1px solid rgba(188, 202, 255, .1);
}
.podium-1 {
    min-height: 178px;
    border-color: rgba(255, 241, 168, .48);
}
.rank-medal {
    position: relative;
}
.rank-medal::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid rgba(215, 180, 106, .16);
}
.class-chip {
    min-height: 38px;
    padding: 2px 10px 2px 2px;
    border: 1px solid rgba(188, 202, 255, .12);
    border-radius: 999px;
    background: rgba(5, 7, 13, .46);
}
.class-icon {
    font-family: Georgia, "Times New Roman", serif;
}
.panel-body {
    background:
        linear-gradient(100deg, rgba(4, 6, 12, .98), rgba(11, 13, 24, .94)),
        url("../img/backgrounds/homepage-background.png") center/cover fixed;
}
.side-nav {
    padding: 24px 20px;
    background: linear-gradient(180deg, rgba(4, 7, 14, .96), rgba(8, 12, 23, .92));
    box-shadow: 14px 0 42px rgba(0, 0, 0, .24);
}
.panel-logo.brand-premium {
    min-height: 76px;
    margin-bottom: 18px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
.panel-logo .brand-sigil {
    width: 56px;
    height: 56px;
}
.panel-logo .brand-copy strong {
    font-size: 1.52rem;
}
.panel-nav-group {
    display: grid;
    gap: 8px;
}
.panel-nav-group a, .admin-shortcut {
    justify-content: flex-start;
    gap: 10px;
}
.panel-nav-group a span, .admin-shortcut span {
    width: 24px;
    color: var(--gold);
    text-align: center;
}
.panel-nav-group .is-active {
    color: #fff;
    border-color: rgba(71, 182, 255, .42);
    background: linear-gradient(180deg, rgba(71, 182, 255, .13), rgba(141, 107, 255, .08));
    box-shadow: inset 0 0 18px rgba(71, 182, 255, .1), 0 0 22px rgba(71, 182, 255, .11);
}
.admin-shortcut {
    margin-top: auto;
    border-color: rgba(215, 180, 106, .24) !important;
    color: #fff !important;
}
.panel-logout {
    margin-top: 10px;
}
.panel-logout .btn {
    width: 100%;
}
.panel-main {
    padding: 46px;
}
.panel-head {
    padding: 8px 0 12px;
}
.panel-head h1 {
    max-width: 980px;
    font-size: 4rem;
}
.account-overview, .admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}
.stat-card {
    min-height: 198px;
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 0, rgba(71, 182, 255, .16), transparent 38%);
    pointer-events: none;
}
.stat-card img, .stat-card span, .stat-card h2, .stat-card p {
    position: relative;
}
.stat-card span {
    color: var(--gold);
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
}
.stat-card h2 {
    margin: 8px 0 10px;
    font-size: 2rem;
}
.panel-split {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 18px;
    margin-top: 18px;
}
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}
.quick-actions a {
    min-height: 96px;
    display: grid;
    grid-template-columns: 38px 1fr;
    align-content: center;
    gap: 0 12px;
    padding: 16px;
    border: 1px solid rgba(188, 202, 255, .14);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(16, 21, 36, .82), rgba(5, 7, 13, .78));
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.quick-actions a:hover {
    transform: translateY(-3px);
    border-color: rgba(71, 182, 255, .4);
    box-shadow: 0 0 28px rgba(71, 182, 255, .12);
}
.quick-actions span {
    grid-row: span 2;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--gold);
    border: 1px solid rgba(215, 180, 106, .28);
    border-radius: 50%;
    background: rgba(5, 7, 13, .5);
}
.quick-actions strong {
    color: #fff;
}
.quick-actions em, .mini-list span, .muted-line {
    color: var(--muted);
    font-style: normal;
}
.mini-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}
.mini-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(188, 202, 255, .1);
}
.admin-identity {
    margin: 4px 0 18px;
    padding: 14px;
    border: 1px solid rgba(215, 180, 106, .18);
    border-radius: var(--radius);
    background: rgba(5, 7, 13, .44);
}
.admin-identity span {
    display: block;
    color: var(--steel);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}
.admin-identity strong {
    color: #fff0b6;
}
.admin-console {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .65fr);
    gap: 18px;
    margin-bottom: 18px;
}
.console-hero, .console-status {
    border: 1px solid rgba(215, 180, 106, .24);
    border-radius: var(--radius);
    background: radial-gradient(circle at 78% 20%, rgba(71, 182, 255, .16), transparent 34%), linear-gradient(180deg, rgba(24, 30, 50, .92), rgba(7, 10, 18, .94));
    box-shadow: var(--shadow), inset 0 0 28px rgba(141, 107, 255, .05);
}
.console-hero {
    min-height: 210px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 18px;
    padding: 28px;
}
.console-status {
    display: grid;
    gap: 0;
    padding: 8px 20px;
}
.console-status div {
    min-height: 52px;
    display: grid;
    grid-template-columns: 16px 1fr auto;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(188, 202, 255, .1);
}
.console-status div:last-child {
    border-bottom: 0;
}
.console-status em {
    color: var(--muted);
    font-style: normal;
}
.status-ok, .status-bad {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.status-ok {
    background: var(--ok);
    box-shadow: 0 0 14px rgba(85, 212, 157, .62);
}
.status-bad {
    background: var(--danger);
    box-shadow: 0 0 14px rgba(201, 76, 93, .62);
}
.auth-card {
    border-color: rgba(215, 180, 106, .22);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .42), 0 0 42px rgba(71, 182, 255, .12);
}
.auth-card .auth-sigil {
    width: 118px;
    height: 118px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 24px rgba(71, 182, 255, .34));
}
.auth-card h1 {
    margin-bottom: 8px;
}
.footer {
    grid-template-columns: minmax(0, 1fr) minmax(280px, auto);
    gap: 34px;
    padding-top: 58px;
    background:
        linear-gradient(180deg, rgba(5, 7, 13, .98), rgba(4, 6, 12, 1)),
        url("../img/backgrounds/ranking-background.png") center/cover;
}
.footer-brand .brand-premium {
    margin-bottom: 16px;
}
.footer-brand p {
    margin-top: 0;
}
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-badges span, .footer-links a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(188, 202, 255, .14);
    border-radius: var(--radius);
    background: rgba(5, 7, 13, .38);
    color: var(--steel);
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 10px;
}
.footer-links a:hover {
    color: #fff;
    border-color: rgba(71, 182, 255, .35);
    box-shadow: 0 0 20px rgba(71, 182, 255, .1);
}

@media (max-width: 1180px) {
    .hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }
    .hero-server-card {
        max-width: 520px;
    }
    .server-strip, .account-overview, .admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-console, .panel-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    .brand-copy small {
        display: none;
    }
    .hero-layout {
        justify-items: center;
        text-align: center;
    }
    .hero-emblem {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-server-card {
        width: min(100%, 440px);
    }
    .server-strip {
        margin-top: -36px;
    }
    .panel-main {
        padding: 26px 18px;
    }
    .panel-head h1 {
        font-size: 2.7rem;
    }
    .side-nav {
        grid-template-columns: 1fr;
    }
    .panel-nav-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-shortcut {
        margin-top: 0;
    }
    .ranking-podium {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .site-header {
        min-height: 76px;
    }
    .brand-sigil {
        width: 46px;
        height: 46px;
    }
    .brand-copy strong {
        font-size: 1.35rem;
    }
    .hero-title h1 {
        font-size: 2.45rem;
    }
    .hero-title h2 {
        font-size: 1.52rem;
    }
    .hero-emblem {
        width: 100%;
        justify-content: center;
        padding-right: 10px;
    }
    .hero-emblem img {
        width: 58px;
        height: 58px;
    }
    .hero-emblem strong {
        font-size: 1.45rem;
    }
    .hero-server-card ul, .server-strip, .account-overview, .admin-stat-grid, .quick-actions, .footer-links {
        grid-template-columns: 1fr;
    }
    .server-strip {
        width: min(100% - 28px, 1180px);
        margin-top: -28px;
    }
    .panel-nav-group {
        grid-template-columns: 1fr;
    }
    .console-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .console-hero .btn {
        width: 100%;
    }
    .mini-list div {
        display: grid;
    }
    .footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (min-width: 921px) {
    .hero {
        min-height: calc(100vh - 88px);
        padding-top: 48px;
        padding-bottom: 72px;
    }
    .hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
        gap: 42px;
    }
    .hero-emblem {
        margin-bottom: 14px;
        padding: 8px 14px 8px 8px;
    }
    .hero-emblem img {
        width: 62px;
        height: 62px;
    }
    .hero-emblem strong {
        font-size: 1.68rem;
    }
    .hero-emblem span {
        font-size: .74rem;
    }
    .hero-title {
        gap: 7px;
        margin-bottom: 14px;
    }
    .hero-title h1 {
        font-size: 3.52rem;
    }
    .hero-title h2 {
        font-size: 1.92rem;
    }
    .hero-title p {
        font-size: 1.04rem;
    }
    .hero-copy {
        max-width: 680px;
        margin-bottom: 18px;
        font-size: .98rem;
    }
    .hero-badges {
        gap: 8px;
        margin-bottom: 20px;
    }
    .hero-badges span {
        min-height: 38px;
        flex-basis: 156px;
        max-width: 192px;
        font-size: .84rem;
    }
    .hero-actions .btn-large {
        min-height: 48px;
    }
    .hero-server-card {
        max-width: 360px;
    }
    .hero-server-card > img {
        aspect-ratio: 1 / 1;
        object-position: center 24%;
    }
    .hero-server-card > div {
        padding: 18px;
    }
    .hero-server-card h3 {
        margin-bottom: 12px;
        font-size: 1.08rem;
    }
    .hero-server-card li {
        min-height: 64px;
    }
    .hero-server-card li strong {
        font-size: 1.22rem;
    }
}
