:root {
    /* Obsidian & Twilight Violet Palette */
    --bg: #07050f;
    --bg-elevated: #0d0a1c;
    --surface: #120e24;
    --surface-hover: #181330;
    --surface-card: #141029;
    
    /* Neon Cyan / Aqua (Primary Accent from Menu) */
    --cyan: #00f5ff;
    --cyan-light: #38bdf8;
    --cyan-dim: rgba(0, 245, 255, 0.12);
    --cyan-border: rgba(0, 245, 255, 0.4);
    --cyan-glow: rgba(0, 245, 255, 0.28);
    
    /* Neon Violet / Orchid / Magenta (Secondary Accent) */
    --purple: #a855f7;
    --purple-light: #c084fc;
    --purple-dim: rgba(168, 85, 247, 0.15);
    --purple-border: rgba(168, 85, 247, 0.45);
    --purple-glow: rgba(168, 85, 247, 0.25);
    
    /* Rank Specific Accents - In-game true colors:
       VIP: Pure Gold Crown ($25)
       Mythic: Amber/Orange-Gold Crystal ($15)
       Ultimate: Electric Cyan Crystal ($10)
       Supreme: Neon Purple/Violet Crystal ($3)
    */
    --vip: #ffd700;
    --vip-dim: rgba(255, 215, 0, 0.15);
    --vip-border: rgba(255, 215, 0, 0.55);
    --vip-glow: rgba(255, 215, 0, 0.35);
    
    --mythic: #f59e0b;
    --mythic-dim: rgba(245, 158, 11, 0.15);
    --mythic-border: rgba(245, 158, 11, 0.5);
    --mythic-glow: rgba(245, 158, 11, 0.25);
    
    --ultimate: #00f5ff;
    --ultimate-dim: rgba(0, 245, 255, 0.15);
    --ultimate-border: rgba(0, 245, 255, 0.5);
    --ultimate-glow: rgba(0, 245, 255, 0.25);
    
    --supreme: #c084fc;
    --supreme-dim: rgba(192, 132, 252, 0.15);
    --supreme-border: rgba(192, 132, 252, 0.5);
    --supreme-glow: rgba(192, 132, 252, 0.25);
    
    /* Blood Moon & Status */
    --blood: #f43f5e;
    --blood-dim: rgba(244, 63, 94, 0.15);
    --online: #10b981;
    
    /* Borders & Lines */
    --line: rgba(255, 255, 255, 0.08);
    --line-glow: rgba(0, 245, 255, 0.2);
    
    /* Typography */
    --text: #f8fafc;
    --muted: #94a3b8;
    --faint: #64748b;
    --ink: #07050f;
    
    --font-head: 'Noto Kufi Arabic', sans-serif;
    --font-body: 'IBM Plex Sans Arabic', sans-serif;
    --font-num: 'Space Grotesk', sans-serif;
    --w: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 10% 20%, rgba(0, 245, 255, 0.04) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--cyan); color: var(--ink); }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }

/* Inline Code handling (prevents Bidi punctuation distortion) */
code {
    font-family: var(--font-num);
    direction: ltr;
    display: inline-block;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.06);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 13.5px;
    color: var(--cyan);
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 5, 15, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .wrap {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.neon-edge {
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(168, 85, 247, 0.4) 20%, 
        var(--cyan) 50%, 
        rgba(168, 85, 247, 0.4) 80%, 
        transparent 100%);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.45);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 20px;
    color: #fff;
    transition: transform .2s ease;
}

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

.emblem-svg {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(0, 245, 255, 0.35));
}

.nav {
    display: flex;
    gap: 6px;
    list-style: none;
}

.nav a {
    padding: 8px 14px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--muted);
    border-radius: 6px;
    transition: color .15s, background .15s;
    border: 1px solid transparent;
}

.nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.nav a.on {
    color: var(--cyan);
    background: var(--cyan-dim);
    border-color: rgba(0, 245, 255, 0.25);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: all .2s ease;
}

.btn:hover {
    border-color: var(--cyan-border);
    transform: translateY(-1px);
}

.btn-cyan {
    background: linear-gradient(135deg, #00f5ff 0%, #0284c7 100%);
    border-color: #00f5ff;
    color: #05060b;
    box-shadow: 0 0 16px rgba(0, 245, 255, 0.32);
}

.btn-cyan:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    border-color: #38bdf8;
    box-shadow: 0 0 24px rgba(0, 245, 255, 0.55);
    color: #000;
}

