/* Arena2 2026 visual system — final compatibility layer. */
:root {
    --bg: #10090a;
    --surface: #1b1012;
    --surface-light: #281719;
    --gold: #c9974e;
    --gold-light: #efd59a;
    --red: #8e2632;
    --red-light: #c94a58;
    --cream: #f3e4ca;
    --text: #eadfd2;
    --muted: #a9968d;
    --border: rgba(208, 158, 83, .22);
    --shadow: 0 22px 55px rgba(0, 0, 0, .34);
    --radius: 8px;
}

html { scroll-behavior: smooth; }
body {
    color: var(--text);
    background-color: var(--bg) !important;
    background-image: url('../images/header_bg.png');
    background-position: 50% 0;
    background-repeat: no-repeat;
    background-size: max(1500px, 100vw) auto;
}
body::before {
    background:
        linear-gradient(180deg, rgba(8, 4, 5, .08) 0, rgba(12, 6, 7, .15) 430px, #120a0b 1010px),
        radial-gradient(circle at 50% 16%, transparent 0, rgba(8, 4, 5, .38) 68%);
}
::selection { color: #160b0d; background: var(--gold-light); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 9999; padding: 10px 14px; color: #160b0d; background: var(--gold-light); border-radius: 3px; transform: translateY(-150%); }
.skip-link:focus { color: #160b0d; transform: translateY(0); }
a { color: var(--gold-light); }
a:hover { color: #fff3ce; text-decoration: none; }
img { max-width: 100%; height: auto; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold-light) !important;
    outline-offset: 3px;
}

/* Navigation */
#mainNav {
    padding: 12px 18px;
    background: linear-gradient(180deg, rgba(13, 7, 8, .97), rgba(18, 9, 11, .93));
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .28);
    backdrop-filter: blur(14px);
}
#mainNav::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(225, 179, 99, .42), transparent);
}
#mainNav > .container { min-height: 62px; }
.battle-brand { flex: 0 0 auto; }
.brand-copy strong { color: var(--cream); text-shadow: 0 2px 14px rgba(0,0,0,.7); }
.brand-copy strong span { color: var(--red-light); }
.brand-copy small { color: var(--gold); }
.battle-menu .nav-link {
    position: relative;
    min-height: 46px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #d5c8bb !important;
}
.battle-menu .nav-link:hover,
.battle-menu .nav-link:focus-visible {
    color: var(--cream) !important;
    background: rgba(181, 83, 65, .1);
    border-color: rgba(201, 151, 78, .16);
}
.battle-menu .nav-link > i { color: var(--gold); }
.nav-register { background: linear-gradient(180deg, rgba(142,38,50,.38), rgba(92,24,32,.25)); }
.ranking-options,
.account-top-options,
.language-options {
    color: var(--text);
    background: linear-gradient(160deg, rgba(42, 22, 25, .99), rgba(18, 10, 12, .99));
    border: 1px solid rgba(210, 160, 82, .3);
    border-radius: 5px;
    box-shadow: var(--shadow);
}
.ranking-options a,
.account-top-options a,
.language-options a { color: #d9cec1; }
.ranking-options a:hover,
.account-top-options a:hover,
.language-options a:hover { color: var(--cream); background: rgba(201,151,78,.08); }
.navbar-toggler { min-width: 44px; min-height: 44px; }

/* Hero */
header {
    position: relative;
    min-height: 650px;
    height: min(76vh, 760px);
    overflow: hidden;
}
header::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(12,6,7,.28), transparent 35%, rgba(11,5,6,.1)),
        linear-gradient(180deg, rgba(8,4,5,.12), transparent 35%, #150b0d 100%);
    pointer-events: none;
}
header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212,161,80,.75), transparent);
    box-shadow: 0 0 28px rgba(185,126,49,.32);
}
header > .container,
header > .container > .row { height: 100%; }
header > .container > .row { align-items: center; }
.logo { margin-top: 64px; filter: drop-shadow(0 15px 28px rgba(0,0,0,.52)); }
.logo-kicker { color: var(--gold-light); letter-spacing: .42em; }
.logo strong { color: #f4e6ca; text-shadow: 0 3px 0 #3b171a, 0 12px 30px rgba(0,0,0,.75); }
.logo strong span { color: var(--red-light); }
.logo small { color: #d8c2a6; }
.server-state {
    border: 1px solid rgba(93, 202, 139, .35);
    background: rgba(15, 50, 34, .82);
    box-shadow: 0 10px 24px rgba(0,0,0,.24);
}
.server-state.is-offline { border-color: rgba(222,81,86,.42); background: rgba(75,20,25,.86); }
.hero-download {
    min-width: 290px;
    min-height: 72px;
    color: #fff4d8;
    background: linear-gradient(180deg, #a83b47, #6e1c27);
    border: 1px solid rgba(244,205,133,.62);
    border-radius: 5px;
    box-shadow: 0 16px 34px rgba(37,5,9,.48), inset 0 1px rgba(255,255,255,.14);
}
.hero-download:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 20px 42px rgba(37,5,9,.58), 0 0 0 1px rgba(239,213,154,.16); }

/* Main three-column layout */
.detailed-section { position: relative; padding-bottom: 44px; background: linear-gradient(180deg, #150b0d, var(--bg)); }
.detailed-section > .container {
    padding: 18px;
    background: rgba(17, 9, 11, .76);
    border: 1px solid rgba(204, 153, 75, .17);
    border-radius: 10px;
    box-shadow: var(--shadow);
}
.detailed-section .row.no-gutters { margin: 0 -7px; }
.detailed-section .row.no-gutters > [class*="col-"] { padding: 0 7px; }
.content-box,
.login-box,
.ranking-box,
.stats-box,
.faq-box {
    overflow: hidden;
    background: linear-gradient(160deg, rgba(37,20,22,.96), rgba(22,12,14,.98));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 14px 34px rgba(0,0,0,.2);
}
.content-box { min-height: 440px; }
.login-header {
    background: linear-gradient(180deg, rgba(54,27,29,.96), rgba(31,16,18,.96));
    border-bottom: 1px solid var(--border);
}
.login-header h3 { color: var(--cream); letter-spacing: .04em; }
.login-header h3 i { color: var(--gold); }
.login-body-bg,
.stats-body-bg,
.faq-body-bg,
.ranking-body { background: transparent; }
.login-box .login-body { padding-bottom: 14px; }
.login-box .login-body-submit { padding: 18px 0 8px; }
.login-forgot-password {
    position: relative;
    display: grid;
    width: 100%;
    min-height: 54px;
    margin: 8px auto 0;
    padding: 8px 11px;
    grid-template-columns: 34px minmax(0,1fr) 18px;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(231,189,121,.16);
    color: rgba(231,213,193,.72);
    background: linear-gradient(105deg,rgba(77,29,35,.48),rgba(24,11,14,.7));
    box-shadow: inset 0 1px rgba(255,255,255,.025);
    text-align: left;
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.login-forgot-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(231,189,121,.23);
    color: #dca958;
    background: rgba(13,6,8,.36);
}
.login-forgot-copy { display: flex; min-width: 0; flex-direction: column; gap: 1px; }
.login-forgot-copy small { color: rgba(201,151,78,.72); font: 7px OpenSans-Bold,Arial,sans-serif; letter-spacing: .16em; }
.login-forgot-copy strong { color: #e8d3b8; font: 11px OpenSans-Bold,Arial,sans-serif; }
.login-forgot-arrow { color: #c9974e; font-size: 16px; transition: transform .2s ease; }
.login-forgot-password:hover {
    transform: translateY(-1px);
    color: #ffe6bd;
    border-color: rgba(201,151,78,.48);
    background: linear-gradient(105deg,rgba(99,34,42,.62),rgba(29,12,16,.8));
}
.login-forgot-password:hover .login-forgot-copy strong { color: #ffe6bd; }
.login-forgot-password:hover .login-forgot-arrow { transform: translateX(2px); }

/* Shared page shells and cards */
.page-hd,
.auth-heading,
.feature-page-heading {
    position: relative;
    overflow: hidden;
    min-height: 148px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border);
}
.page-hd::after,
.auth-heading::after,
.feature-page-heading::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(22,9,12,.94), rgba(28,13,15,.62) 65%, rgba(18,8,10,.75));
    pointer-events: none;
}
.page-hd > *, .auth-heading > *, .feature-page-heading > * { position: relative; z-index: 1; }
.page-hd .bd-c { padding: 28px 32px; }
.page-hd h2,
.auth-heading h2,
.feature-page-heading h2 { color: var(--cream); letter-spacing: .025em; }
.page-hd p,
.auth-heading p,
.feature-page-heading p { color: #c5b6a8; }
.content-body,
.auth-body,
.feature-page-body { padding: 28px; color: var(--text); background: linear-gradient(180deg, rgba(38,20,23,.97), rgba(23,13,15,.98)); }
.arena-feature,
.rules-list > div,
.download-card,
.vote-card,
.character-card,
.redeem-card,
.account-action-card,
.jumbotron {
    background: linear-gradient(145deg, rgba(48,27,29,.9), rgba(28,16,18,.94));
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.arena-feature:hover,
.download-card:hover,
.vote-card:hover,
.account-action-card:hover { transform: translateY(-2px); border-color: rgba(221,174,95,.4); }

/* Forms */
label { color: #dbcdbf; }
.form-control,
.custom-select,
select.form-control,
textarea.form-control {
    min-height: 46px;
    color: var(--text);
    caret-color: var(--gold-light);
    background: rgba(12, 7, 8, .7);
    border: 1px solid rgba(209,164,91,.24);
    border-radius: 4px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,.18);
}
.form-control:hover { border-color: rgba(220,175,99,.42); }
.form-control:focus {
    color: #fff5e7;
    background: rgba(14,8,9,.9);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,151,78,.12), inset 0 2px 8px rgba(0,0,0,.15);
}
.form-control:disabled,
.form-control[readonly] { color: #887d76; background: rgba(24,18,18,.66); cursor: not-allowed; }
.form-control:invalid:not(:placeholder-shown) { border-color: #bd4b56; }
.form-control:valid:not(:placeholder-shown) { border-color: #52906a; }
.btn,
.auth-submit,
.register-submit,
.admin-tool-submit,
.redeem-form button {
    border-radius: 4px;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-primary,
.btn-info,
.btn-success,
.auth-submit,
.register-submit,
.admin-tool-submit,
.redeem-form button {
    color: #fff5dc;
    background: linear-gradient(180deg, #a53a46, #701d28);
    border: 1px solid rgba(232,190,111,.5);
    box-shadow: 0 10px 24px rgba(42,5,10,.3);
}
.btn-primary:hover,
.btn-info:hover,
.btn-success:hover,
.auth-submit:hover,
.register-submit:hover,
.admin-tool-submit:hover,
.redeem-form button:hover { color: #fff; background: linear-gradient(180deg, #bb4653, #81232f); transform: translateY(-1px); }
.btn:disabled, button:disabled, .disabled { opacity: .48; cursor: not-allowed; transform: none !important; }
.alert { color: var(--text); background: rgba(29,17,19,.95); border-width: 1px; border-radius: 5px; }
.alert-danger { border-color: rgba(206,70,82,.55); }
.alert-success { border-color: rgba(78,157,105,.55); }
.alert-info { border-color: rgba(201,151,78,.48); }

/* News and reading */
.news-page .content-body { display: grid; gap: 18px; }
.news-page-heading { min-height: 190px; background-position: center 32%; }
.news-page-heading::after {
    background:
        linear-gradient(90deg, rgba(22,9,12,.97), rgba(37,15,20,.78) 62%, rgba(18,8,10,.82)),
        linear-gradient(180deg, transparent 55%, rgba(10,4,6,.42));
}
.news-page-heading .bd-c {
    display: grid;
    min-height: 190px;
    grid-template-columns: 62px minmax(0,1fr) auto;
    align-items: center;
    gap: 20px;
}
.news-heading-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(239, 195, 113, .38);
    color: #f0c371;
    background: linear-gradient(145deg, rgba(113,38,48,.72), rgba(29,12,15,.88));
    box-shadow: 0 10px 28px rgba(0,0,0,.3), inset 0 0 0 4px rgba(255,255,255,.025);
    transform: rotate(45deg);
}
.news-heading-icon i { font-size: 20px; transform: rotate(-45deg); }
.news-heading-copy { min-width: 0; }
.news-page-heading .news-heading-copy h2 {
    margin: 5px 0 4px;
    padding: 0;
    color: #ffe8c2;
    background: none;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1;
    letter-spacing: .045em;
}
.news-page-heading .news-heading-copy p { margin: 0; color: rgba(235,219,199,.68); }
.news-empty-state {
    display: flex;
    min-height: 300px;
    padding: 44px 28px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    border: 1px solid rgba(208,158,83,.16);
    background:
        radial-gradient(circle at 50% 16%, rgba(145,48,59,.14), transparent 42%),
        linear-gradient(145deg, rgba(39,19,22,.86), rgba(22,11,14,.94));
}
.news-empty-icon {
    display: grid;
    width: 66px;
    height: 66px;
    margin-bottom: 20px;
    place-items: center;
    border: 1px solid rgba(231,189,121,.3);
    border-radius: 50%;
    color: #e5b45f;
    background: rgba(18,8,10,.52);
    box-shadow: 0 0 0 7px rgba(231,189,121,.035), 0 12px 26px rgba(0,0,0,.25);
}
.news-empty-icon i { font-size: 23px; }
.news-empty-kicker { color: #c9974e; font: 9px OpenSans-Bold, Arial, sans-serif; letter-spacing: .2em; }
.news-empty-state h3 { margin: 8px 0 7px; color: #f5dfbd; font: 24px Friz-Quadrata-TT-Regular, Georgia, serif; }
.news-empty-state p { max-width: 470px; margin: 0; color: rgba(220,205,190,.6); font-size: 13px; line-height: 1.7; }
.news-empty-divider { display: flex; width: 120px; margin-top: 24px; align-items: center; gap: 10px; color: rgba(231,189,121,.55); font-size: 7px; }
.news-empty-divider::before, .news-empty-divider::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, rgba(231,189,121,.35)); }
.news-empty-divider::after { transform: scaleX(-1); }
.news-sub-box { overflow: hidden; margin: 0; background: linear-gradient(145deg, rgba(47,25,28,.95), rgba(25,14,16,.97)); border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 14px 28px rgba(0,0,0,.2); }
.news-sub-header { padding: 20px 22px 10px; background: transparent; }
.news-sub-header h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.news-sub-header h3 > a:first-child { color: var(--cream); font-size: 20px; }
.news-sub-header h3 span { color: var(--muted); font-size: 12px; }
.news-sub-header .type { display: none; }
.news-sub-body-bg { background: transparent; }
.news-sub-body { padding: 0 22px 22px; color: #cbbeb3; font-family: OpenSans-Regular, Arial, sans-serif; font-size: 15px; line-height: 1.75; }
.news-read-more { display: inline-flex; margin-top: 16px; align-items: center; gap: 9px; color: var(--gold-light); font-weight: 700; letter-spacing: .04em; }
.article-page .content-body { padding: 32px; }
.article-page .blog-title { color: var(--cream); font-size: clamp(25px, 3vw, 36px); }
.article-page .blog-attribution { color: var(--gold); }
.article-page .copy { color: #ddd1c5; font-family: OpenSans-Regular, Arial, sans-serif; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.article-page .copy img,
.article-page .copy iframe { max-width: 100%; }

/* About Arena2 */
.arena-info-heading { min-height: 190px; background-position: center 27% !important; }
.arena-info-heading .bd-c { display: flex; min-height: 190px; align-items: center; gap: 22px; }
.arena-info-emblem {
    display: grid;
    width: 64px;
    height: 72px;
    flex: 0 0 auto;
    place-items: center;
    color: #f1c56f;
    background: linear-gradient(160deg, rgba(119,39,50,.9), rgba(34,13,17,.94));
    border: 1px solid rgba(231,189,121,.42);
    clip-path: polygon(50% 0, 92% 19%, 86% 73%, 50% 100%, 14% 73%, 8% 19%);
    box-shadow: 0 13px 28px rgba(0,0,0,.3);
}
.arena-info-emblem i { font-size: 24px; }
.arena-info-heading h2 { margin: 6px 0 5px; color: #ffe8c2; font-size: clamp(31px,4vw,46px); line-height: 1; }
.arena-info-heading p { margin: 0; }
.arena-info-content { display: grid; gap: 20px; padding: 28px; }
.arena-info-intro { position: relative; max-width: 630px; padding: 4px 0 4px 18px; border-left: 2px solid #c9974e; }
.arena-info-label { color: #c9974e; font: 9px OpenSans-Bold,Arial,sans-serif; letter-spacing: .2em; }
.arena-info-intro h3 { margin: 6px 0; color: #f7dfbb; font: 25px Friz-Quadrata-TT-Regular,Georgia,serif; }
.arena-info-intro p { margin: 0; color: rgba(226,211,194,.65); font-size: 13px; line-height: 1.7; }
.arena-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.arena-feature-grid .arena-feature {
    position: relative;
    display: flex;
    min-height: 225px;
    padding: 22px 18px 19px;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    border-radius: 2px;
    background: radial-gradient(circle at 100% 0,rgba(157,51,63,.18),transparent 42%),linear-gradient(145deg,rgba(57,25,30,.95),rgba(27,12,16,.98));
}
.arena-feature-grid .arena-feature::after { content:""; position:absolute; right:0; bottom:0; left:0; height:2px; background:linear-gradient(90deg,transparent,#b7853e,transparent); opacity:.45; }
.arena-feature-grid .arena-feature > i { display:grid; width:48px; height:48px; place-items:center; border:1px solid rgba(231,189,121,.28); color:#efc472; background:rgba(15,7,9,.4); font-size:18px; }
.arena-feature-number { position:absolute; top:15px; right:16px; color:rgba(231,189,121,.14); font:28px Georgia,serif; }
.arena-feature-grid .arena-feature h3 { margin:0 0 7px; color:#ffe5bd; font-size:17px; line-height:1.25; }
.arena-feature-grid .arena-feature p { margin:0; color:rgba(232,216,197,.58); font-size:12px; line-height:1.65; }
.arena-info-action { display:flex; min-height:76px; padding:14px 16px 14px 20px; align-items:center; justify-content:space-between; gap:16px; border:1px solid rgba(231,189,121,.18); background:linear-gradient(90deg,rgba(32,14,17,.96),rgba(82,27,34,.72)); }
.arena-info-action > div { display:flex; flex-direction:column; gap:2px; }
.arena-info-action small { color:#c9974e; font:8px OpenSans-Bold,Arial,sans-serif; letter-spacing:.18em; }
.arena-info-action strong { color:#f5ddba; font:18px Friz-Quadrata-TT-Regular,Georgia,serif; }
.arena-info-action a { display:inline-flex; min-height:44px; padding:0 17px; align-items:center; gap:9px; border:1px solid rgba(239,198,120,.5); color:#fff0d7; background:linear-gradient(110deg,#762630,#a43a47); font:10px OpenSans-Bold,Arial,sans-serif; letter-spacing:.09em; }
.arena-info-action a i { color:#efc36f; }
.arena-info-action a:hover { color:#fff; transform:translateY(-1px); filter:brightness(1.12); }

/* Rules */
.rules-page .arena-info-heading { background-position:center 40% !important; }
.rules-heading-emblem {
    display:grid;
    width:66px;
    height:66px;
    flex:0 0 auto;
    place-items:center;
    border:1px solid rgba(231,189,121,.38);
    border-radius:50%;
    color:#efc16c;
    background:radial-gradient(circle,rgba(113,36,46,.88),rgba(29,11,15,.96));
    box-shadow:0 0 0 7px rgba(231,189,121,.035),0 14px 30px rgba(0,0,0,.32);
}
.rules-heading-emblem i { font-size:23px; }
.rules-content { display:grid; gap:18px; padding:26px 28px 28px; }
.rules-intro { display:flex; padding:4px 0 4px 15px; flex-direction:column; gap:3px; border-left:2px solid #c9974e; }
.rules-intro span { color:#c9974e; font:8px OpenSans-Bold,Arial,sans-serif; letter-spacing:.18em; }
.rules-intro strong { color:#f3dcb9; font:19px Friz-Quadrata-TT-Regular,Georgia,serif; }
.rules-page .rules-list { display:grid; padding:0; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; counter-reset:none; }
.rules-page .rules-list .rule-card {
    position:relative;
    display:grid;
    min-height:178px;
    padding:20px;
    grid-template-columns:44px minmax(0,1fr);
    align-content:start;
    gap:14px;
    overflow:hidden;
    border:1px solid rgba(231,189,121,.16);
    border-radius:2px;
    background:radial-gradient(circle at 100% 0,rgba(137,43,55,.15),transparent 40%),linear-gradient(145deg,rgba(51,22,27,.95),rgba(25,11,14,.98));
}
.rules-page .rules-list .rule-card:last-child { grid-column:1/-1; min-height:145px; }
.rule-card > b { position:absolute; top:11px; right:14px; color:rgba(231,189,121,.13); font:30px Georgia,serif; }
.rule-card > i { display:grid; width:42px; height:42px; place-items:center; border:1px solid rgba(231,189,121,.27); color:#e9b85e; background:rgba(13,6,8,.38); font-size:15px; }
.rule-card > span { min-width:0; padding-top:4px; }
.rule-card strong { color:#ffe3ba; font:16px Friz-Quadrata-TT-Regular,Georgia,serif; }
.rule-card p { margin:9px 0 0; color:rgba(229,213,195,.6); font-size:12px; line-height:1.65; }
.rules-page .rules-list .rule-card::after { content:""; position:absolute; right:0; bottom:0; left:0; height:2px; background:linear-gradient(90deg,#b5823b,transparent 65%); opacity:.5; }
.rules-page .rules-list .rule-card:hover { transform:translateY(-2px); border-color:rgba(221,174,95,.4); box-shadow:0 16px 30px rgba(0,0,0,.25); }
.rules-page .rules-note { display:grid; min-height:68px; margin:0; padding:13px 17px; grid-template-columns:36px minmax(0,1fr); align-items:center; gap:12px; border:1px solid rgba(231,189,121,.18); border-left:3px solid #d5a34f; color:#d8c5ac; background:linear-gradient(90deg,rgba(91,30,38,.45),rgba(22,10,13,.72)); }
.rules-page .rules-note > i { color:#e9b85e; font-size:19px; text-align:center; }
.rules-page .rules-note > span { display:flex; flex-direction:column; gap:2px; font-size:12px; line-height:1.5; }
.rules-page .rules-note small { color:#c9974e; font:7px OpenSans-Bold,Arial,sans-serif; letter-spacing:.16em; }

/* Download */
.download-heading { min-height:190px; place-items:stretch; text-align:left; background-position:center 34%; }
.download-heading::after { background:linear-gradient(90deg,rgba(22,9,12,.97),rgba(45,17,22,.74) 68%,rgba(18,8,10,.82)); }
.download-heading .bd-c { display:flex; min-height:190px; padding:34px clamp(20px,4vw,40px); align-items:center; gap:21px; }
.download-heading-emblem { display:grid; width:64px; height:64px; flex:0 0 auto; place-items:center; border:1px solid rgba(231,189,121,.4); color:#efc06a; background:linear-gradient(145deg,rgba(119,38,49,.86),rgba(31,12,16,.95)); box-shadow:0 0 0 6px rgba(231,189,121,.035),0 14px 30px rgba(0,0,0,.3); transform:rotate(45deg); }
.download-heading-emblem i { font-size:22px; transform:rotate(-45deg); }
.download-heading .pre-social { margin:6px 0 5px; padding:0; color:#ffe8c2; background:none; font-size:clamp(32px,4vw,46px); line-height:1; letter-spacing:.045em; }
.download-heading p { margin:0; font-size:13px; }
.download-content { display:grid; gap:16px; padding:28px; }
.download-intro { position:relative; min-height:112px; padding:19px 20px; gap:16px; border-color:rgba(231,189,121,.18); border-left:3px solid #c9974e; background:radial-gradient(circle at 100% 0,rgba(151,47,60,.16),transparent 38%),linear-gradient(110deg,rgba(65,27,32,.78),rgba(28,12,16,.94)); }
.download-intro h3 { margin:4px 0 5px; font-size:20px; }
.download-intro p { max-width:440px; font-size:12px; }
.download-ready { display:flex; margin-left:auto; padding:9px 11px; align-items:center; gap:8px; border:1px solid rgba(83,173,112,.25); color:#88d49e; background:rgba(21,74,40,.18); white-space:nowrap; }
.download-ready > i { font-size:15px; }
.download-ready > span { display:flex; flex-direction:column; color:#bce1c6; font:8px OpenSans-Bold,Arial,sans-serif; letter-spacing:.06em; }
.download-ready small { color:rgba(120,209,145,.7); font-size:7px; letter-spacing:.16em; }
.download-section-title { display:flex; margin:4px 0 -4px; align-items:center; gap:10px; color:#d6a75a; font:8px OpenSans-Bold,Arial,sans-serif; letter-spacing:.18em; }
.download-section-title > i { height:1px; flex:1; background:linear-gradient(90deg,rgba(231,189,121,.22),transparent); }
.download-section-title > small { color:rgba(231,213,193,.42); font-size:7px; }
.download-grid { margin:0; gap:10px; }
.download-card { min-height:78px; padding:11px 13px; grid-template-columns:34px 42px minmax(0,1fr) auto; gap:11px; border-color:rgba(231,189,121,.17); border-radius:2px; background:linear-gradient(105deg,rgba(65,27,32,.72),rgba(27,12,15,.94)); }
.download-card:hover { transform:translateY(-2px); border-color:rgba(231,189,121,.44); background:linear-gradient(105deg,rgba(86,31,39,.82),rgba(30,12,16,.96)); }
.download-number { font-size:17px; }
.download-source-icon { display:grid; width:40px; height:40px; place-items:center; border:1px solid rgba(231,189,121,.24); color:#e8b45c; background:rgba(13,6,8,.4); }
.download-provider small { color:rgba(231,189,121,.48); }
.download-provider strong { font-size:14px; }
.download-action { min-width:113px; justify-content:space-between; padding:11px 12px; border-color:rgba(231,189,121,.38); color:#ffe9c8; background:linear-gradient(110deg,#742630,#9e3743); font-size:9px; }
.download-action i { color:#f0c16b; font-size:15px; transition:transform .2s ease; }
.download-card:hover .download-action i { transform:translateX(2px); }
.download-steps-title { margin-top:3px; }
.download-help { margin:0; gap:8px; border:0; }
.download-help > div { position:relative; min-height:78px; padding:13px 12px; border:1px solid rgba(231,189,121,.14); background:rgba(23,10,13,.46); }
.download-help > div + div { border-left:1px solid rgba(231,189,121,.14); }
.download-help b { position:absolute; top:7px; right:9px; color:rgba(231,189,121,.12); font:20px Georgia,serif; }
.download-help i { display:grid; width:34px; height:34px; place-items:center; border:1px solid rgba(231,189,121,.2); font-size:13px; }
.download-help span { font-size:9px; }
.download-help strong { font-size:9px; }

/* Registration */
.register-heading { min-height:190px; place-items:stretch; text-align:left; background-position:center 35%; }
.register-heading::after { background:linear-gradient(90deg,rgba(22,9,12,.97),rgba(46,17,22,.72) 68%,rgba(18,8,10,.84)); }
.register-heading .bd-c { display:flex; min-height:190px; padding:34px clamp(20px,4vw,40px); align-items:center; gap:21px; }
.register-heading-emblem { display:grid; width:66px; height:66px; flex:0 0 auto; place-items:center; border:1px solid rgba(231,189,121,.38); border-radius:50%; color:#efc16d; background:radial-gradient(circle,rgba(119,38,49,.88),rgba(30,12,16,.96)); box-shadow:0 0 0 7px rgba(231,189,121,.035),0 14px 30px rgba(0,0,0,.32); }
.register-heading-emblem i { font-size:22px; }
.register-heading .pre-social { margin:6px 0 5px; padding:0; color:#ffe8c2; background:none; font-size:clamp(32px,4vw,46px); line-height:1; letter-spacing:.045em; }
.register-heading p { margin:0; font-size:13px; }
.register-content { padding:28px; }
.register-form { gap:12px; }
.register-form > .alert { grid-column:1/-1; }
.register-progress { display:grid; min-height:76px; margin-bottom:5px; padding:12px 15px; grid-column:1/-1; grid-template-columns:auto 1fr auto 1fr auto; align-items:center; gap:12px; border:1px solid rgba(231,189,121,.17); background:linear-gradient(90deg,rgba(67,27,32,.72),rgba(25,11,14,.9)); }
.register-progress > div { display:flex; min-width:0; align-items:center; gap:9px; color:rgba(224,208,189,.42); }
.register-progress > div.active { color:#f1d5aa; }
.register-progress b { display:grid; width:32px; height:32px; flex:0 0 auto; place-items:center; border:1px solid rgba(231,189,121,.2); color:#c9974e; background:rgba(13,6,8,.35); font:11px Georgia,serif; }
.register-progress .active b { border-color:rgba(231,189,121,.5); color:#f1c36f; background:rgba(115,36,46,.5); }
.register-progress span { display:flex; flex-direction:column; font:9px OpenSans-Bold,Arial,sans-serif; white-space:nowrap; }
.register-progress small { color:rgba(201,151,78,.65); font-size:7px; letter-spacing:.15em; }
.register-progress > i { height:1px; min-width:15px; background:linear-gradient(90deg,rgba(231,189,121,.3),rgba(231,189,121,.06)); }
.register-field { position:relative; padding:18px 16px 16px; overflow:hidden; border:1px solid rgba(231,189,121,.16); border-radius:2px; background:radial-gradient(circle at 100% 0,rgba(137,43,55,.1),transparent 38%),linear-gradient(145deg,rgba(53,23,28,.88),rgba(27,12,15,.96)); }
.register-field::after { content:""; position:absolute; right:0; bottom:0; left:0; height:1px; background:linear-gradient(90deg,#a97735,transparent 55%); opacity:.5; }
.register-field-index { position:absolute; top:10px; right:13px; color:rgba(231,189,121,.11); font:25px Georgia,serif; }
.register-field label { position:relative; margin-bottom:10px; color:#f1d9b8; font-size:11px; letter-spacing:.08em; }
.register-field label i { display:inline-grid; width:25px; height:25px; margin-right:8px; place-items:center; border:1px solid rgba(231,189,121,.2); color:#dfad59; background:rgba(13,6,8,.3); }
.register-field .form-control { min-height:52px; padding:12px 14px; border-color:rgba(231,189,121,.16) !important; background:rgba(17,7,10,.72) !important; box-shadow:inset 0 3px 9px rgba(0,0,0,.18); }
.register-field .form-control:focus { border-color:rgba(218,170,91,.6) !important; box-shadow:0 0 0 2px rgba(218,170,91,.08),inset 0 3px 9px rgba(0,0,0,.18); }
.register-field small { margin-top:8px; font-size:9px; }
.security-field .register-captcha { gap:10px; }
.security-field .register-captcha-image,.security-field .register-captcha-image img,.security-field .register-captcha .form-control { height:70px; }
.register-submit { min-height:62px; padding:9px 19px; grid-template-columns:32px minmax(0,1fr) 20px; justify-items:start; gap:12px; border-color:rgba(239,198,120,.55); background:linear-gradient(110deg,#72242e,#aa3c49 52%,#762630); box-shadow:0 10px 24px rgba(51,8,15,.28); }
.register-submit > i:first-child { display:grid; width:32px; height:32px; place-items:center; border:1px solid rgba(255,224,166,.25); }
.register-submit > span { display:flex; flex-direction:column; align-items:flex-start; font-size:12px; }
.register-submit small { color:rgba(255,220,162,.64); font-size:7px; letter-spacing:.16em; }
.register-submit > i:last-child { justify-self:end; }
.register-login-link { min-height:70px; border-color:rgba(231,189,121,.16); background:linear-gradient(90deg,rgba(25,11,14,.92),rgba(70,27,33,.48)); }

/* Account recovery */
.recovery-page .auth-heading {
    display: flex;
    min-height: 190px;
    padding: 34px clamp(20px,4vw,40px);
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    gap: 22px;
    background-position: center 28%;
}
.recovery-heading-emblem {
    display: grid;
    width: 66px;
    height: 66px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(231,189,121,.4);
    color: #efc16d;
    background: linear-gradient(145deg,rgba(119,38,49,.88),rgba(30,12,16,.96));
    box-shadow: 0 0 0 7px rgba(231,189,121,.035),0 14px 30px rgba(0,0,0,.32);
    transform: rotate(45deg);
}
.recovery-heading-emblem i { font-size: 22px; transform: rotate(-45deg); }
.recovery-heading-copy > span {
    color: #d8a95c;
    font: 11px OpenSans-Bold,Arial,sans-serif;
    letter-spacing: .18em;
}
.recovery-page .auth-heading h2 {
    margin: 8px 0 8px;
    color: #ffe8c2;
    font-size: clamp(32px,4vw,46px);
    line-height: 1;
}
.recovery-page .auth-heading p {
    max-width: 500px;
    margin: 0;
    color: rgba(235,219,199,.72);
    font-size: 14px;
}
.recovery-page .auth-body {
    display: grid;
    gap: 13px;
    padding: 26px 28px 30px;
    background:
        radial-gradient(circle at 50% 0,rgba(151,47,60,.08),transparent 42%),
        linear-gradient(180deg,rgba(43,20,24,.96),rgba(22,10,13,.99));
}
.recovery-page .auth-welcome {
    margin: 0;
    padding: 14px 15px;
    border-color: rgba(231,189,121,.16);
    background: linear-gradient(100deg,rgba(62,25,30,.72),rgba(24,10,12,.62));
}
.recovery-page .auth-welcome > i { width: 42px; height: 42px; font-size: 16px; }
.recovery-page .auth-welcome small { font-size: 11px; }
.recovery-page .auth-welcome strong { font-size: 15px; }
.recovery-page .auth-field {
    position: relative;
    margin: 0;
    padding: 15px 16px;
    border-color: rgba(231,189,121,.13);
    border-radius: 2px;
    background: rgba(25,10,13,.62);
}
.recovery-page .auth-field > span {
    margin-bottom: 10px;
    color: #f1d9b8;
    font: 12px OpenSans-Bold,Arial,sans-serif;
    letter-spacing: .08em;
}
.recovery-page .auth-field > span i {
    display: inline-grid;
    width: 25px;
    height: 25px;
    margin-right: 8px;
    place-items: center;
    border: 1px solid rgba(231,189,121,.2);
    color: #dfad59;
    background: rgba(13,6,8,.3);
}
.recovery-page .auth-field .form-control,
.recovery-page .auth-captcha .form-control {
    height: 56px;
    padding: 12px 14px;
    border-color: rgba(231,189,121,.17);
    background: rgba(14,6,8,.58);
    font-size: 14px;
}
.recovery-page .auth-captcha {
    margin: 0;
    padding: 15px 16px;
    border-color: rgba(231,189,121,.13);
    background: rgba(42,16,21,.62);
}
.recovery-page .auth-captcha > span { margin-bottom: 12px; }
.recovery-page .auth-captcha > span small { font-size: 11px; }
.recovery-page .auth-captcha > span strong { font-size: 15px; }
.recovery-page .auth-captcha > div {
    display: grid;
    grid-template-columns: 170px minmax(0,1fr);
    gap: 12px;
}
.recovery-page .auth-captcha-image { min-height: 62px; }
.recovery-page .auth-captcha-image img { height: 62px; }
.recovery-page .auth-submit {
    width: auto;
    min-width: 250px;
    min-height: 52px;
    margin-top: 2px;
    margin-right: auto;
    margin-left: auto;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-template-columns: none;
    justify-self: center;
    gap: 11px;
    border-color: rgba(231,189,121,.46);
    color: #f6ddb6;
    background:
        linear-gradient(180deg,rgba(26,12,15,.92),rgba(16,7,9,.98));
    box-shadow: inset 0 1px rgba(255,235,194,.08);
}
.recovery-page .auth-submit > i {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(231,189,121,.24);
    color: #efc16d;
    background: rgba(231,189,121,.06);
}
.recovery-page .auth-submit > span {
    display: inline;
    color: #ffe7c0;
    font: 13px OpenSans-Bold,Arial,sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.recovery-page .auth-submit small { display: none; }
.recovery-page .auth-submit b {
    color: #efc16d;
    font: 20px Georgia,serif;
    line-height: 1;
}
.recovery-page .auth-submit:hover {
    transform: translateY(-1px);
    border-color: rgba(231,189,121,.76);
    color: #fff1d4;
    background:
        linear-gradient(180deg,rgba(48,19,24,.98),rgba(18,7,10,.98));
    filter: none;
}
.recovery-page .auth-back { margin-top: 0; }
.recovery-page .auth-back a { color: rgba(231,213,193,.66); font-size: 12px; }

/* Login page */
.login-page .auth-heading {
    display: flex;
    min-height: 190px;
    padding: 34px clamp(20px,4vw,40px);
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    gap: 22px;
    background-position: center 28%;
}
.login-heading-emblem {
    display: grid;
    width: 66px;
    height: 66px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(231,189,121,.4);
    border-radius: 50%;
    color: #efc16d;
    background: radial-gradient(circle at 50% 20%,rgba(119,38,49,.88),rgba(30,12,16,.96) 70%);
    box-shadow: 0 0 0 7px rgba(231,189,121,.035),0 14px 30px rgba(0,0,0,.32);
}
.login-heading-emblem i { font-size: 23px; }
.login-heading-copy > span {
    color: #d8a95c;
    font: 11px OpenSans-Bold,Arial,sans-serif;
    letter-spacing: .18em;
}
.login-page .auth-heading h2 {
    margin: 8px 0;
    color: #ffe8c2;
    font-size: clamp(32px,4vw,46px);
    line-height: 1;
}
.login-page .auth-heading p {
    max-width: 500px;
    margin: 0;
    color: rgba(235,219,199,.72);
    font-size: 14px;
}
.login-page .auth-body {
    display: grid;
    gap: 13px;
    padding: 26px 28px 30px;
    background:
        radial-gradient(circle at 50% 0,rgba(151,47,60,.08),transparent 42%),
        linear-gradient(180deg,rgba(43,20,24,.96),rgba(22,10,13,.99));
}
.login-page .auth-welcome {
    margin: 0;
    padding: 14px 15px;
    border-color: rgba(231,189,121,.16);
    background: linear-gradient(100deg,rgba(62,25,30,.72),rgba(24,10,12,.62));
}
.login-page .auth-welcome > i { width: 42px; height: 42px; font-size: 16px; }
.login-page .auth-welcome small { font-size: 11px; }
.login-page .auth-welcome strong { font-size: 15px; }
.login-page .auth-field {
    margin: 0;
    padding: 15px 16px;
    border-color: rgba(231,189,121,.13);
    border-radius: 2px;
    background: rgba(25,10,13,.62);
}
.login-page .auth-field > span {
    margin-bottom: 10px;
    color: #f1d9b8;
    font: 12px OpenSans-Bold,Arial,sans-serif;
    letter-spacing: .08em;
}
.login-page .auth-field > span i {
    display: inline-grid;
    width: 25px;
    height: 25px;
    margin-right: 8px;
    place-items: center;
    border: 1px solid rgba(231,189,121,.2);
    color: #dfad59;
    background: rgba(13,6,8,.3);
}
.login-page .auth-field .form-control {
    height: 56px;
    padding: 12px 14px;
    border-color: rgba(231,189,121,.17);
    background: rgba(14,6,8,.58);
    font-size: 14px;
}
.login-page .auth-submit {
    width: auto;
    min-width: 230px;
    min-height: 52px;
    margin: 2px auto 0;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border-color: rgba(231,189,121,.46);
    color: #f6ddb6;
    background: linear-gradient(180deg,rgba(26,12,15,.92),rgba(16,7,9,.98));
    box-shadow: inset 0 1px rgba(255,235,194,.08);
}
.login-page .auth-submit > i {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(231,189,121,.24);
    color: #efc16d;
    background: rgba(231,189,121,.06);
}
.login-page .auth-submit > span {
    display: inline;
    color: #ffe7c0;
    font: 13px OpenSans-Bold,Arial,sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.login-page .auth-submit small { display: none; }
.login-page .auth-submit b { color: #efc16d; font: 20px Georgia,serif; line-height: 1; }
.login-page .auth-submit:hover {
    transform: translateY(-1px);
    border-color: rgba(231,189,121,.76);
    color: #fff1d4;
    background: linear-gradient(180deg,rgba(48,19,24,.98),rgba(18,7,10,.98));
    filter: none;
}
.login-page .auth-links {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
    margin-top: 0;
}
.login-page .auth-links a {
    min-height: 58px;
    padding: 10px 13px;
    border-color: rgba(231,189,121,.14);
    color: rgba(241,204,138,.86);
    background: rgba(16,7,9,.34);
    font-size: 12px;
}
.login-page .auth-links a > i {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(231,189,121,.2);
    color: #dcae60;
    background: rgba(231,189,121,.05);
}
.login-page .auth-links a small { font-size: 11px; }
.referral-intro { color: #cbbdb0; }
.referral-share-box { padding: 8px; background: rgba(13,7,8,.55); border: 1px solid var(--border); border-radius: 5px; }
.referral-share-box .form-control { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.referral-share-box .btn { min-width: 48px; height: 46px; }
.password-recovery-form { margin: 0; }
.recovery-table { min-width: 0 !important; }
.recovery-table td:first-child { width: 38%; color: var(--gold-light); font-weight: 700; }
.recovery-table img { min-width: 150px; border: 1px solid var(--border); border-radius: 4px; }
.recovery-captcha-input { font-size: 22px; letter-spacing: .12em; }
.donate-methods { display: grid; gap: 12px; }
.donate-method-card { overflow: hidden; background: linear-gradient(145deg, rgba(47,25,28,.94), rgba(24,13,15,.98)); border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.donate-method-toggle { display: grid; width: 100%; min-height: 74px; padding: 12px 16px; grid-template-columns: 46px minmax(0,1fr) 24px; align-items: center; gap: 13px; color: var(--text); background: transparent; border: 0; text-align: left; cursor: pointer; }
.donate-method-toggle:hover { background: rgba(201,151,78,.06); }
.donate-method-toggle > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.donate-method-toggle small { color: var(--gold); font: 9px OpenSans-Bold, Arial, sans-serif; letter-spacing: .15em; }
.donate-method-toggle strong { color: var(--cream); font-size: 17px; overflow-wrap: anywhere; }
.donate-method-toggle > .fa-angle-down { color: var(--gold-light); transition: transform .2s ease; }
.donate-method-toggle[aria-expanded="true"] > .fa-angle-down { transform: rotate(180deg); }
.donate-method-icon { display: grid; width: 44px; height: 44px; place-items: center; color: var(--gold-light); background: rgba(104,35,43,.38); border: 1px solid var(--border); }
.donate-method-form { display: grid; padding: 16px; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; align-items: end; gap: 12px; border-top: 1px solid var(--border); background: rgba(12,7,8,.28); }
.donate-method-form label { min-width: 0; margin: 0; }
.donate-method-form label > span { display: block; margin-bottom: 7px; color: var(--gold-light); font: 10px OpenSans-Bold, Arial, sans-serif; }
.donate-submit { min-height: 46px; padding: 0 20px; color: #fff4dc; background: linear-gradient(180deg,#a53a46,#701d28); border: 1px solid rgba(232,190,111,.5); border-radius: 4px; cursor: pointer; }
.donate-submit:hover { background: linear-gradient(180deg,#bc4754,#81232f); }
.admin-loading-state { display: flex; min-height: 180px; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: var(--muted); border: 1px dashed var(--border); background: rgba(15,8,10,.4); }
.admin-loading-state i { color: var(--gold); font-size: 30px; }

/* Tables */
.table-responsive { border-radius: 5px; }
.table.ranking { width: 100%; color: var(--text); background: rgba(17,9,11,.42); border-collapse: separate; border-spacing: 0; }
.table.ranking thead th { color: var(--gold-light); background: #1b0e11; border-color: var(--border); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.table.ranking td { color: #d8cdc1; border-color: rgba(208,158,83,.1); vertical-align: middle; }
.table.ranking tbody tr { transition: background-color .18s ease; }
.table.ranking tbody tr:hover { background: rgba(201,151,78,.065); }
.table.ranking tbody tr:nth-child(1) td:first-child { color: #f1c75d; font-weight: 800; }
.table.ranking tbody tr:nth-child(2) td:first-child { color: #cbd0d5; font-weight: 800; }
.table.ranking tbody tr:nth-child(3) td:first-child { color: #d28b55; font-weight: 800; }
.pagination { flex-wrap: wrap; gap: 4px; }
.page-link { color: var(--gold-light); background: #1b0f11; border-color: var(--border); }
.page-link:hover, .page-link.p-active { color: #fff; background: var(--red); border-color: var(--gold); }

/* Footer */
.second-footer { min-height: 190px; background: linear-gradient(180deg, #150a0c, #0b0607); }
.second-footer .footer-signature.footer-signature-centered { min-height: 190px; padding: 26px 15px; gap: 12px; }
.footer-main { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-quicklinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.footer-quicklinks a { color: #bca99b; font-size: 12px; }
.footer-quicklinks a:hover { color: var(--gold-light); }

/* Responsive layout */
@media (max-width: 1199px) {
    .battle-menu .nav-link { padding-right: 8px !important; padding-left: 8px !important; font-size: 11px; }
    .detailed-section > .container { max-width: calc(100% - 24px); }
}

@media (max-width: 991px) {
    body { background-size: auto 760px; }
    #mainNav { padding: 7px 10px; }
    #mainNav > .container { flex-wrap: wrap; }
    #navbarResponsive {
        max-height: calc(100vh - 82px);
        overflow-y: auto;
        background: rgba(17, 9, 11, .98);
        border: 1px solid var(--border);
        border-radius: 5px;
        box-shadow: var(--shadow);
    }
    .battle-menu { padding: 10px !important; }
    .battle-menu .nav-link { width: 100%; padding: 12px 14px !important; font-size: 13px; }
    .ranking-options, .account-top-options { position: static; width: 100%; max-width: none; transform: none; }
    header { min-height: 540px; height: 640px; }
    header .col-md-4 { display: none; }
    header .col-md-8 { max-width: 100%; flex: 0 0 100%; }
    .logo { margin-top: 70px; }
    .detailed-section > .container { padding: 12px; }
    .detailed-section .row.no-gutters > [class*="col-"] { margin-bottom: 14px; }
    #custom-content-center { order: -1; }
}

@media (max-width: 767px) {
    header { min-height: 500px; height: 580px; }
    .logo strong { font-size: clamp(54px, 17vw, 82px); }
    .hero-download { width: min(100%, 310px); min-width: 0; }
    .detailed-section { padding-bottom: 20px; }
    .detailed-section > .container { max-width: calc(100% - 14px); padding: 7px; border-right: 0; border-left: 0; }
    .content-body, .auth-body, .feature-page-body, .article-page .content-body { padding: 20px; }
    .page-hd .bd-c { padding: 24px 20px; }
    .table-responsive-md { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .table.ranking { min-width: 600px; }
    .news-sub-header { padding: 17px 17px 8px; }
    .news-sub-body { padding: 0 17px 18px; }
    .news-page-heading .bd-c { min-height: 170px; grid-template-columns: 48px minmax(0,1fr); gap: 15px; }
    .news-heading-icon { width: 46px; height: 46px; }
    .news-heading-icon i { font-size: 16px; }
    .news-page-heading .server-state { grid-column: 2; justify-self: start; }
    .news-empty-state { min-height: 260px; padding: 34px 20px; }
    .arena-info-heading .bd-c { min-height:170px; gap:15px; }
    .arena-info-emblem { width:50px; height:58px; }
    .arena-info-emblem i { font-size:19px; }
    .arena-info-content { padding:20px; }
    .arena-feature-grid { grid-template-columns:1fr; }
    .arena-feature-grid .arena-feature { min-height:0; }
    .arena-info-action { align-items:stretch; flex-direction:column; }
    .arena-info-action a { justify-content:center; }
    .rules-heading-emblem { width:50px; height:50px; }
    .rules-heading-emblem i { font-size:18px; }
    .rules-content { padding:20px; }
    .rules-page .rules-list { grid-template-columns:1fr; }
    .rules-page .rules-list .rule-card,.rules-page .rules-list .rule-card:last-child { min-height:0; grid-column:auto; }
    .download-heading .bd-c { min-height:170px; gap:15px; }
    .download-heading-emblem { width:50px; height:50px; }
    .download-heading-emblem i { font-size:18px; }
    .download-content { padding:20px; }
    .download-intro { align-items:flex-start; }
    .download-ready { display:none; }
    .download-card { grid-template-columns:30px 38px minmax(0,1fr); }
    .download-source-icon { width:36px; height:36px; }
    .download-action { grid-column:1/-1; min-width:0; justify-content:center; }
    .download-help { grid-template-columns:1fr; }
    .download-help > div + div { border-left:1px solid rgba(231,189,121,.14); }
    .register-heading .bd-c { min-height:170px; gap:15px; }
    .register-heading-emblem { width:50px; height:50px; }
    .register-heading-emblem i { font-size:17px; }
    .register-content { padding:20px; }
    .register-progress { grid-template-columns:1fr; gap:7px; }
    .register-progress > i { display:none; }
    .register-progress > div { display:none; }
    .register-progress > div.active { display:flex; }
    .recovery-page .auth-heading { min-height: 170px; gap: 15px; }
    .recovery-heading-emblem { width: 50px; height: 50px; }
    .recovery-heading-emblem i { font-size: 17px; }
    .recovery-page .auth-body { padding: 20px; }
    .recovery-page .auth-captcha > div { grid-template-columns: 1fr; }
    .login-page .auth-heading { min-height: 170px; gap: 15px; }
    .login-heading-emblem { width: 50px; height: 50px; }
    .login-heading-emblem i { font-size: 18px; }
    .login-page .auth-body { padding: 20px; }
    .login-page .auth-links { grid-template-columns: 1fr; }
    .footer-quicklinks { gap: 10px 15px; }
    .donate-method-form { grid-template-columns: 1fr; }
    .donate-submit { width: 100%; }
}

/* Navigation redesign: a lighter, clearer command bar. */
body #mainNav {
    margin-top: 18px;
    padding: 0 18px;
}
body #mainNav::after {
    display: none;
}
body #mainNav > .container {
    position: relative;
    display: grid;
    grid-template-columns: 205px minmax(0, 1fr) auto;
    grid-template-areas: "brand menu actions";
    max-width: 1230px;
    min-height: 72px;
    padding: 0 14px 0 18px;
    overflow: visible;
    border: 1px solid rgba(231,189,121,.2);
    border-radius: 2px;
    background:
        linear-gradient(90deg,rgba(95,31,39,.16),transparent 28%),
        linear-gradient(180deg,rgba(31,12,16,.98),rgba(17,7,9,.98));
    box-shadow: 0 14px 38px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.025);
}
body #mainNav > .container::before {
    content: "";
    position: absolute;
    right: 18px;
    bottom: -1px;
    left: 18px;
    height: 1px;
    background: linear-gradient(90deg,transparent,#b47b38 18%,rgba(231,189,121,.18) 55%,transparent);
    pointer-events: none;
}
body #mainNav .battle-brand {
    grid-area: brand;
    min-height: 72px;
    padding: 0 20px 0 0;
    gap: 12px;
    border: 0;
}
body #mainNav .brand-mark {
    width: 42px;
    height: 46px;
    border: 1px solid rgba(231,189,121,.38);
    border-radius: 0;
    clip-path: polygon(50% 0,92% 18%,100% 70%,50% 100%,0 70%,8% 18%);
    background: linear-gradient(145deg,#6d2732 0%,#2b1016 55%,#12080b 100%);
    box-shadow: inset 0 0 0 3px rgba(255,255,255,.025);
}
body #mainNav .brand-copy strong {
    font-size: 23px;
    letter-spacing: .1em;
}
body #mainNav .brand-copy small {
    color: #c9954b;
    letter-spacing: .18em;
}
body #mainNav #navbarResponsive {
    grid-area: menu;
    min-width: 0;
    height: 100%;
    justify-content: center;
    border: 0;
}
body #mainNav .battle-menu {
    width: auto;
    height: 100%;
    margin: 0 auto !important;
    padding: 0 8px;
    align-items: center;
    gap: 2px !important;
}
body #mainNav .battle-menu .nav-link {
    position: relative;
    min-height: 40px;
    padding: 0 10px !important;
    gap: 7px;
    border: 1px solid transparent;
    border-radius: 2px;
    color: rgba(240,222,199,.76);
    background: transparent;
    transition: color .2s ease,background .2s ease,border-color .2s ease,transform .2s ease;
}
body #mainNav .battle-menu .nav-link::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 3px;
    left: 12px;
    width: auto;
    height: 1px;
    opacity: 0;
    background: #e0aa57;
    transform: scaleX(.35);
    transition: opacity .2s ease,transform .2s ease;
}
body #mainNav .battle-menu .nav-link:hover,
body #mainNav .battle-menu .nav-link:focus-visible {
    color: #fff0d3;
    border-color: rgba(231,189,121,.12);
    background: rgba(231,189,121,.045);
    transform: translateY(-1px);
}
body #mainNav .battle-menu .nav-link.active,
body #mainNav .battle-menu .nav-link[aria-current="page"] {
    color: #ffe9c1;
    border-color: rgba(218,153,70,.28);
    background: linear-gradient(180deg,rgba(125,42,52,.58),rgba(68,23,30,.48));
    box-shadow: inset 0 1px rgba(255,255,255,.035);
}
body #mainNav .battle-menu .nav-link.active::after,
body #mainNav .battle-menu .nav-link[aria-current="page"]::after {
    opacity: 1;
    transform: scaleX(1);
}
body #mainNav .battle-menu .nav-link > i {
    width: 15px;
    color: #dca650;
    text-align: center;
}
body #mainNav .nav-top-actions {
    grid-area: actions;
    min-height: 72px;
    padding-left: 15px;
    gap: 7px;
    border-left: 1px solid rgba(231,189,121,.12);
}
body #mainNav .nav-discord-link,
body #mainNav .language-menu summary {
    height: 40px;
    border-color: rgba(231,189,121,.18);
    border-radius: 2px;
    background: rgba(14,6,9,.38);
}
body #mainNav .nav-discord-link {
    min-width: 126px;
    padding: 0 10px;
}
body #mainNav .nav-discord-link:hover,
body #mainNav .language-menu summary:hover {
    border-color: rgba(231,189,121,.4);
    background: rgba(104,35,44,.34);
}
body #mainNav .discord-menu-icon {
    width: 29px;
    height: 29px;
    border-color: rgba(154,132,255,.28);
    background: rgba(97,79,174,.1);
}
body #mainNav .navbar-toggler {
    grid-area: toggle;
}

@media (max-width: 1240px) and (min-width: 992px) {
    body #mainNav > .container {
        grid-template-columns: 165px minmax(0,1fr) auto;
        padding-left: 13px;
    }
    body #mainNav .battle-brand { padding-right: 10px; gap: 8px; }
    body #mainNav .brand-mark { width: 36px; height: 40px; font-size: 14px; }
    body #mainNav .brand-copy strong { font-size: 19px; }
    body #mainNav .brand-copy small { display: none; }
    body #mainNav .battle-menu { padding: 0 4px; }
    body #mainNav .battle-menu .nav-link { padding: 0 7px !important; gap: 5px; }
    body #mainNav .battle-menu .nav-link,
    body #mainNav .battle-menu .nav-link > span { font-size: 11px !important; }
    body #mainNav .nav-top-actions { padding-left: 8px; }
    body #mainNav .nav-discord-link { min-width: 40px; width: 40px; padding: 0; justify-content: center; }
    body #mainNav .nav-discord-link .discord-menu-copy,
    body #mainNav .nav-discord-link > b { display: none; }
}

@media (max-width: 991px) {
    body #mainNav { margin-top: 8px; padding: 0 9px; }
    body #mainNav > .container {
        display: grid;
        grid-template-columns: minmax(135px,1fr) auto auto;
        grid-template-areas:
            "brand actions toggle"
            "menu menu menu";
        min-height: 62px;
        padding: 0 10px;
    }
    body #mainNav .battle-brand { min-height: 62px; padding-right: 8px; }
    body #mainNav .brand-mark { width: 35px; height: 39px; font-size: 14px; }
    body #mainNav .brand-copy strong { font-size: 19px; }
    body #mainNav .brand-copy small { display: none; }
    body #mainNav .nav-top-actions { min-height: 62px; padding: 0 8px 0 0; border: 0; }
    body #mainNav .nav-discord-link { min-width: 40px; width: 40px; padding: 0; justify-content: center; }
    body #mainNav .nav-discord-link .discord-menu-copy,
    body #mainNav .nav-discord-link > b { display: none; }
    body #mainNav #navbarResponsive {
        height: auto;
        border-top: 1px solid rgba(231,189,121,.12);
    }
    body #mainNav .battle-menu {
        width: 100%;
        height: auto;
        padding: 10px 0 12px;
        align-items: stretch;
        gap: 5px !important;
    }
    body #mainNav .battle-menu .nav-link {
        width: 100%;
        min-height: 44px;
        padding: 0 14px !important;
        justify-content: flex-start;
    }
    body #mainNav .battle-menu .nav-link::after {
        top: 9px;
        right: auto;
        bottom: 9px;
        left: 3px;
        width: 2px;
        height: auto;
    }
}

@media (max-width: 480px) {
    body #mainNav .nav-discord-link { display: none; }
    body #mainNav .language-menu summary { min-width: 58px; }
}

@media (max-width: 430px) {
    #mainNav .container { padding-right: 7px; padding-left: 10px; }
    .brand-copy { padding-left: 6px; }
    .brand-copy strong { font-size: 18px; }
    .nav-top-actions { right: 55px; gap: 5px; }
    .logo-kicker { font-size: 9px; letter-spacing: .27em; }
    .logo small { font-size: 10px; letter-spacing: .22em; }
    .hero-actions { padding: 0 14px; }
    .content-body, .auth-body, .feature-page-body, .article-page .content-body { padding: 16px; }
    .page-hd { min-height: 132px; }
    .page-hd h2 { font-size: 25px; }
    .download-card, .vote-card { padding: 14px; }
    .recovery-table,
    .recovery-table tbody,
    .recovery-table tr,
    .recovery-table td { display: block; width: 100% !important; }
    .recovery-table td:first-child { padding-bottom: 4px; border-bottom: 0; }
    .recovery-table td:last-child { padding-top: 4px; }
}

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

/* Arena2 premium system refinements -------------------------------------- */
:root {
    --surface-deep: #12090b;
    --surface-raised: #251316;
    --gold-soft: rgba(214, 164, 82, .14);
    --line-bright: rgba(231, 189, 121, .34);
    --danger: #d45b67;
    --success: #6fc58e;
}

body { line-height: 1.55; }
body:not(.page-news) header { min-height: 465px; height: min(55vh, 560px); }
body:not(.page-news) .logo { margin-top: 82px; transform: scale(.9); }
body:not(.page-news) .hero-actions { margin-top: -8px; }

/* Decorative edges shared by every primary surface. */
.content-box,
.login-box,
.ranking-box,
.stats-box,
.faq-box {
    position: relative;
    isolation: isolate;
}
.content-box::before,
.login-box::before,
.ranking-box::before,
.stats-box::before,
.faq-box::before {
    content: "";
    position: absolute;
    z-index: 4;
    top: 0;
    right: 12px;
    left: 12px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(239, 202, 132, .56), transparent);
    pointer-events: none;
}
.content-box { box-shadow: 0 24px 58px rgba(0,0,0,.34), 0 0 32px rgba(128,39,48,.06); }

/* The story/content column is deliberately dominant at desktop widths. */
@media (min-width: 1200px) {
    .detailed-section > .container { max-width: 1460px; }
    .detailed-section .row.no-gutters > .col-lg-3 { flex: 0 0 20.5%; max-width: 20.5%; }
    .detailed-section .row.no-gutters > #custom-content-center { flex: 0 0 59%; max-width: 59%; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .detailed-section .row.no-gutters > .col-lg-3 { flex: 0 0 22.5%; max-width: 22.5%; }
    .detailed-section .row.no-gutters > #custom-content-center { flex: 0 0 55%; max-width: 55%; }
}

.battle-menu .nav-link.active,
.battle-menu .nav-link[aria-current="page"] {
    color: #fff2d2 !important;
    background: linear-gradient(180deg, rgba(151,48,58,.3), rgba(92,27,34,.2));
    border-color: rgba(220,173,95,.28);
}
.battle-menu .nav-link.active::after,
.battle-menu .nav-link[aria-current="page"]::after {
    content: "";
    position: absolute;
    right: 24%;
    bottom: -1px;
    left: 24%;
    height: 2px;
    background: var(--gold-light);
    box-shadow: 0 0 9px rgba(239,213,154,.55);
}

.page-hd,
.auth-heading,
.feature-page-heading { min-height: 174px; }
.page-hd .bd-c,
.auth-heading,
.feature-page-heading > div { padding: 34px clamp(20px, 4vw, 40px); }
.page-hd h2,
.auth-heading h2,
.feature-page-heading h2 { font-size: clamp(27px, 3vw, 38px); text-shadow: 0 4px 18px rgba(0,0,0,.6); }
.page-hd .bd-c > span:first-child,
.auth-heading > span:first-child,
.feature-page-heading > div > span:first-child {
    color: var(--gold-light);
    font: 10px OpenSans-Bold, Arial, sans-serif;
    letter-spacing: .2em;
}

/* Common controls, validation, alerts and secondary buttons. */
.form-control::placeholder { color: #7f6e69; opacity: 1; }
.form-control.has-value { border-color: rgba(218,170,91,.4); }
select.form-control option { color: #eadfd2; background: #1b0d10; }
textarea.form-control { min-height: 120px; resize: vertical; }
.btn-secondary,
.btn-default {
    color: #ead9c3;
    background: #2a1719;
    border: 1px solid var(--border);
}
.btn-secondary:hover,
.btn-default:hover { color: #fff2d5; background: #3a2023; border-color: var(--line-bright); }
.alert { position: relative; padding: 14px 42px 14px 48px; overflow: hidden; font-family: OpenSans-Regular, Arial, sans-serif; }
.alert::before {
    position: absolute;
    top: 50%;
    left: 17px;
    color: var(--gold-light);
    font: 17px FontAwesome;
    transform: translateY(-50%);
}
.alert-info::before { content: "\f05a"; }
.alert-success::before { content: "\f058"; color: var(--success); }
.alert-danger::before { content: "\f071"; color: var(--danger); }
.alert .close { position: absolute; top: 8px; right: 11px; color: inherit; text-shadow: none; }

/* Sidebar hierarchy and compact leaderboards. */
.login-header { min-height: 58px; }
.login-header .name h3 { font-size: 14px; }
.login-body,
.stats-body { padding: 14px; }
.mini-leaderboard { padding: 8px !important; }
.leader-card { min-height: 58px; border-radius: 4px; }
.leader-card.rank-1 { background: linear-gradient(90deg, rgba(121,82,28,.28), rgba(35,17,19,.7)); border-color: rgba(235,192,94,.3); }
.leader-card.rank-2 { background: linear-gradient(90deg, rgba(111,117,126,.18), rgba(35,17,19,.7)); }
.leader-card.rank-3 { background: linear-gradient(90deg, rgba(140,70,37,.2), rgba(35,17,19,.7)); }
.sidebar-discord-old { position: relative; overflow: hidden; border: 1px solid rgba(125,110,224,.32); border-radius: var(--radius); box-shadow: 0 14px 30px rgba(0,0,0,.22); }
.sidebar-discord-old::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,9,26,.08), rgba(109,91,211,.12)); pointer-events: none; }
.sidebar-discord-old:hover { transform: translateY(-2px); box-shadow: 0 18px 35px rgba(0,0,0,.3), 0 0 20px rgba(106,89,210,.1); }

/* Readable, premium data tables. */
.table.ranking { overflow: hidden; border: 1px solid var(--border); }
.table.ranking thead th { padding: 15px 13px; border-top: 0; border-bottom: 1px solid rgba(225,179,99,.3); white-space: nowrap; }
.table.ranking tbody td,
.table.ranking tbody th { padding: 14px 13px; }
.table.ranking tbody tr:nth-child(even) { background: rgba(255,255,255,.012); }
.ranking-full-table tbody tr:nth-child(-n+3) { box-shadow: inset 3px 0 rgba(212,161,80,.34); }
.pagination { margin-top: 20px; justify-content: center; }
.page-link { min-width: 40px; min-height: 40px; display: grid; place-items: center; border-radius: 3px !important; }

/* Cards gain one consistent rhythm instead of page-specific spacing. */
.download-grid,
.account-actions-grid,
.character-card-list { gap: 14px; }
.download-card,
.arena-feature,
.rules-list > div,
.vote-card,
.character-card,
.account-action-card { transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background-color .22s ease; }
.download-card:hover,
.arena-feature:hover,
.rules-list > div:hover,
.vote-card:hover,
.character-card:hover,
.account-action-card:hover { box-shadow: 0 18px 34px rgba(0,0,0,.27), 0 0 18px rgba(190,127,49,.06); }
.rules-list { counter-reset: arena-rule; }
.rules-list > div { position: relative; overflow: hidden; }
.rules-note { padding: 15px 18px; color: #cdbda9; background: rgba(12,6,8,.36); border-left: 3px solid var(--gold); }

/* Restrained entrance effect; content stays visible without JavaScript. */
.reveal-ready { opacity: 0; transform: translateY(10px); }
.reveal-ready.is-revealed { opacity: 1; transform: translateY(0); transition: opacity .42s ease, transform .42s ease; }

@media (max-width: 991px) {
    body:not(.page-news) header,
    header { min-height: 460px; height: 520px; }
    body:not(.page-news) .logo { margin-top: 64px; transform: none; }
    body:not(.page-news) .hero-actions { margin-top: 8px; }
    .detailed-section .row.no-gutters > .col-lg-3,
    .detailed-section .row.no-gutters > #custom-content-center { flex: 0 0 100%; max-width: 100%; }
    #custom-content-center { margin-bottom: 18px; }
    .battle-menu .nav-link.active::after,
    .battle-menu .nav-link[aria-current="page"]::after { top: 20%; right: auto; bottom: 20%; left: 0; width: 2px; height: auto; }
}

@media (max-width: 767px) {
    body:not(.page-news) header,
    header { min-height: 410px; height: 470px; }
    .page-hd,
    .auth-heading,
    .feature-page-heading { min-height: 148px; }
    .page-hd .bd-c,
    .auth-heading,
    .feature-page-heading > div { padding: 25px 20px; }
    .table.ranking { min-width: 560px; }
    .footer-quicklinks a { min-height: 36px; display: inline-flex; align-items: center; gap: 6px; }
}

@media (max-width: 430px) {
    body:not(.page-news) header,
    header { min-height: 370px; height: 430px; }
    .logo { margin-top: 54px !important; }
    .logo strong { font-size: clamp(46px, 16vw, 67px); }
    .server-state { font-size: 9px; }
    .hero-download { min-height: 62px; }
    .alert { padding-right: 34px; padding-left: 42px; }
}

/* Site-wide readability pass: keep small labels readable across every page. */
body { font-size: 16px; }
p,
li,
td,
th,
label,
input,
select,
textarea,
button { font-size: 14px; }

.content-body p,
.auth-body p,
.feature-page-body p,
.article-page .copy,
.news-sub-body,
.news-empty-state p,
.arena-info-intro p,
.arena-feature-grid .arena-feature p,
.rule-card p,
.rules-page .rules-note > span,
.download-intro p,
.download-help span,
.register-field small,
.referral-intro,
.account-action-card small,
.referrals-section-copy p,
.referrals-card-title p {
    font-size: 14px !important;
    line-height: 1.65;
}

.battle-menu .nav-link,
.battle-menu .nav-link > span,
.server-state,
.hero-free,
.ranking-options a strong,
.ranking-options a small,
.login-forgot-copy strong,
.download-action,
.download-help strong,
.register-field label,
.register-progress span,
.register-submit > span,
.register-login-link,
.footer-quicklinks a,
.footer-quicklinks span span,
.footer-quicklinks a span {
    font-size: 12px !important;
}

.brand-copy small,
.logo-kicker,
.logo small,
.hero-download small,
.page-hd .bd-c > span:first-child,
.auth-heading > span:first-child,
.feature-page-heading > div > span:first-child,
.register-kicker,
.download-kicker,
.ranking-kicker,
.ranking-options-title small,
.login-forgot-copy small,
.news-empty-kicker,
.arena-info-label,
.arena-info-action small,
.rules-intro span,
.rules-page .rules-note small,
.download-ready > span,
.download-ready small,
.download-section-title,
.download-section-title > small,
.register-progress small,
.register-submit small,
.donate-method-toggle small,
.donate-method-form label > span,
.account-page-kicker,
.account-profile-name small,
.account-actions-title,
.stats-highlight small,
.footer-quicklinks small {
    font-size: 11px !important;
}

.leader-info strong,
.leader-info small,
.leader-score small,
.sidebar-stats .server-stats .type,
.sidebar-stats .server-stats ul li .type,
.sidebar-ranking .ranking-table td,
.ranking-full-table,
.ranking-full-table thead th,
.empire-badge small,
.table.ranking thead th,
.table.ranking td,
.language-current strong,
.discord-menu-copy strong,
.account-top-user small,
.account-action-card strong,
.account-action-card button {
    font-size: 12px !important;
}

.login-header .name h3,
.sidebar-ranking .login-header .name h3,
.sidebar-stats .server-stats ul li .value,
.download-provider strong,
.rule-card strong,
.arena-feature-grid .arena-feature h3,
.news-sub-header h3 span {
    font-size: 14px !important;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder { font-size: 14px; }

@media (max-width: 430px) {
    .server-state,
    .logo-kicker,
    .logo small { font-size: 11px !important; }
    .battle-menu .nav-link,
    .battle-menu .nav-link > span { font-size: 12px !important; }
}

/* Refined Arena2 brand treatment. */
.battle-brand {
    display: flex;
    min-width: 170px;
    align-items: center;
    gap: 11px;
    padding-right: 22px;
}
.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(231,189,121,.42);
    color: #f2d096;
    background:
        radial-gradient(circle at 50% 22%, rgba(164,58,70,.72), transparent 55%),
        linear-gradient(145deg, rgba(52,18,23,.98), rgba(15,7,9,.98));
    font: 17px Friz-Quadrata-TT-Regular, Georgia, serif;
    letter-spacing: 0;
    box-shadow: inset 0 0 0 3px rgba(255,255,255,.025), 0 8px 18px rgba(0,0,0,.25);
}
.brand-copy {
    padding: 0 !important;
}
.brand-copy::before {
    display: none !important;
}
.brand-copy strong {
    color: #fff0d5;
    font: 23px/1 Friz-Quadrata-TT-Regular, Georgia, serif;
    letter-spacing: .08em;
}
.brand-copy strong span {
    color: #e45162;
}
.brand-copy small {
    margin-top: 5px;
    color: rgba(231,189,121,.8);
    font: 11px OpenSans-Bold, Arial, sans-serif !important;
    letter-spacing: .16em;
}
.logo {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
}
.logo::before,
.logo::after {
    display: none;
}
.hero-brand-mark {
    display: grid;
    width: 72px;
    height: 72px;
    margin-bottom: 4px;
    place-items: center;
    border: 1px solid rgba(231,189,121,.45);
    border-radius: 50%;
    color: #f1cf95;
    background:
        radial-gradient(circle at 50% 20%, rgba(166,59,73,.78), transparent 56%),
        linear-gradient(145deg, rgba(54,19,24,.96), rgba(14,6,8,.98));
    box-shadow: 0 0 0 8px rgba(231,189,121,.035), 0 16px 35px rgba(0,0,0,.35), inset 0 0 0 4px rgba(255,255,255,.025);
    font: 27px Friz-Quadrata-TT-Regular, Georgia, serif;
    letter-spacing: 0;
}
.logo strong {
    color: #f6e8cf;
    font-size: clamp(58px, 6vw, 84px);
    letter-spacing: .03em;
    line-height: .9;
    text-shadow: 0 3px 0 #3b171a, 0 12px 30px rgba(0,0,0,.7);
}
.logo strong span {
    color: #e45162;
}
.logo small {
    margin-top: 4px;
    padding: 7px 16px 6px;
    border-top: 1px solid rgba(231,189,121,.3);
    border-bottom: 1px solid rgba(231,189,121,.18);
    color: rgba(231,210,187,.72);
    font-size: 12px !important;
    letter-spacing: .2em;
}

@media (max-width: 575px) {
    .battle-brand { min-width: 136px; gap: 8px; padding-right: 12px; }
    .brand-mark { width: 36px; height: 36px; font-size: 15px; }
    .brand-copy strong { font-size: 19px; }
    .brand-copy small { display: none; }
    .hero-brand-mark { width: 58px; height: 58px; font-size: 22px; }
    .logo strong { font-size: clamp(48px, 15vw, 66px); }
    .logo small { font-size: 11px !important; letter-spacing: .14em; }
}

/* Final navigation arrangement: brand | menu | actions. */
#mainNav {
    margin-top: 22px;
    padding: 0 18px;
    background: transparent !important;
    border-bottom: 0;
    box-shadow: none;
}
#mainNav > .container {
    display: grid;
    grid-template-columns: minmax(170px, auto) minmax(0, 1fr) auto;
    max-width: 1230px;
    min-height: 76px;
    padding: 0 12px 0 22px;
    align-items: center;
    border: 1px solid rgba(231,189,121,.22);
    border-radius: 5px;
    background: linear-gradient(105deg, rgba(17,7,9,.97), rgba(43,16,20,.94));
    box-shadow: 0 16px 42px rgba(0,0,0,.34);
}
#navbarResponsive {
    min-width: 0;
    justify-content: center;
}
.battle-brand {
    min-width: 0;
    min-height: 76px;
    padding: 0 18px 0 0;
    border-right: 1px solid rgba(231,189,121,.14);
}
.brand-mark {
    width: 40px;
    height: 40px;
}
.brand-copy strong {
    font-size: 22px;
}
.brand-copy small {
    margin-top: 4px;
    font-size: 10px !important;
    letter-spacing: .14em;
}
.battle-menu {
    width: 100%;
    margin: 0 !important;
    padding: 0 14px;
    align-items: center;
    justify-content: center;
    gap: 4px !important;
    flex-wrap: nowrap;
}
.battle-menu .nav-link,
.battle-menu .nav-link > span {
    font-size: 12px !important;
    letter-spacing: .055em;
}
.battle-menu .nav-link {
    min-height: 42px;
    padding: 0 10px !important;
    gap: 6px;
    border-radius: 3px;
    white-space: nowrap;
}
.battle-menu .nav-link > i {
    font-size: 12px;
}
.nav-top-actions {
    position: static !important;
    display: flex;
    min-height: 76px;
    padding-left: 14px;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    border-left: 1px solid rgba(231,189,121,.14);
}
.nav-discord-link {
    min-width: 136px;
    min-height: 42px;
    padding: 0 11px;
    border-color: rgba(231,189,121,.22);
    background: linear-gradient(110deg, rgba(79,30,38,.56), rgba(25,10,14,.72));
}
.nav-discord-link > .discord-menu-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.nav-discord-link > b {
    margin-left: auto;
}
.nav-top-actions .language-menu summary {
    min-width: 82px;
    height: 42px;
    padding: 0 9px;
}

@media (max-width: 1240px) and (min-width: 992px) {
    #mainNav { padding-right: 10px; padding-left: 10px; }
    #mainNav > .container {
        grid-template-columns: minmax(145px, auto) minmax(0, 1fr) auto;
        padding-left: 14px;
    }
    .battle-brand { padding-right: 12px; gap: 8px; }
    .brand-mark { width: 36px; height: 36px; font-size: 15px; }
    .brand-copy strong { font-size: 19px; }
    .brand-copy small { display: none; }
    .battle-menu { padding: 0 8px; gap: 2px !important; }
    .battle-menu .nav-link,
    .battle-menu .nav-link > span {
        font-size: 11px !important;
        letter-spacing: .04em;
    }
    .battle-menu .nav-link { padding: 0 7px !important; gap: 5px; }
    .nav-top-actions { padding-left: 9px; gap: 6px; }
    .nav-discord-link {
        min-width: 42px;
        width: 42px;
        padding: 0;
        justify-content: center;
    }
    .nav-discord-link > .discord-menu-copy,
    .nav-discord-link > b { display: none; }
    .nav-top-actions .language-menu summary { min-width: 62px; }
}

@media (max-width: 991px) {
    #mainNav {
        margin-top: 10px;
        padding: 0 10px;
    }
    #mainNav > .container {
        display: flex;
        min-height: 64px;
        padding: 0 10px;
        flex-wrap: wrap;
    }
    .battle-brand {
        min-height: 64px;
        padding-right: 12px;
    }
    .nav-top-actions {
        min-height: 64px;
        margin-left: auto;
        padding-left: 10px;
    }
    #navbarResponsive {
        width: 100%;
        flex-basis: 100%;
        border-top: 1px solid rgba(231,189,121,.12);
    }
    .battle-menu {
        padding: 10px 0;
        align-items: stretch;
        gap: 6px !important;
    }
}

/* Refined account center. */
.account-page-header .bd-c {
    display: grid;
    grid-template-columns: 62px minmax(0,1fr);
    align-items: center;
    gap: 18px;
}
.account-page-header .bd-c::before {
    content: "\f007";
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(231,189,121,.38);
    border-radius: 50%;
    color: #efc16d;
    background: radial-gradient(circle at 50% 20%,rgba(119,38,49,.88),rgba(30,12,16,.96) 70%);
    box-shadow: 0 0 0 7px rgba(231,189,121,.035),0 14px 30px rgba(0,0,0,.3);
    font: 20px FontAwesome;
}
.account-page-header .bd-c > * {
    grid-column: 2;
}
.account-page-kicker {
    margin-bottom: 2px;
}
.account-page-header .pre-social {
    margin: 4px 0 7px;
    font-size: 34px;
    letter-spacing: .03em;
}
.account-page-description {
    margin: 0;
    color: rgba(235,219,199,.72);
    font-size: 14px;
}
.account-dashboard {
    display: grid;
    gap: 18px;
    padding: 24px;
    background:
        radial-gradient(circle at 100% 0,rgba(151,47,60,.1),transparent 38%),
        linear-gradient(180deg,rgba(42,19,23,.96),rgba(22,10,13,.99));
}
.account-summary {
    display: grid;
    grid-template-columns: 58px minmax(0,1fr) auto;
    min-height: 118px;
    padding: 18px;
    gap: 15px;
    border: 1px solid rgba(231,189,121,.18);
    border-left: 3px solid #c9974e;
    background: linear-gradient(100deg,rgba(62,25,30,.72),rgba(24,10,12,.62));
}
.account-profile-mark {
    width: 54px;
    height: 54px;
    border-color: rgba(231,189,121,.36);
    background: radial-gradient(circle at 50% 22%,rgba(135,48,59,.84),rgba(25,10,13,.96) 70%);
}
.account-profile-name small {
    color: #d8a95c;
    font-size: 11px !important;
    letter-spacing: .16em;
}
.account-profile-name strong {
    margin-top: 2px;
    color: #ffe8c2;
    font-size: 24px;
    line-height: 1.05;
}
.account-profile-name span {
    color: rgba(231,213,193,.66);
    font-size: 13px;
}
.account-balance {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 10px;
}
.account-balance span {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid rgba(231,189,121,.15);
    border-left: 0;
    background: rgba(13,6,8,.25);
    color: rgba(231,213,193,.6);
    font-size: 11px !important;
}
.account-balance i {
    margin-bottom: 5px;
    color: #d9a956;
    font-size: 15px;
}
.account-balance strong {
    margin-top: 3px;
    color: #ffd783;
    font-size: 22px;
}
.account-actions-title {
    margin: 2px 0 -4px;
    color: #d8a95c;
    font-size: 11px !important;
    letter-spacing: .18em;
}
.account-actions-grid {
    display: grid;
    gap: 10px;
}
.account-action-card {
    min-height: 74px;
    padding: 12px 14px;
    grid-template-columns: 44px minmax(0,1fr) auto;
    gap: 13px;
    border-color: rgba(231,189,121,.15);
    border-left: 0;
    border-radius: 2px;
    background: linear-gradient(100deg,rgba(38,16,20,.84),rgba(18,8,10,.72));
}
.account-action-card:hover {
    transform: translateY(-1px);
    border-color: rgba(231,189,121,.38);
    background: linear-gradient(100deg,rgba(72,27,34,.72),rgba(22,9,12,.82));
}
.account-action-card > i {
    width: 42px;
    height: 42px;
    border-color: rgba(231,189,121,.24);
    color: #efc16d;
    background: rgba(231,189,121,.055);
    font-size: 16px;
}
.account-action-card strong {
    color: #ffe5bd;
    font-size: 14px !important;
}
.account-action-card small {
    color: rgba(231,213,193,.62);
    font-size: 13px !important;
}
.account-action-card > b {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(231,189,121,.18);
    color: #efc16d;
    font-size: 21px;
}
.account-action-card button {
    min-height: 36px;
    padding: 0 12px;
    border-color: rgba(231,189,121,.28);
    color: #f1cf95;
    background: rgba(14,6,8,.45);
    font-size: 12px !important;
}
.account-action-card button:hover {
    border-color: rgba(231,189,121,.54);
    color: #fff0d0;
}
.account-danger {
    border-color: rgba(207,67,78,.28);
    background: linear-gradient(100deg,rgba(55,18,23,.86),rgba(20,8,11,.75));
}
.account-danger > i,
.account-danger button {
    color: #ff9da4;
    border-color: rgba(207,67,78,.34);
}
body #account_block.account-menu {
    padding: 16px 14px 18px;
    gap: 9px;
    background:
        radial-gradient(circle at 100% 0,rgba(143,45,55,.16),transparent 44%),
        linear-gradient(180deg,rgba(48,20,25,.9),rgba(20,9,12,.96));
}
body #account_block.account-menu a {
    min-height: 48px;
    padding: 10px 12px;
    border-color: rgba(231,189,121,.17);
    background: rgba(15,7,9,.38);
    font-size: 13px !important;
    letter-spacing: .01em;
}
body #account_block.account-menu a > i {
    width: 34px;
    height: 34px;
    border-color: rgba(231,189,121,.22);
    background: rgba(231,189,121,.045);
    color: #efc16d;
}
body #account_block.account-menu a > span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body #account_block.account-menu a > b {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(231,189,121,.18);
    color: #dfae61;
}
body #account_block.account-menu a:hover {
    border-color: rgba(231,189,121,.38);
    background: linear-gradient(90deg,rgba(92,34,42,.6),rgba(28,12,15,.72));
}
body #account_block.account-menu .account-logout {
    margin-top: 4px;
    border-color: rgba(207,67,78,.32);
    background: linear-gradient(90deg,rgba(89,23,32,.5),rgba(25,9,13,.72));
}
body #account_block.account-menu .account-logout > i,
body #account_block.account-menu .account-logout > b {
    color: #ff9da4;
    border-color: rgba(207,67,78,.32);
}

@media (max-width: 767px) {
    .account-page-header .bd-c {
        grid-template-columns: 1fr;
    }
    .account-page-header .bd-c::before {
        display: none;
    }
    .account-page-header .bd-c > * {
        grid-column: 1;
    }
    .account-dashboard {
        padding: 18px;
    }
    .account-summary {
        grid-template-columns: 54px minmax(0,1fr);
    }
    .account-balance {
        grid-column: 1 / -1;
    }
    .account-action-card {
        grid-template-columns: 42px minmax(0,1fr);
    }
    .account-action-card > b,
    .account-action-card button {
        grid-column: 2;
        justify-self: start;
    }
}
