:root {
    --bg: #07080b;
    --bg2: #10121a;
    --panel: rgba(21, 18, 17, .92);
    --panel2: rgba(34, 27, 22, .94);
    --border: rgba(210, 161, 74, .26);
    --gold: #d7a241;
    --gold2: #f3d27b;
    --red: #9c2f22;
    --text: #f3ecdc;
    --muted: #b9aa8e;
    --dark-muted: #82745f;
    --shadow: 0 22px 70px rgba(0, 0, 0, .45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    font-family: Tahoma, Arial, sans-serif;
    background:
        radial-gradient(circle at 20% 0%, rgba(156, 47, 34, .28), transparent 32rem),
        radial-gradient(circle at 80% 14%, rgba(215, 162, 65, .16), transparent 35rem),
        linear-gradient(180deg, #06070a 0%, #111018 42%, #07080b 100%);
    min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(7, 8, 11, .84);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(215, 162, 65, .22);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; letter-spacing: .4px; }
.logo-emblem, .brand-mark {
    width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
    color: #1d1307; font-weight: 900; font-size: 24px;
    background: radial-gradient(circle at 35% 25%, #fff0b6, var(--gold) 48%, #8d531e 100%);
    box-shadow: 0 0 25px rgba(215, 162, 65, .35), inset 0 0 10px rgba(255,255,255,.35);
    border: 1px solid rgba(255,255,255,.4);
}
.logo b { display: block; text-transform: uppercase; font-size: 15px; }
.logo small { color: var(--muted); font-size: 11px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav-admin {
    padding: 13px 14px; color: #ddcfb1; font-size: 13px; text-transform: uppercase;
    border: 1px solid transparent; border-radius: 999px; transition: .18s ease;
}
.nav a:hover, .nav-admin { color: var(--gold2); border-color: rgba(215, 162, 65, .28); background: rgba(215, 162, 65, .07); }
.nav-toggle { display: none; background: transparent; color: var(--gold2); border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; font-size: 22px; }
.hero { position: relative; overflow: hidden; padding: 100px 0 86px; border-bottom: 1px solid rgba(215,162,65,.16); }
.hero:before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background:
        linear-gradient(90deg, rgba(5,5,7,.9) 0%, rgba(9,8,9,.62) 50%, rgba(5,5,7,.96) 100%),
        url('../img/hero.jpg');
    background-size: cover; background-position: center;
    opacity: .92;
}
.hero:after {
    content: ""; position: absolute; inset: auto 0 0; height: 200px; z-index: -1;
    background: linear-gradient(180deg, transparent, var(--bg));
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 50px; }
.eyebrow { color: var(--gold2); letter-spacing: 2.5px; text-transform: uppercase; font-size: 12px; font-weight: 700; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
.hero h1 { margin-top: 14px; font-size: clamp(42px, 8vw, 86px); text-transform: uppercase; text-shadow: 0 8px 32px rgba(0,0,0,.7); }
.hero h1 span { color: var(--gold2); }
.hero p { color: #d2c6ad; max-width: 650px; font-size: 20px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px;
    border-radius: 999px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; font-size: 13px;
    cursor: pointer; transition: .18s ease; border: 1px solid transparent;
}
.btn-primary { color: #241406; background: linear-gradient(180deg, #ffe09a, var(--gold)); box-shadow: 0 12px 28px rgba(215,162,65,.25); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 34px rgba(215,162,65,.34); }
.btn-outline { color: var(--gold2); border-color: rgba(215, 162, 65, .48); background: rgba(15, 12, 10, .55); }
.btn-outline:hover { background: rgba(215,162,65,.12); }
.btn-ghost { color: #e4d7bd; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.full { width: 100%; }
.hero-card {
    position: relative; padding: 28px; border: 1px solid var(--border); border-radius: 26px;
    background: linear-gradient(180deg, rgba(33,27,22,.87), rgba(11,11,15,.92)); box-shadow: var(--shadow);
}
.hero-feature {
    display: block; position: relative; overflow: hidden; height: 220px; border-radius: 22px; margin-bottom: 18px;
    border: 1px solid rgba(215,162,65,.24); background: #111; box-shadow: inset 0 0 38px rgba(0,0,0,.34);
}
.hero-feature img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08) contrast(1.06); transition: transform .25s ease; }
.hero-feature:hover img { transform: scale(1.035); }
.hero-feature:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.04) 20%, rgba(0,0,0,.84) 100%); }
.hero-feature .badge { z-index: 2; }
.hero-feature-caption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; display: grid; gap: 5px; }
.hero-feature-caption small { margin: 0; color: var(--muted); text-transform: uppercase; letter-spacing: 1.2px; font-size: 11px; }
.hero-feature-caption b { color: var(--gold2); font-size: 20px; line-height: 1.25; text-shadow: 0 4px 20px rgba(0,0,0,.8); }
.hero-feature-empty { pointer-events: none; }
.hero-stat { padding: 18px 0; border-top: 1px solid rgba(215,162,65,.18); }
.hero-stat b { color: var(--gold2); font-size: 22px; margin-right: 8px; }
.hero-stat span { color: var(--muted); }
.section { padding: 74px 0; }
.section-dark { background: rgba(0,0,0,.28); border-block: 1px solid rgba(215,162,65,.12); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.section h2 { font-size: clamp(30px, 4vw, 48px); margin-top: 8px; }
.link-more, .read-more { color: var(--gold2); font-weight: 800; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-card {
    overflow: hidden; border-radius: 22px; background: var(--panel); border: 1px solid rgba(215,162,65,.2); box-shadow: 0 14px 42px rgba(0,0,0,.25);
    transition: transform .18s ease, border-color .18s ease;
}
.news-card:hover { transform: translateY(-4px); border-color: rgba(215,162,65,.45); }
.card-image { display: block; position: relative; height: 190px; overflow: hidden; background: #15100d; }
.card-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.05); }
.image-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, rgba(215,162,65,.28), transparent 32%), linear-gradient(135deg, #321a15, #0a0b10); }
.image-placeholder span { font-size: 70px; color: rgba(243,210,123,.56); font-weight: 900; }
.badge { position: absolute; top: 14px; left: 14px; padding: 7px 10px; border-radius: 999px; font-size: 11px; text-transform: uppercase; font-weight: 900; background: rgba(9,9,12,.76); border: 1px solid rgba(255,255,255,.12); }
.badge-update { color: #a9d6ff; }
.badge-event { color: #ffd27d; }
.card-body { padding: 22px; }
.date { color: var(--dark-muted); font-size: 12px; margin-bottom: 10px; }
.card-body h3 { font-size: 21px; margin-bottom: 10px; }
.card-body p { color: var(--muted); line-height: 1.58; min-height: 76px; }
.empty-card { grid-column: 1 / -1; padding: 38px; border-radius: 22px; border: 1px solid var(--border); background: var(--panel); color: var(--muted); }
.split-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; padding: 42px; border: 1px solid var(--border); border-radius: 28px; background: linear-gradient(135deg, rgba(42,29,23,.88), rgba(10,10,14,.9)); box-shadow: var(--shadow); }
.split-panel p { color: var(--muted); line-height: 1.7; }
.event-list { display: grid; gap: 12px; }
.mini-event { display: block; padding: 18px 20px; border-radius: 18px; border: 1px solid rgba(215,162,65,.18); background: rgba(255,255,255,.045); }
.mini-event span { display: block; color: var(--dark-muted); font-size: 12px; margin-bottom: 6px; }
.mini-event b { color: var(--gold2); }
.page-title, .article-hero { padding: 88px 0 54px; background: linear-gradient(180deg, rgba(156,47,34,.12), transparent); border-bottom: 1px solid rgba(215,162,65,.13); }
.page-title h1, .article-head h1 { font-size: clamp(36px, 6vw, 70px); margin: 10px 0 14px; }
.page-title p, .article-head p { color: var(--muted); font-size: 18px; max-width: 760px; line-height: 1.65; }
.article-wrap { max-width: 900px; }
.article-image { width: 100%; max-height: 460px; object-fit: cover; border-radius: 24px; border: 1px solid var(--border); margin-bottom: 28px; box-shadow: var(--shadow); }
.article-content { padding: 34px; border: 1px solid rgba(215,162,65,.18); border-radius: 24px; background: rgba(18,16,17,.86); color: #dfd2bd; line-height: 1.82; font-size: 17px; margin-bottom: 25px; }
.article-content p:first-child { margin-top: 0; }
.pager { display: flex; gap: 8px; margin-top: 34px; }
.pager a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border); color: var(--gold2); }
.pager a.active { background: var(--gold); color: #201207; }
.site-footer { padding: 42px 0 20px; background: #050608; border-top: 1px solid rgba(215,162,65,.15); color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; }
.footer-brand { color: var(--gold2); font-weight: 900; text-transform: uppercase; margin-bottom: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-links a { color: var(--gold2); }
.copyright { text-align: center; color: #6f644f; margin-top: 30px; font-size: 12px; }
.alert { margin-top: 18px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--border); background: rgba(215,162,65,.1); }
.alert-success { color: #dbffc7; border-color: rgba(122, 211, 91, .35); background: rgba(71, 141, 45, .16); }
.alert-error { color: #ffc7c7; border-color: rgba(255, 91, 91, .35); background: rgba(141, 45, 45, .16); }
.auth-page { display: grid; place-items: center; min-height: 100vh; padding: 24px; background: radial-gradient(circle at 50% 0%, rgba(156,47,34,.3), transparent 35rem), #07080b; }
.auth-box { width: min(430px, 100%); padding: 34px; border-radius: 26px; background: var(--panel); border: 1px solid var(--border); box-shadow: var(--shadow); }
.install-box { width: min(520px, 100%); }
.auth-box .brand-mark { margin: 0 auto 18px; }
.auth-box h1 { text-align: center; margin-bottom: 10px; }
.muted { color: var(--muted); line-height: 1.55; }
.auth-box label, .admin-form label { display: block; color: var(--gold2); font-size: 13px; font-weight: 800; margin: 16px 0 7px; }
input, textarea, select {
    width: 100%; border: 1px solid rgba(215,162,65,.22); border-radius: 14px; padding: 13px 14px; color: var(--text);
    background: rgba(6,7,10,.75); outline: none; font: inherit;
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: rgba(215,162,65,.62); box-shadow: 0 0 0 3px rgba(215,162,65,.1); }
.auth-box .btn { margin-top: 22px; }
.auth-link { display: block; text-align: center; color: var(--gold2); margin-top: 18px; }
.auth-flash { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); width: min(520px, calc(100% - 28px)); z-index: 10; }
.admin-shell { display: grid; grid-template-columns: 270px 1fr; min-height: 100vh; background: #08090d; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 24px; background: linear-gradient(180deg, #16120f, #09090c); border-right: 1px solid rgba(215,162,65,.18); }
.admin-logo { margin-bottom: 28px; }
.admin-sidebar nav { display: grid; gap: 8px; }
.admin-sidebar nav a, .admin-sidebar nav button { width: 100%; text-align: left; color: #decfad; background: rgba(255,255,255,.04); border: 1px solid rgba(215,162,65,.13); border-radius: 14px; padding: 13px 14px; font: inherit; cursor: pointer; }
.admin-sidebar nav a:hover, .admin-sidebar nav button:hover { color: var(--gold2); border-color: rgba(215,162,65,.35); }
.admin-main { padding: 34px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 24px; }
.admin-head h1 { margin-top: 8px; font-size: 42px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-bottom: 24px; }
.stat-card, .admin-card { border: 1px solid rgba(215,162,65,.18); border-radius: 22px; background: var(--panel); box-shadow: 0 12px 36px rgba(0,0,0,.22); }
.stat-card { padding: 24px; }
.stat-card span { color: var(--muted); }
.stat-card b { display: block; color: var(--gold2); font-size: 42px; margin-top: 8px; }
.admin-card { padding: 24px; }
.admin-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.admin-card-head h2 { font-size: 26px; }
.admin-card-head a { color: var(--gold2); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 13px 12px; border-bottom: 1px solid rgba(215,162,65,.12); text-align: left; vertical-align: middle; }
th { color: var(--gold2); font-size: 12px; text-transform: uppercase; letter-spacing: .7px; }
td { color: #decfad; }
td a { color: var(--gold2); }
.status { padding: 5px 9px; border-radius: 999px; font-size: 12px; text-transform: uppercase; font-weight: 900; }
.status.published { color: #c7ffd2; background: rgba(59,145,74,.18); }
.status.draft { color: #ffd9a7; background: rgba(176,107,31,.18); }
.actions-cell { display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.actions-cell form { display: inline; }
.actions-cell button { background: transparent; color: #ff9a9a; border: 0; cursor: pointer; padding: 0; font: inherit; }
.form-grid { display: grid; grid-template-columns: 1fr 330px; gap: 28px; align-items: start; }
.form-side { padding-left: 22px; border-left: 1px solid rgba(215,162,65,.15); }
.check-row { display: flex !important; gap: 10px; align-items: center; color: #decfad !important; }
.check-row input { width: auto; }
.admin-preview { width: 100%; border-radius: 16px; border: 1px solid rgba(215,162,65,.16); margin: 8px 0 10px; }
small { color: var(--dark-muted); line-height: 1.5; display: block; margin-top: 6px; }
@media (max-width: 920px) {
    .hero-grid, .split-panel, .form-grid, .admin-shell { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-sidebar { position: relative; height: auto; }
    .form-side { padding-left: 0; border-left: 0; }
}
@media (max-width: 760px) {
    .nav-toggle { display: inline-block; }
    .nav { display: none; position: absolute; left: 18px; right: 18px; top: 76px; padding: 12px; border-radius: 18px; background: rgba(7,8,11,.96); border: 1px solid var(--border); flex-direction: column; align-items: stretch; }
    .nav.open { display: flex; }
    .hero { padding: 72px 0 58px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .news-grid, .stat-grid { grid-template-columns: 1fr; }
    .section-head, .footer-grid, .admin-head { align-items: flex-start; flex-direction: column; }
    .section { padding: 52px 0; }
    .admin-main { padding: 22px; }
    .admin-head h1 { font-size: 32px; }
}

/* Rich editor for admin news body */
.editor-wrap {
    border: 1px solid rgba(215,162,65,.22);
    border-radius: 16px;
    background: rgba(6,7,10,.55);
    overflow: hidden;
}
.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 10px;
    border-bottom: 1px solid rgba(215,162,65,.14);
    background: linear-gradient(180deg, rgba(36,29,21,.95), rgba(14,13,14,.95));
}
.editor-toolbar button {
    width: auto;
    border: 1px solid rgba(215,162,65,.24);
    border-radius: 10px;
    padding: 8px 10px;
    color: #f2ddad;
    background: rgba(255,255,255,.045);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
.editor-toolbar button:hover {
    border-color: rgba(215,162,65,.55);
    color: var(--gold2);
}
.editor-toolbar button:disabled {
    opacity: .6;
    cursor: wait;
}
.editor-help {
    padding: 9px 13px;
    color: var(--dark-muted);
    font-size: 12px;
    border-bottom: 1px solid rgba(215,162,65,.1);
}
.rich-editor {
    min-height: 420px;
    padding: 18px;
    color: #dfd2bd;
    outline: none;
    line-height: 1.75;
    overflow: auto;
}
.rich-editor:empty::before {
    content: attr(data-placeholder);
    color: #746d62;
}
.rich-editor p { margin: 0 0 14px; }
.rich-editor h2, .rich-editor h3, .rich-editor h4 { margin: 22px 0 12px; color: #fff7dc; }
.rich-editor ul, .rich-editor ol { padding-left: 24px; }
.rich-editor img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 14px 0;
    border-radius: 14px;
    border: 1px solid rgba(215,162,65,.18);
}
.rich-editor table,
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    min-width: 0;
    background: rgba(0,0,0,.18);
}
.rich-editor th,
.rich-editor td,
.article-content th,
.article-content td {
    border: 1px solid rgba(215,162,65,.24);
    padding: 10px 12px;
    color: #dfd2bd;
    vertical-align: top;
}
.rich-editor th,
.article-content th {
    color: var(--gold2);
    background: rgba(215,162,65,.10);
    text-transform: none;
    letter-spacing: 0;
    font-size: inherit;
}
.article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 18px;
    border: 1px solid rgba(215,162,65,.18);
    box-shadow: 0 12px 32px rgba(0,0,0,.25);
}
.article-content h2,
.article-content h3,
.article-content h4 {
    color: #fff7dc;
    margin: 30px 0 14px;
}
.article-content ul,
.article-content ol {
    padding-left: 26px;
}
.article-content blockquote {
    margin: 18px 0;
    padding: 14px 18px;
    border-left: 4px solid var(--gold);
    background: rgba(215,162,65,.08);
    border-radius: 12px;
}

/* Server selector */
.server-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 10px;
    padding: 5px;
    border: 1px solid rgba(215,162,65,.28);
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,218,121,.10), transparent 54%),
        rgba(13, 11, 9, .78);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 8px 22px rgba(0,0,0,.22);
    white-space: nowrap;
}
.server-switch-title {
    padding-left: 10px;
    color: #a99a80;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.server-pill-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.server-pill {
    min-width: 82px;
    height: 34px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: #e6dac3;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.server-pill:hover {
    color: #fff4d0;
    border-color: rgba(255,221,132,.28);
    background: rgba(255,211,112,.08);
}
.server-pill:active {
    transform: translateY(1px);
}
.server-pill.is-active {
    color: #1c150d;
    border-color: rgba(255,233,153,.78);
    background: linear-gradient(180deg, #fff0a8, #d6a83c 58%, #8a651d);
    box-shadow: 0 0 0 1px rgba(255,222,113,.14), 0 8px 20px rgba(211,160,54,.28), inset 0 1px 0 rgba(255,255,255,.44);
    text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.server-modal-open {
    overflow: hidden;
}
.server-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background:
        radial-gradient(circle at 50% 18%, rgba(232,185,78,.22), transparent 34%),
        radial-gradient(circle at 15% 80%, rgba(109,54,24,.26), transparent 32%),
        rgba(0,0,0,.82);
    backdrop-filter: blur(8px);
}
.server-modal {
    width: min(620px, 100%);
    position: relative;
    overflow: hidden;
    padding: 40px 38px 36px;
    border: 1px solid rgba(255,218,120,.34);
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,224,137,.16), transparent 34%),
        linear-gradient(180deg, rgba(31,25,18,.96), rgba(8,7,8,.98));
    box-shadow: 0 34px 110px rgba(0,0,0,.68), inset 0 1px 0 rgba(255,255,255,.06);
    text-align: center;
}
.server-modal:before {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,232,150,.62), transparent);
}
.server-modal h2 {
    margin: 8px 0 10px;
    color: #fff4d6;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.05;
    text-shadow: 0 3px 16px rgba(0,0,0,.6);
}
.server-modal p {
    margin: 0 auto 26px;
    max-width: 470px;
    color: #d6c6aa;
    line-height: 1.65;
}
.server-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.server-choice-card {
    position: relative;
    min-height: 138px;
    padding: 24px 18px 22px;
    border: 1px solid rgba(215,162,65,.32);
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,218,119,.14), transparent 58%),
        linear-gradient(180deg, rgba(42,30,22,.95), rgba(11,10,11,.96));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 16px 38px rgba(0,0,0,.30);
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.server-choice-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,221,132,.72);
    background:
        radial-gradient(circle at 50% 0%, rgba(255,220,122,.24), transparent 60%),
        linear-gradient(180deg, rgba(58,40,25,.98), rgba(13,11,12,.98));
    box-shadow: 0 22px 46px rgba(0,0,0,.38), 0 0 24px rgba(210,158,53,.18);
}
.server-choice-card span {
    display: block;
    margin-bottom: 9px;
    color: var(--gold2);
    font-size: 25px;
    font-weight: 900;
}
.server-choice-card small {
    color: #bda889;
    line-height: 1.45;
}


@media (max-width: 820px) {
    .server-switch {
        margin: 10px 0 0;
        width: 100%;
        justify-content: space-between;
    }
    .server-pill-group {
        flex: 1;
        justify-content: flex-end;
    }
    .server-choice-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .server-switch {
        align-items: stretch;
        border-radius: 18px;
        flex-direction: column;
        padding: 10px;
    }
    .server-switch-title {
        padding-left: 2px;
    }
    .server-pill-group {
        width: 100%;
    }
    .server-pill {
        flex: 1;
        min-width: 0;
    }
    .server-modal {
        padding: 30px 20px 24px;
        border-radius: 22px;
    }
}

/* =========================================================
   Public redesign: closer to at-ko.ru landing style
   ========================================================= */
body:not(.auth-page) {
    background:
        radial-gradient(circle at 10% 66%, rgba(219, 191, 97, .10) 0 3px, transparent 4px),
        radial-gradient(circle at 86% 50%, rgba(219, 191, 97, .09) 0 4px, transparent 5px),
        radial-gradient(circle at 10% 66%, transparent 0 85px, rgba(255,255,255,.055) 86px 87px, transparent 88px 130px, rgba(255,255,255,.045) 131px 132px, transparent 133px 190px, rgba(255,255,255,.035) 191px 192px, transparent 193px),
        radial-gradient(circle at 86% 50%, transparent 0 74px, rgba(255,255,255,.05) 75px 76px, transparent 77px 126px, rgba(255,255,255,.04) 127px 128px, transparent 129px 178px, rgba(255,255,255,.03) 179px 180px, transparent 181px),
        #221f1c;
    color: #f2f2ee;
}

.container {
    width: min(1160px, calc(100% - 44px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(34, 31, 28, .97);
    border-bottom: 0;
    box-shadow: none;
    backdrop-filter: blur(8px);
}

.nav-wrap {
    min-height: 96px;
    justify-content: flex-start;
}

.logo {
    min-width: 150px;
    gap: 14px;
    color: #f7f5ed;
}

.logo-emblem,
.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: rgba(255,255,255,.62);
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -3px;
    font-family: Arial Black, Impact, Tahoma, sans-serif;
    text-shadow: 0 0 18px rgba(255,255,255,.12);
}

.logo b {
    font-size: 15px;
    letter-spacing: .4px;
}

.nav {
    margin-left: auto;
    gap: 24px;
}

.nav a,
.nav-admin {
    padding: 0;
    border: 0;
    border-radius: 0;
    color: rgba(255,255,255,.58);
    font-size: 15px;
    font-weight: 800;
    text-transform: none;
    background: transparent;
}

.nav a:hover,
.nav-admin:hover {
    color: #e3c966;
    border: 0;
    background: transparent;
}

.server-switch {
    margin-left: 10px;
    height: 46px;
    padding: 4px 5px 4px 15px;
    border: 1px solid rgba(218, 196, 106, .20);
    border-radius: 999px;
    background: rgba(15,14,13,.55);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.22);
}

.server-switch-title {
    color: rgba(255,255,255,.45);
    font-size: 11px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.server-pill-group {
    gap: 4px;
}

.server-pill {
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    color: rgba(255,255,255,.72);
    background: transparent;
    border: 0;
    font-weight: 900;
}

.server-pill:hover,
.server-pill.is-active {
    color: #17140e;
    background: linear-gradient(180deg, #f3df83, #cfaa46);
    box-shadow: 0 6px 18px rgba(219, 191, 97, .22);
}

.ao-hero {
    padding: 38px 0 0;
}

.ao-hero-panel {
    min-height: 560px;
    display: grid;
    grid-template-columns: .98fr 1.02fr;
    align-items: center;
    gap: 38px;
    padding: 72px 72px 68px;
    border-radius: 10px;
    background:
        linear-gradient(90deg, rgba(42,39,36,.98) 0%, rgba(42,39,36,.96) 48%, rgba(38,35,32,.68) 100%),
        url('../img/hero.jpg') center/cover no-repeat;
    box-shadow: 0 30px 90px rgba(0,0,0,.26);
    overflow: hidden;
    position: relative;
}

.ao-hero-panel:after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -140px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 0 0 72px transparent, 0 0 0 70px rgba(255,255,255,.035), 0 0 0 140px rgba(255,255,255,.025);
    pointer-events: none;
}

.ao-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 18px;
    border-radius: 5px;
    background: #d7bd61;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .2px;
    margin-bottom: 22px;
}

.hero-copy h1,
.ao-hero h1 {
    font-size: clamp(42px, 5.4vw, 70px);
    line-height: 1.08;
    text-transform: none;
    letter-spacing: -.9px;
    text-shadow: none;
    color: #fff;
    margin: 0;
}

.ao-hero h1 span {
    color: #fff;
}

.hero-copy p,
.ao-hero p {
    max-width: 520px;
    color: rgba(255,255,255,.56);
    font-size: 20px;
    line-height: 1.42;
    margin: 24px 0 0;
}

.hero-actions {
    margin-top: 30px;
    gap: 14px;
}

.btn {
    min-height: 58px;
    padding: 0 30px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .35px;
}

.btn-primary {
    background: #5a5235;
    color: #fff;
    box-shadow: none;
}

.btn-primary:hover {
    background: #d9c15f;
    color: #191710;
}

.btn-outline,
.btn-ghost {
    background: rgba(0,0,0,.14);
    color: #fff;
    border-color: rgba(217,193,95,.28);
}

.btn-outline:hover,
.btn-ghost:hover {
    background: rgba(217,193,95,.14);
    color: #f3db72;
}

.ao-feature-box {
    justify-self: stretch;
    max-width: 480px;
    margin-left: auto;
    position: relative;
    z-index: 1;
}

.ao-feature-link {
    display: block;
    min-height: 360px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: rgba(22,20,18,.65);
    box-shadow: 0 25px 70px rgba(0,0,0,.30);
}

.ao-feature-link img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    filter: grayscale(.08) contrast(1.02) saturate(.95);
}

.ao-feature-link:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.78));
}

.ao-feature-caption {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 24px;
    z-index: 2;
}

.ao-feature-caption small {
    display: block;
    color: rgba(255,255,255,.48);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .7px;
    margin-bottom: 8px;
}

.ao-feature-caption b {
    display: block;
    color: #fff;
    font-size: 25px;
    line-height: 1.16;
}

.ao-start-section {
    padding: 20px 0 54px;
    background: #221f1c;
}

.ao-section-title {
    margin-bottom: 26px;
}

.ao-section-title h2 {
    font-size: 29px;
    color: #fff;
    letter-spacing: -.3px;
}

.ao-section-title p {
    margin: 4px 0 0;
    color: rgba(255,255,255,.42);
}

.ao-section-title b {
    color: #dfc763;
}

.ao-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
}