/* ---------- Hero ---------- */
.hero {
    padding: 88px 0 76px;
    position: relative;
}

.hero h1 {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(38px, 5.5vw, 64px);
    line-height: 1.2;
    margin-bottom: 18px;
}

.hero h1 small {
    display: block;
    font-family: var(--font-num);
    font-size: 0.36em;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.hero-sub {
    font-size: 18px;
    color: var(--muted);
    max-width: 540px;
    margin-bottom: 40px;
}

.server-row {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 660px;
    background: linear-gradient(135deg, rgba(18, 14, 36, 0.85) 0%, rgba(22, 17, 44, 0.85) 100%);
    border: 1px solid var(--cyan-border);
    border-radius: 8px;
    padding: 14px 18px 14px 20px;
    cursor: pointer;
    transition: all .2s ease;
    position: relative;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.server-row:hover {
    border-color: var(--cyan);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 245, 255, 0.22);
}

.server-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #16112c, #0a0815);
    border: 1px solid rgba(0, 245, 255, 0.5);
    border-radius: 6px;
    display: grid;
    place-items: center;
    box-shadow: 0 0 12px rgba(0, 245, 255, 0.25);
}

.server-info { flex: 1; min-width: 0; }

.server-name {
    font-family: var(--font-num);
    font-weight: 700;
    font-size: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.server-count {
    font-size: 14px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
    direction: ltr;
}

.ping {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
}

.ping i {
    width: 3px;
    background: var(--online);
    display: block;
    border-radius: 1px;
}

.ping i:nth-child(1) { height: 4px; }
.ping i:nth-child(2) { height: 7px; }
.ping i:nth-child(3) { height: 10px; }
.ping i:nth-child(4) { height: 12px; }
.ping i:nth-child(5) { height: 14px; }

.server-motd {
    font-size: 14.5px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 4px;
}

.server-motd b { color: var(--cyan); font-weight: 600; }

.copy-hint {
    font-size: 12.5px;
    color: var(--cyan);
    background: var(--cyan-dim);
    border: 1px solid rgba(0, 245, 255, 0.3);
    padding: 4px 10px;
    border-radius: 4px;
    flex-shrink: 0;
    font-family: var(--font-body);
    font-weight: 500;
}

.server-row.copied {
    border-color: var(--online);
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.3);
}

.server-row.copied .copy-hint {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--online);
    color: var(--online);
}

.bedrock-note {
    margin-top: 18px;
    font-size: 14px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---------- Bento Features Grid ---------- */
.block {
    padding: 72px 0;
    border-top: 1px solid var(--line);
}

.block h2 {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 28px;
    margin-bottom: 8px;
}

.block p.lead {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 36px;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feat {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px 24px;
    transition: all .2s ease;
    position: relative;
    overflow: hidden;
}

.feat:hover {
    border-color: var(--cyan-border);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.feat h3 {
    font-family: var(--font-head);
    font-size: 19px;
    margin-bottom: 8px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feat h3 .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 6px var(--cyan);
}

.feat p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 820px;
}

details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color .15s ease;
}

details[open] {
    border-color: var(--cyan-border);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

summary {
    padding: 16px 20px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    color: var(--text);
}

summary::-webkit-details-marker { display: none; }

summary::after {
    content: "＋";
    font-size: 18px;
    color: var(--cyan);
}

details[open] summary::after {
    content: "−";
    color: var(--purple-light);
}

.ans {
    padding: 0 20px 20px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

/* ---------- Ranks Cards System ---------- */
.page-head {
    padding: 64px 0 40px;
}

.page-head h1 {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(34px, 5vw, 48px);
    margin-bottom: 10px;
}

.page-head p {
    color: var(--muted);
    font-size: 17px;
    max-width: 620px;
}

.ranks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 52px;
}

.rank-card {
    background: var(--surface-card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all .25s ease;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.rank-card:hover {
    transform: translateY(-5px);
}

/* Top Rank / VIP (Highest Tier $25 Pure Gold) */
.rank-card.vip {
    border-color: var(--vip-border);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.16);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.05) 0%, var(--surface-card) 40%);
}
.rank-card.vip:hover {
    box-shadow: 0 12px 36px var(--vip-glow);
    border-color: var(--vip);
}

/* Tier 03 / Mythic ($15 Amber/Orange Gold) */
.rank-card.mythic {
    border-color: var(--mythic-border);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.14);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, var(--surface-card) 40%);
}
.rank-card.mythic:hover {
    box-shadow: 0 12px 32px var(--mythic-glow);
    border-color: var(--mythic);
}