.ao-info-card {
    min-height: 158px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 34px 44px;
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(93,84,52,.96), rgba(63,58,42,.92));
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ao-info-card:nth-child(2) {
    background: linear-gradient(135deg, #ddc968, #d3b54a);
    color: #17140e;
}

.ao-info-card:after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -46px;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 50%;
    opacity: .6;
}

.ao-info-icon {
    font-size: 46px;
    font-weight: 900;
    line-height: 1;
    color: rgba(255,255,255,.22);
}

.ao-info-card:nth-child(2) .ao-info-icon {
    color: rgba(0,0,0,.18);
}

.ao-info-card b {
    font-size: 20px;
    text-transform: uppercase;
}

.ao-info-card small {
    margin: 0;
    color: rgba(255,255,255,.72);
}

.ao-info-card:nth-child(2) small {
    color: rgba(0,0,0,.62);
}

.section {
    padding: 70px 0;
}

.news-section {
    background: #221f1c;
}

.section-head {
    margin-bottom: 26px;
}

.eyebrow {
    color: #d9c15f;
    font-size: 13px;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.section-head h2,
.split-panel h2,
.page-title h1,
.article-head h1 {
    color: #fff;
    text-transform: none;
    letter-spacing: -.5px;
}

.section-head h2 {
    font-size: 34px;
}

.link-more,
.read-more {
    color: #d9c15f;
    font-weight: 900;
}

.news-grid {
    gap: 34px;
}

.news-card {
    border: 0;
    border-radius: 7px;
    background: #2b2825;
    box-shadow: none;
    overflow: hidden;
    transition: transform .18s ease, background .18s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    background: #302c28;
}

.card-image {
    height: 205px;
    background: #211f1d;
}

.card-image img {
    filter: grayscale(.18) contrast(1.04) saturate(.82);
}

.image-placeholder {
    background: radial-gradient(circle at 50% 45%, rgba(214,194,98,.16), transparent 30%), #2b2825;
}

.image-placeholder span {
    color: rgba(214,194,98,.48);
}

.badge {
    z-index: 3;
    top: 16px;
    left: 16px;
    border: 0;
    border-radius: 5px;
    background: #d7bd61;
    color: #fff;
    padding: 7px 12px;
    font-size: 12px;
}

.badge-update,
.badge-event {
    color: #fff;
}

.card-body {
    padding: 25px 28px 28px;
}

.date {
    color: rgba(255,255,255,.35);
    margin-bottom: 12px;
}

.card-body h3 {
    font-size: 22px;
    color: #fff;
}

.card-body p {
    color: rgba(255,255,255,.55);
    min-height: 70px;
}

.ao-events-section {
    background: #1f1c19;
}

.split-panel,
.ao-events-panel {
    border: 0;
    border-radius: 8px;
    background: #2b2825;
    box-shadow: none;
}

.split-panel p {
    color: rgba(255,255,255,.52);
}

.mini-event {
    border: 0;
    border-radius: 5px;
    background: rgba(0,0,0,.18);
}

.mini-event span {
    color: rgba(255,255,255,.34);
}

.mini-event b {
    color: #d9c15f;
}

.page-title,
.article-hero {
    padding: 76px 0 54px;
    background: linear-gradient(180deg, #2b2825, #221f1c);
    border-bottom: 0;
}

.page-title p,
.article-head p {
    color: rgba(255,255,255,.56);
}

.article-content {
    border: 0;
    border-radius: 8px;
    background: #2b2825;
    color: rgba(255,255,255,.72);
}

.article-image {
    border: 0;
    border-radius: 8px;
}

.site-footer {
    background: #1b1917;
    border-top: 0;
    color: rgba(255,255,255,.45);
}

.footer-brand,
.footer-links a {
    color: #d9c15f;
}

.server-modal-backdrop {
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(8px);
}

.server-modal {
    border: 0;
    border-radius: 10px;
    background: #2b2825;
    box-shadow: 0 30px 90px rgba(0,0,0,.45);
}

.server-modal h2 {
    color: #fff;
}

.server-modal p {
    color: rgba(255,255,255,.58);
}

.server-choice-card {
    border: 1px solid rgba(217,193,95,.20);
    border-radius: 8px;
    background: #221f1c;
}

.server-choice-card:hover {
    background: #d9c15f;
    color: #17140e;
}

.server-choice-card:hover small {
    color: rgba(0,0,0,.62);
}

@media (max-width: 980px) {
    .nav {
        gap: 14px;
    }
    .ao-hero-panel {
        grid-template-columns: 1fr;
        padding: 46px;
    }
    .ao-feature-box {
        max-width: none;
        margin-left: 0;
    }
    .ao-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 760px) {
    .nav-wrap {
        min-height: 78px;
    }
    .nav {
        margin-left: 0;
        gap: 0;
        background: rgba(34,31,28,.98);
    }
    .server-switch {
        margin-left: 0;
        justify-content: space-between;
    }
    .ao-hero {
        padding-top: 20px;
    }
    .ao-hero-panel {
        min-height: auto;
        padding: 32px 24px;
    }
    .ao-feature-link,
    .ao-feature-link img {
        min-height: 260px;
        height: 260px;
    }
    .hero-copy h1,
    .ao-hero h1 {
        font-size: 38px;
    }
    .hero-copy p,
    .ao-hero p {
        font-size: 17px;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   Original at-ko.ru style refresh using provided assets
   ========================================================= */
body:not(.auth-page) {
    background: #211d1a url('../img/ao-bgmain.png') center top / cover no-repeat fixed !important;
    color: #fff;
    font-family: 'Open Sans', Tahoma, Arial, sans-serif;
    overflow-x: hidden;
}

.container {
    width: min(1140px, calc(100% - 30px));
    max-width: 1140px;
}

.site-header {
    position: relative;
    top: auto;
    z-index: 30;
    margin-top: 25px;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.nav-wrap {
    min-height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 46px;
    min-width: 165px;
    position: relative;
    z-index: 4;
}

.logo {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    transition: .3s all;
}

.logo:hover {
    opacity: .65;
}

.logo-img {
    width: 38px;
    height: 42px;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.logo b {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .2px;
}

.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 34px;
}

.nav a,
.nav-admin {
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #a0a0a0;
    background: transparent;
    font-size: 16px;
    font-weight: 800;
    line-height: 16px;
    text-transform: none;
    letter-spacing: 0;
}

.nav a:hover,
.nav-admin:hover {
    color: #fff;
    background: transparent;
    border: 0;
}

.server-switch {
    margin-left: 2px;
    height: 42px;
    padding: 3px 4px 3px 14px;
    border: 1px solid rgba(220,177,92,.28);
    border-radius: 999px;
    background: rgba(28,28,28,.64);
    box-shadow: none;
}

.server-switch-title {
    color: #a0a0a0;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.server-pill-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.server-pill {
    height: 32px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #d6d6d6;
    font-size: 12px;
    font-weight: 900;
}

.server-pill:hover,
.server-pill.is-active {
    color: #17130b;
    background: #dcb15c;
    box-shadow: 0 0 20px rgba(220,177,92,.32);
}

.nav-toggle {
    border-color: rgba(220,177,92,.35);
    color: #dcb15c;
    background: rgba(255,255,255,.05);
}

.original-intro,
.ao-hero {
    max-width: 100%;
    overflow: visible;
    margin-top: 47px;
    padding: 0 0 110px;
    background: transparent !important;
}

.original-intro .container {
    position: relative;
}

.ao-circle {
    pointer-events: none;
    width: 418px;
    z-index: 6;
    position: absolute;
    opacity: .86;
    animation: ao-circle-rotate 52s linear infinite;
}

.ao-circle-one {
    right: -300px;
    bottom: -105px;
}

.ao-circle-two {
    left: -292px;
    bottom: -160px;
}


@media (max-width: 1500px) {
    .ao-circle-two {
        left: -245px;
    }
}

@keyframes ao-circle-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ao-hero-panel {
    min-height: 520px;
    display: block;
    padding: 79px 96px;
    border: 0;
    border-radius: 10px;
    background: rgba(255,255,255,.05) !important;
    box-shadow: none;
    overflow: visible;
    position: relative;
}

.ao-hero-panel:after {
    display: none;
}

.hero-copy {
    position: relative;
    z-index: 3;
    max-width: 480px;
}

.ao-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 27px;
    padding: 4px 14px;
    color: #fff;
    border-radius: 5px;
    background: #dcb15c;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0;
}

.hero-copy h1,
.ao-hero h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.16;
    margin: 0 0 15px;
    text-transform: none;
    letter-spacing: 0;
    text-shadow: none;
}

.ao-hero h1 span {
    color: #fff;
}

.hero-copy p,
.ao-hero p {
    max-width: 510px;
    color: #a0a0a0;
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.35;
}

.original-actions,
.hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 18px;
    width: 249px;
}

.btn,
.original-actions .btn {
    width: 249px;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    padding: 18px 27px;
    border: 0;
    border-radius: 0;
    background: #4e4532;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: normal;
    letter-spacing: 0;
    text-transform: uppercase;
    box-shadow: none;
    transition: .3s all;
}

.original-actions .btn:before {
    content: "↗";
    width: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
}

.btn:hover,
.btn-primary:hover,
.btn-outline:hover,
.btn-ghost:hover {
    background: rgba(78,69,50,.52);
    color: #fff;
    transform: none;
}

.ao-original-picture {
    position: absolute;
    right: 22px;
    bottom: 0;
    width: min(491px, 47%);
    height: 473px;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.ao-original-picture:before {
    content: "";
    position: absolute;
    right: 4px;
    top: 18px;
    width: 170px;
    height: 150px;
    border-radius: 50%;
    border: 0;
    background:
        radial-gradient(ellipse at 55% 48%,
            rgba(255, 244, 196, .58) 0%,
            rgba(220, 177, 92, .38) 22%,
            rgba(220, 177, 92, .13) 44%,
            rgba(220, 177, 92, 0) 72%);
    filter: blur(10px);
    mix-blend-mode: screen;
    opacity: .34;
    animation: ao-staff-glow 3.8s ease-in-out infinite;
}

@keyframes ao-pulse {
    0%, 100% { opacity: .42; transform: scale(.96); }
    50% { opacity: .75; transform: scale(1.02); }
}

.ao-original-picture img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
    filter: drop-shadow(0 18px 26px rgba(0,0,0,.28));
}

.ao-feature-box {
    position: absolute;
    right: 40px;
    bottom: 34px;
    z-index: 4;
    width: min(390px, 38%);
    max-width: none;
    margin: 0;
}

.ao-feature-link {
    display: block;
    min-height: 168px;
    height: 168px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    background: rgba(28,28,28,.82);
    box-shadow: 0 18px 36px rgba(0,0,0,.34);
}

.ao-feature-link img {
    width: 100%;
    height: 168px;
    object-fit: cover;
    filter: grayscale(.25) contrast(1.04) saturate(.72);
}

.ao-feature-link:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.80));
}

.ao-feature-link .badge {
    top: 15px;
    left: 15px;
    z-index: 3;
}

.ao-feature-caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 20px;
    z-index: 3;
}

.ao-feature-caption small {
    display: block;
    color: #a0a0a0;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin: 0 0 5px;
}

.ao-feature-caption b {
    display: block;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.15;
}

.ao-start-section,
.news-section,
.ao-events-section {
    background: transparent !important;
}

.ao-start-section {
    padding: 0 0 58px;
    margin-top: -70px;
    position: relative;
    z-index: 8;
}

.ao-section-title {
    margin-bottom: 32px;
}

.ao-section-title h2,
.section-head h2,
.split-panel h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0;
    margin: 0;
}

.ao-section-title p,
.split-panel p {
    color: #a0a0a0;
    font-size: 14px;
    margin: 5px 0 0;
}

.ao-section-title b {
    color: #dcb15c;
}

.ao-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.ao-info-card {
    min-height: 156px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
    padding: 34px 40px 30px;
    border: 0;
    border-radius: 5px;
    background: #4e4532;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: .3s all;
}

.ao-info-card:nth-child(2) {
    background: #dcb15c;
    color: #000;
}

.ao-info-card:hover {
    opacity: .82;
}

.ao-info-card:after {
    content: "";
    position: absolute;
    right: -44px;
    bottom: -48px;
    width: 170px;
    height: 170px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.24);
    box-shadow: 0 0 0 55px rgba(255,255,255,.05);
}