/* Tier 02 / Ultimate ($10 Electric Cyan) */
.rank-card.ultimate {
    border-color: var(--ultimate-border);
    box-shadow: 0 8px 24px rgba(0, 245, 255, 0.14);
    background: linear-gradient(180deg, rgba(0, 245, 255, 0.05) 0%, var(--surface-card) 40%);
}
.rank-card.ultimate:hover {
    box-shadow: 0 12px 32px var(--ultimate-glow);
    border-color: var(--ultimate);
}

/* Tier 01 / Supreme ($3 Neon Violet) */
.rank-card.supreme {
    border-color: var(--supreme-border);
    box-shadow: 0 8px 24px rgba(192, 132, 252, 0.14);
    background: linear-gradient(180deg, rgba(192, 132, 252, 0.05) 0%, var(--surface-card) 40%);
}
.rank-card.supreme:hover {
    box-shadow: 0 12px 32px var(--supreme-glow);
    border-color: var(--supreme);
}

.rank-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.rank-badge-pill {
    font-size: 11px;
    font-family: var(--font-num);
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.rank-price-pill {
    font-family: var(--font-num);
    font-weight: 800;
    font-size: 17px;
}

.rank-card.vip .rank-badge-pill { background: var(--vip-dim); color: var(--vip); border: 1px solid var(--vip-border); }
.rank-card.vip .rank-price-pill { color: var(--vip); }

.rank-card.mythic .rank-badge-pill { background: var(--mythic-dim); color: var(--mythic); border: 1px solid var(--mythic-border); }
.rank-card.mythic .rank-price-pill { color: var(--mythic); }

.rank-card.ultimate .rank-badge-pill { background: var(--ultimate-dim); color: var(--ultimate); border: 1px solid var(--ultimate-border); }
.rank-card.ultimate .rank-price-pill { color: var(--ultimate); }

.rank-card.supreme .rank-badge-pill { background: var(--supreme-dim); color: var(--supreme); border: 1px solid var(--supreme-border); }
.rank-card.supreme .rank-price-pill { color: var(--supreme); }

/* Rank Header with Official Logo */
.rank-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.rank-logo-wrap {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.rank-logo-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.7));
    transition: transform .25s ease;
}

.rank-card:hover .rank-logo-img {
    transform: scale(1.12);
}

.rank-title {
    font-family: var(--font-num);
    font-weight: 800;
    font-size: 24px;
    line-height: 1.1;
    color: #fff;
}

.rank-card.vip .rank-title { color: var(--vip); }
.rank-card.mythic .rank-title { color: var(--mythic); }
.rank-card.ultimate .rank-title { color: var(--ultimate); }
.rank-card.supreme .rank-title { color: var(--supreme); }

.rank-sub {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 18px;
    min-height: 42px;
}

.rank-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 13.5px;
    color: var(--text);
}

.rank-perks li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.rank-perks li::before {
    content: "✦";
    font-size: 11px;
    flex-shrink: 0;
    margin-top: 2px;
}

.rank-card.vip .rank-perks li::before { color: var(--vip); }
.rank-card.mythic .rank-perks li::before { color: var(--mythic); }
.rank-card.ultimate .rank-perks li::before { color: var(--ultimate); }
.rank-card.supreme .rank-perks li::before { color: var(--supreme); }

.rank-reward-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.rank-reward-box .label {
    font-size: 12px;
    color: var(--muted);
}

.rank-reward-box .val {
    font-family: var(--font-num);
    font-weight: 700;
    font-size: 14.5px;
    white-space: nowrap;
}

.rank-card.vip .rank-reward-box .val { color: var(--vip); }
.rank-card.mythic .rank-reward-box .val { color: var(--mythic); }
.rank-card.ultimate .rank-reward-box .val { color: var(--ultimate); }
.rank-card.supreme .rank-reward-box .val { color: var(--supreme); }