.ao-info-icon {
    position: absolute;
    left: 38px;
    top: 28px;
    color: rgba(255,255,255,.26);
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
}

.ao-info-card:nth-child(2) .ao-info-icon {
    color: rgba(0,0,0,.18);
}

.ao-info-card b {
    color: inherit;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
}

.ao-info-card small {
    color: rgba(255,255,255,.75);
    font-size: 13px;
    margin: 0;
}

.ao-info-card:nth-child(2) small {
    color: rgba(0,0,0,.66);
}

.section {
    padding: 64px 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 27px;
}

.eyebrow {
    color: #dcb15c;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 9px;
}

.link-more,
.read-more {
    color: #dcb15c;
    font-weight: 900;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.news-card {
    border: 0;
    border-radius: 5px;
    background: rgba(255,255,255,.05);
    box-shadow: none;
    overflow: hidden;
    transition: .3s all;
}

.news-card:hover {
    opacity: .88;
    transform: none;
    background: rgba(255,255,255,.075);
}

.card-image {
    height: 210px;
    background: rgba(255,255,255,.04);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(.28) contrast(1.04) saturate(.78);
}

.image-placeholder {
    background: #ffffff0d;
}

.image-placeholder span {
    color: rgba(220,177,92,.36);
    font-size: 70px;
}

.badge {
    border: 0;
    border-radius: 5px;
    background: #dcb15c;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    padding: 7px 12px;
    text-transform: uppercase;
}

.badge-update,
.badge-event {
    color: #fff;
}

.card-body {
    padding: 25px 27px 29px;
}

.date {
    color: #a0a0a0;
    font-size: 12px;
    margin-bottom: 10px;
}

.card-body h3 {
    color: #fff;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.18;
    margin: 0 0 11px;
}

.card-body p {
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.55;
    min-height: 66px;
}

.empty-card,
.split-panel,
.ao-events-panel {
    border: 0;
    border-radius: 5px;
    background: rgba(255,255,255,.05);
    box-shadow: none;
}

.split-panel {
    padding: 42px 52px;
}

.mini-event {
    border: 0;
    border-radius: 5px;
    background: rgba(255,255,255,.05);
}

.mini-event span {
    color: #a0a0a0;
}

.mini-event b {
    color: #dcb15c;
}

.page-title,
.article-hero {
    background: transparent !important;
    border-bottom: 0;
    padding: 86px 0 58px;
}

.page-title h1,
.article-head h1 {
    color: #fff;
    font-size: clamp(40px, 6vw, 70px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0;
}

.page-title p,
.article-head p {
    color: #a0a0a0;
}

.article-content {
    border: 0;
    border-radius: 5px;
    background: rgba(255,255,255,.05);
    color: #dedede;
}

.article-image {
    border: 0;
    border-radius: 5px;
}

.site-footer {
    margin: 30px 0 24px;
    padding: 0;
    background: transparent !important;
    border: 0;
    color: #a0a0a0;
}

.footer-inner {
    max-width: 574px;
    width: min(574px, calc(100% - 30px));
}

.footer-picture {
    width: 100%;
    margin-bottom: 7px;
    pointer-events: none;
    user-select: none;
}

.footer-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-brand {
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 4px;
}

.footer-content p {
    color: #a0a0a0;
    font-size: 10px;
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    color: #dcb15c;
    font-size: 12px;
}

.copyright {
    color: #a0a0a0;
    margin-top: 16px;
    font-size: 10px;
    text-align: center;
}

.server-modal-backdrop {
    background: rgba(0,0,0,.74);
    backdrop-filter: blur(8px);
}

.server-modal {
    border: 0;
    border-radius: 5px;
    background: #1c1c1c;
    box-shadow: 0 30px 90px rgba(0,0,0,.48);
}

.server-modal h2 {
    color: #fff;
}

.server-modal p {
    color: #a0a0a0;
}

.server-choice-card {
    border: 0;
    border-radius: 5px;
    background: rgba(255,255,255,.05);
    color: #fff;
}

.server-choice-card small {
    color: #a0a0a0;
}

.server-choice-card:hover {
    background: #dcb15c;
    color: #000;
}

.server-choice-card:hover small {
    color: rgba(0,0,0,.65);
}

@media (max-width: 1100px) {
    .nav { gap: 18px; }
    .nav a { font-size: 14px; }
    .ao-feature-box { width: min(360px, 40%); }
}

@media (max-width: 920px) {
    .site-header { margin-top: 18px; }
    .nav-toggle { display: inline-flex; }
    .nav {
        display: none;
        position: absolute;
        left: 15px;
        right: 15px;
        top: 60px;
        padding: 18px;
        border-radius: 8px;
        background: rgba(28,28,28,.98);
        border: 1px solid rgba(220,177,92,.18);
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .nav.open { display: flex; }
    .server-switch { margin-left: 0; justify-content: space-between; }
    .ao-hero-panel { padding: 60px 55px; }
    .ao-original-picture { width: 45%; opacity: .55; }
    .ao-feature-box { position: relative; right: auto; bottom: auto; width: 100%; max-width: 440px; margin-top: 28px; }
    .ao-start-section { margin-top: -40px; }
    .ao-info-grid, .news-grid { grid-template-columns: 1fr; gap: 18px; }
    .split-panel { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .original-intro, .ao-hero { margin-top: 28px; padding-bottom: 76px; }
    .ao-hero-panel { min-height: auto; padding: 32px; }
    .ao-original-picture { display: none; }
    .ao-circle { display: none; }
    .hero-copy h1, .ao-hero h1 { font-size: 36px; }
    .hero-copy p, .ao-hero p { font-size: 16px; }
    .original-actions, .hero-actions, .btn, .original-actions .btn { width: 100%; }
    .ao-start-section { margin-top: -30px; }
    .section-head, .footer-content { flex-direction: column; align-items: flex-start; }
    .footer-links { justify-content: flex-start; }
}

/* Keep admin/editor buttons practical after public redesign */
.admin-main .btn,
.auth-box .btn,
.article-wrap .btn {
    width: auto;
    justify-content: center;
}
.admin-main .btn.full,
.auth-box .btn.full {
    width: 100%;
}

/* Staff glow: subtle blinking light, without the visible decorative ring */
@keyframes ao-staff-glow {
    0%, 100% {
        opacity: .20;
        transform: scale(.92);
    }
    45% {
        opacity: .72;
        transform: scale(1.08);
    }
    65% {
        opacity: .42;
        transform: scale(1.00);
    }
}

/* Article image autosize fix: show full images without cropping on news pages */
.article-wrap {
    width: min(980px, calc(100% - 30px));
}

.article-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
}

.article-content {
    overflow-x: auto;
}

.article-content img,
.article-content figure img,
.article-content p img,
.article-content a img {
    display: block !important;
    max-width: 100% !important;
    width: auto;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
}

.article-content img[width],
.article-content img[height] {
    max-width: 100% !important;
    height: auto !important;
}

.article-content figure {
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
}

.article-content table {
    max-width: 100%;
}

.article-content video,
.article-content iframe {
    max-width: 100% !important;
}


/* Final article cover fix: no cropping for the main news image */
.article-cover {
    display: block;
    width: 100%;
    margin: 0 0 28px 0;
    padding: 0;
    line-height: 0;
    overflow: visible;
    background: transparent;
}

.article-cover-img,
.article-wrap > img.article-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    border: 0 !important;
    border-radius: 5px;
    box-shadow: 0 18px 48px rgba(0,0,0,.28);
}

.article-cover-img {
    aspect-ratio: auto !important;
}

.article-section .article-wrap {
    overflow: visible;
}

/* Article cover alignment fix: image width must match the description card and keep rounded corners */
.article-section .article-wrap {
    width: min(1180px, calc(100% - 36px)) !important;
    max-width: 1180px !important;
}

.article-section .article-content {
    width: 100% !important;
}

.article-section figure.article-cover,
.article-section div.article-cover,
.article-cover {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 28px 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    line-height: 0 !important;
    border: 0 !important;
    border-radius: 5px !important;
    background: transparent !important;
}

.article-section .article-cover-img,
.article-cover > img,
.article-wrap > .article-cover > img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 5px !important;
    box-shadow: 0 18px 48px rgba(0,0,0,.28) !important;
}

/* 2026-05-01: stable article header without JS jumping + aligned excerpt */
.article-hero-aligned {
    padding-bottom: 42px !important;
}
.article-hero-aligned .article-head,
.article-head {
    width: min(1180px, calc(100% - 36px)) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}
.article-head-left { text-align: left !important; }
.article-head-center { text-align: center !important; }
.article-head-right { text-align: right !important; }
.article-head .eyebrow,
.article-head h1,
.article-head p {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}
.article-head-left .eyebrow,
.article-head-left h1,
.article-head-left p { text-align: left !important; }
.article-head-center .eyebrow,
.article-head-center h1,
.article-head-center p { text-align: center !important; }
.article-head-right .eyebrow,
.article-head-right h1,
.article-head-right p { text-align: right !important; }
.article-head h1 {
    display: block !important;
    font-weight: var(--article-title-weight, 900) !important;
    font-size: clamp(24px, min(var(--article-title-size, 64px), 6vw), var(--article-title-size, 64px)) !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
}
.article-head p {
    display: block !important;
    color: #a0a0a0 !important;
    font-size: 18px !important;
    line-height: 1.72 !important;
}
@media (max-width: 700px) {
    .article-head h1 {
        white-space: normal !important;
        font-size: clamp(24px, min(var(--article-title-size, 64px), 10vw), var(--article-title-size, 64px)) !important;
    }
}

/* 2026-05-01: cleaner grouped toolbar in admin editor */
.editor-toolbar-modern {
    gap: 10px !important;
    padding: 12px !important;
    align-items: stretch !important;
    background: linear-gradient(180deg, rgba(42,35,27,.98), rgba(18,16,17,.98)) !important;
}
.toolbar-group {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding: 8px !important;
    border: 1px solid rgba(215,162,65,.14) !important;
    border-radius: 12px !important;
    background: rgba(0,0,0,.18) !important;
}
.toolbar-label {
    width: 100% !important;
    color: rgba(242,221,173,.62) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .9px !important;
    margin: 0 2px 2px !important;
}
.editor-toolbar-modern button {
    min-height: 34px !important;
    border-radius: 8px !important;
    padding: 7px 10px !important;
    background: rgba(255,255,255,.055) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
    transition: transform .15s ease, border-color .15s ease, background .15s ease, color .15s ease !important;
}
.editor-toolbar-modern button:hover {
    transform: translateY(-1px) !important;
    background: rgba(220,177,92,.16) !important;
}
.editor-toolbar-modern button:active {
    transform: translateY(0) !important;
}
.side-fieldset {
    margin: 0 0 18px !important;
    padding: 14px !important;
    border: 1px solid rgba(215,162,65,.16) !important;
    border-radius: 14px !important;
    background: rgba(0,0,0,.16) !important;
}
.side-fieldset-title {
    color: var(--gold2) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .8px !important;
    margin-bottom: 12px !important;
}
@media (max-width: 700px) {
    .toolbar-group { width: 100% !important; }
}