.rank-btn {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    text-align: center;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.rank-card.vip .rank-btn {
    background: linear-gradient(135deg, #ffd700 0%, #d97706 100%);
    color: #111;
}
.rank-card.vip .rank-btn:hover {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.rank-card.mythic .rank-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    color: #fff;
}
.rank-card.mythic .rank-btn:hover {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
}

.rank-card.ultimate .rank-btn {
    background: linear-gradient(135deg, #00f5ff 0%, #0284c7 100%);
    color: #05060b;
}
.rank-card.ultimate .rank-btn:hover {
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.6);
}

.rank-card.supreme .rank-btn {
    background: linear-gradient(135deg, #c084fc 0%, #7e22ce 100%);
    color: #fff;
}
.rank-card.supreme .rank-btn:hover {
    box-shadow: 0 0 20px rgba(192, 132, 252, 0.6);
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }

table.t {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 660px;
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.t th, .t td {
    padding: 14px 16px;
    text-align: right;
    border-bottom: 1px solid var(--line);
}

.t thead th {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15.5px;
    color: var(--text);
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.t tbody th {
    font-weight: 500;
    color: var(--muted);
    width: 22%;
    background: rgba(0, 0, 0, 0.18);
}

.t .num { font-family: var(--font-num); font-weight: 600; direction: ltr; text-align: right; }

.th-rank {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.th-rank img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.col-vip { color: var(--vip); }
.col-mythic { color: var(--mythic); }
.col-ultimate { color: var(--ultimate); }
.col-supreme { color: var(--supreme); }

.note {
    margin-top: 22px;
    color: var(--faint);
    font-size: 14px;
}

/* ---------- Blood moon ---------- */
.blood h1 span {
    color: var(--blood);
    text-shadow: 0 0 16px rgba(244, 63, 94, 0.45);
}

.timeline {
    list-style: none;
    border-right: 2px solid var(--line);
    margin: 10px 6px 0 0;
    max-width: 680px;
}

.timeline li {
    position: relative;
    padding: 0 28px 34px 0;
}

.timeline li::before {
    content: "";
    position: absolute;
    right: -7px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--bg);
    border: 2px solid var(--blood);
    border-radius: 2px;
}

.timeline li:last-child::before {
    background: var(--blood);
    box-shadow: 0 0 10px var(--blood);
}

.timeline .time {
    font-family: var(--font-num);
    font-size: 13.5px;
    color: var(--blood);
    font-weight: 600;
}

.timeline h3 {
    font-family: var(--font-head);
    font-size: 18px;
    margin: 2px 0;
}

.timeline p { color: var(--muted); font-size: 15px; }

/* ---------- Leaderboards ---------- */
.lb {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
}

.champ {
    text-align: center;
    position: sticky;
    top: 110px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
}

.champ img {
    height: 220px;
    image-rendering: pixelated;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.7));
}

.champ .who {
    font-family: var(--font-num);
    font-weight: 700;
    font-size: 20px;
    margin-top: 14px;
    color: var(--cyan);
}

.champ .what { color: var(--muted); font-size: 14px; }

.tabs {
    display: flex;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 16px;
}

.tabs button {
    background: none;
    border: none;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 15.5px;
    font-weight: 600;
    padding: 10px 4px;
    cursor: pointer;
    margin-bottom: -1px;
    border-bottom: 2px solid transparent;
    transition: color .15s;
}

.tabs button.on {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
}

.player {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-num);
    font-weight: 600;
}

.player img, .player .ph {
    width: 26px;
    height: 26px;
    image-rendering: pixelated;
    border-radius: 4px;
}

.player .ph {
    display: inline-grid;
    place-items: center;
    background: var(--surface-hover);
    color: var(--cyan);
    font-size: 12px;
}

.t .pos { font-family: var(--font-num); color: var(--faint); width: 56px; }
.t tr:first-child .pos { color: var(--vip); }

.tag-pass { color: var(--vip); font-size: 13.5px; font-weight: 600; }
.tag-free { color: var(--faint); font-size: 13.5px; }

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 34px 0;
    color: var(--faint);
    font-size: 14px;
    margin-top: 40px;
}

.site-footer .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer a:hover { color: var(--cyan); }

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 20px);
    background: var(--cyan);
    color: #05060b;
    font-weight: 700;
    font-size: 14.5px;
    padding: 10px 22px;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 245, 255, 0.4);
    opacity: 0;
    transition: all .2s ease;
    pointer-events: none;
    z-index: 100;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .ranks-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .nav { display: none; }
    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 74px;
        right: 0;
        left: 0;
        background: var(--bg-elevated);
        border-bottom: 1px solid var(--line);
        padding: 12px 24px 20px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.6);
    }
    .menu-btn { display: inline-flex !important; }
    .features { grid-template-columns: 1fr; }
    .ranks-grid { grid-template-columns: 1fr; }
    .lb { grid-template-columns: 1fr; }
    .champ { position: static; }
    .hero { padding: 60px 0; }
    .block { padding: 50px 0; }
    .server-icon { width: 50px; height: 50px; }
}

.menu-btn {
    display: none;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text);
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
}
