/* ═══════════════════════════════════════════════════════════════
   StarNet Core — Premium Game Portal Design System
   ═══════════════════════════════════════════════════════════════ */

:root {
    --bg-deep:    #04060d;
    --bg:         #070b14;
    --bg-raised:  #0c1220;
    --bg-card:    #0f1628;
    --bg-glass:   rgba(12, 18, 32, 0.72);
    --line:       rgba(148, 163, 184, 0.12);
    --line-bright:rgba(212, 168, 83, 0.25);

    --text:       #f1f5f9;
    --text-soft:  #cbd5e1;
    --muted:      #94a3b8;
    --dim:        #64748b;

    --gold:       #d4a853;
    --gold-light: #f0d78c;
    --gold-dark:  #a67c2e;
    --ember:      #e85d3b;
    --cyan:       #5ee7ff;
    --violet:     #a78bfa;
    --green:      #34d399;
    --red:        #f87171;

    --gradient-gold: linear-gradient(135deg, #f0d78c 0%, #d4a853 45%, #b8862e 100%);
    --gradient-hero: linear-gradient(135deg, rgba(94, 231, 255, 0.08) 0%, rgba(167, 139, 250, 0.06) 50%, rgba(212, 168, 83, 0.1) 100%);
    --shadow-sm:  0 4px 20px rgba(0, 0, 0, 0.35);
    --shadow-md:  0 12px 40px rgba(0, 0, 0, 0.45);
    --shadow-glow:0 0 60px rgba(212, 168, 83, 0.12);
    --radius:     16px;
    --radius-sm:  10px;
    --radius-lg:  24px;
    --font:       'Outfit', system-ui, sans-serif;
    --font-display:'Cinzel', 'Marcellus', Georgia, serif;
    --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
    font-family: var(--font);
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ── Ambient background ── */
.bg-noise {
    position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.bg-glow {
    position: fixed; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 0;
}
.bg-glow--1 { width: 600px; height: 600px; top: -200px; right: -100px; background: rgba(212, 168, 83, 0.07); }
.bg-glow--2 { width: 500px; height: 500px; bottom: 10%; left: -150px; background: rgba(94, 231, 255, 0.05); }

.site-main { position: relative; z-index: 1; flex: 1; }

/* ── Header ── */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(4, 6, 13, 0.6);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled {
    background: rgba(4, 6, 13, 0.92);
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex; align-items: center; gap: 20px;
    height: 72px;
}

.brand {
    display: flex; align-items: center; gap: 12px;
    flex-shrink: 0;
}
.brand-text {
    font-family: var(--font-display);
    font-weight: 700; font-size: 17px;
    letter-spacing: 0.04em;
}
.brand b {
    background: var(--gradient-gold);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    background: linear-gradient(145deg, rgba(212,168,83,0.2), rgba(212,168,83,0.05));
    border: 1px solid var(--line-bright);
    border-radius: 12px;
    color: var(--gold-light);
    box-shadow: var(--shadow-glow);
}
.logo svg { width: 22px; height: 22px; }

.nav-links {
    display: flex; gap: 4px; margin-left: 8px;
}
.nav-links a {
    padding: 9px 16px; border-radius: var(--radius-sm);
    color: var(--muted); font-weight: 600; font-size: 14px;
    letter-spacing: 0.02em;
    transition: color 0.2s, background 0.2s;
    position: relative;
}
.nav-links a:hover { color: var(--text-soft); background: rgba(255,255,255,0.04); }
.nav-links a.active {
    color: var(--gold-light);
    background: rgba(212, 168, 83, 0.08);
}

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
    margin-left: auto;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Coins ── */
.coins { display: flex; gap: 8px; }
.coin {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--bg-glass);
    border: 1px solid var(--line);
    padding: 6px 12px; border-radius: 999px;
    font-weight: 700; font-size: 13px;
    backdrop-filter: blur(8px);
}
.coin .dot { width: 10px; height: 10px; border-radius: 50%; }
.coin.silver .dot { background: linear-gradient(135deg, #e2e8f0, #94a3b8); box-shadow: 0 0 8px rgba(148,163,184,0.4); }
.coin.gold .dot { background: var(--gradient-gold); box-shadow: 0 0 8px rgba(212,168,83,0.5); }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px; border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
    cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--gradient-gold);
    color: #1a1206;
    box-shadow: 0 4px 24px rgba(212, 168, 83, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { box-shadow: 0 8px 32px rgba(212, 168, 83, 0.45); }

.btn-glass, .btn-ghost {
    background: rgba(255,255,255,0.04);
    border-color: var(--line);
    color: var(--text-soft);
    backdrop-filter: blur(8px);
}
.btn-glass:hover, .btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--line-bright);
    color: var(--text);
}

.btn-danger { background: rgba(248,113,113,0.12); color: var(--red); border-color: rgba(248,113,113,0.25); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { width: 100%; }

/* ── Server bar ── */
.server-bar {
    position: relative; z-index: 2;
    background: rgba(7, 11, 20, 0.85);
    border-bottom: 1px solid var(--line);
    padding: 10px 0; font-size: 13px;
}
.server-bar-inner {
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; flex-wrap: wrap;
}
.server-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 14px; border-radius: 999px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--line);
    font-weight: 600;
}
.server-pill.online .status-dot {
    background: var(--green);
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.7);
    animation: pulse-dot 2s ease infinite;
}
.server-pill.offline .status-dot { background: var(--red); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.server-meta { color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.server-meta b { color: var(--gold); font-weight: 800; }
.server-stat { display: inline-flex; align-items: center; gap: 6px; }
.sep { opacity: 0.35; }

/* ── Hero ── */
.hero {
    position: relative; padding: 80px 0 100px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb {
    position: absolute; border-radius: 50%; filter: blur(80px);
}
.hero-orb--1 { width: 500px; height: 500px; top: -100px; right: 5%; background: rgba(212,168,83,0.12); }
.hero-orb--2 { width: 400px; height: 400px; bottom: -50px; left: -5%; background: rgba(94,231,255,0.08); }
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(148,163,184,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}

.hero-layout {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.1fr 0.9fr;
    gap: 48px; align-items: center;
}

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 800; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 24px;
}
.eyebrow-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 12px var(--gold);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800; line-height: 1.08;
    margin: 0 0 20px; letter-spacing: 0.02em;
}
.hero h1 em {
    font-style: normal;
    background: var(--gradient-gold);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-lead {
    font-size: 18px; color: var(--muted);
    max-width: 520px; margin: 0 0 32px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Live server card */
.live-card {
    background: var(--bg-glass);
    border: 1px solid var(--line-bright);
    border-radius: var(--radius-lg);
    padding: 28px;
    backdrop-filter: blur(24px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}
.live-card__head {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 24px;
}
.live-badge {
    font-size: 10px; font-weight: 800; letter-spacing: 0.15em;
    padding: 4px 10px; border-radius: 6px;
    background: rgba(248,113,113,0.15); color: var(--red);
    border: 1px solid rgba(248,113,113,0.3);
}
.live-badge--on {
    background: rgba(52,211,153,0.15); color: var(--green);
    border-color: rgba(52,211,153,0.35);
    animation: pulse-badge 2s ease infinite;
}
@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.3); }
    50% { box-shadow: 0 0 0 6px rgba(52,211,153,0); }
}
.live-card__title {
    font-family: var(--font-display);
    font-weight: 700; font-size: 16px; letter-spacing: 0.05em;
}
.live-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 16px; margin-bottom: 20px;
}
.live-stat__val {
    display: block; font-size: 32px; font-weight: 800;
    font-family: var(--font-display);
    background: var(--gradient-gold);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}
.live-stat__val--sm { font-size: 24px; }
.live-stat__lbl { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.live-bar {
    height: 4px; background: rgba(255,255,255,0.06);
    border-radius: 999px; overflow: hidden;
}
.live-bar__fill {
    height: 100%; background: var(--gradient-gold);
    border-radius: 999px;
    transition: width 1s var(--ease);
}

/* ── Features ── */
.features {
    padding: 0; margin-top: -40px;
    position: relative; z-index: 3;
}
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    background: var(--bg-glass);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    backdrop-filter: blur(16px);
    transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-bright);
    box-shadow: var(--shadow-md);
}
.feature-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: grid; place-items: center;
    margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-icon--gold { background: rgba(212,168,83,0.12); color: var(--gold); border: 1px solid rgba(212,168,83,0.2); }
.feature-icon--cyan { background: rgba(94,231,255,0.1); color: var(--cyan); border: 1px solid rgba(94,231,255,0.2); }
.feature-icon--violet { background: rgba(167,139,250,0.1); color: var(--violet); border: 1px solid rgba(167,139,250,0.2); }
.feature-card h3 {
    font-family: var(--font-display);
    font-size: 17px; font-weight: 700;
    margin: 0 0 8px; letter-spacing: 0.03em;
}
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* ── Page hero (inner pages) ── */
.page-hero {
    position: relative;
    padding: 56px 0 48px;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--gradient-hero);
    pointer-events: none;
}
.page-hero::after {
    content: '';
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 60%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-bright), transparent);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800; margin: 0 0 12px;
    letter-spacing: 0.02em;
}
.page-hero p { color: var(--muted); margin: 0; font-size: 16px; max-width: 560px; line-height: 1.65; }
.page-hero .section-label { margin-bottom: 12px; }

.auth-hero {
    text-align: center; padding: 48px 0 0;
}
.auth-hero h1 { font-size: clamp(28px, 4vw, 36px); }
.auth-hero p { margin: 0 auto; }

.article-panel { max-width: 820px; margin: 0 auto; }
.article-meta { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.article-body {
    white-space: pre-line; font-size: 16px;
    line-height: 1.8; color: var(--text-soft);
}
.article-body p { margin: 0 0 1em; }

.rank-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 8px;
    font-family: var(--font-display); font-weight: 800; font-size: 14px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--line);
}
.rank-badge--top {
    background: rgba(212,168,83,0.15);
    border-color: rgba(212,168,83,0.35);
    color: var(--gold-light);
}

.panel-title {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 700;
    margin: 0 0 20px; letter-spacing: 0.03em;
}

/* ── Sections ── */
.section { padding: 80px 0; }
.section--compact { padding: 48px 0 80px; }
.section--shop { background: linear-gradient(180deg, transparent, rgba(7,11,20,0.6) 30%, transparent); }

.section-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 36px; gap: 20px; flex-wrap: wrap;
}
.section-label {
    display: block; font-size: 11px; font-weight: 800;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 8px;
}
.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800; margin: 0; letter-spacing: 0.02em;
}
.section-head p { color: var(--muted); margin: 8px 0 0; font-size: 15px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Cards ── */
.card {
    background: linear-gradient(165deg, var(--bg-card) 0%, var(--bg-raised) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.card:hover {
    transform: translateY(-6px);
    border-color: var(--line-bright);
    box-shadow: var(--shadow-md);
}
.card-link { display: block; height: 100%; }
.card-media {
    height: 160px; position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.card-media::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08), transparent 60%);
}
.card-media--update { background: linear-gradient(135deg, #0f1a2e 0%, #1a2744 100%); }
.card-media--event  { background: linear-gradient(135deg, #0f1f1a 0%, #1a3328 100%); }
.card-media--tech   { background: linear-gradient(135deg, #0f1a2e 0%, #1a2244 100%); }
.card-media--starter{ background: linear-gradient(135deg, #1a1a0f 0%, #2e2a1a 100%); }
.card-media--armor  { background: linear-gradient(135deg, #1a1f2e 0%, #2a3044 100%); }
.card-media--pet    { background: linear-gradient(135deg, #1a0f1f 0%, #2a1a33 100%); }
.card-media--currency,.card-media--misc { background: linear-gradient(135deg, #0f1a1a 0%, #1a2e2e 100%); }

.card-media__icon {
    width: 56px; height: 56px; border-radius: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative; z-index: 1;
}
.card-media__icon::after {
    content: ''; position: absolute; inset: 14px;
    border: 2px solid rgba(212,168,83,0.4);
    border-radius: 6px;
}

.card-body { padding: 22px; }
.card-body h3 {
    font-family: var(--font-display);
    font-size: 17px; font-weight: 700;
    margin: 0 0 10px; letter-spacing: 0.02em;
    line-height: 1.35;
}
.card-body p { color: var(--muted); font-size: 14px; margin: 0 0 14px; line-height: 1.6; }
.card-cta { font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: 0.02em; }

.tag {
    display: inline-block; font-size: 10px; font-weight: 800;
    letter-spacing: 0.12em; text-transform: uppercase;
    padding: 5px 10px; border-radius: 6px;
    margin-bottom: 12px;
    background: rgba(212,168,83,0.1); color: var(--gold);
    border: 1px solid rgba(212,168,83,0.2);
}
.tag--event, .tag.event { background: rgba(52,211,153,0.1); color: var(--green); border-color: rgba(52,211,153,0.2); }
.tag--tech, .tag.tech { background: rgba(94,231,255,0.1); color: var(--cyan); border-color: rgba(94,231,255,0.2); }

.price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.price { font-weight: 800; font-size: 18px; display: inline-flex; gap: 8px; align-items: center; font-family: var(--font-display); }

/* ── CTA band ── */
.cta-band {
    padding: 0 0 80px;
}
.cta-band__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 32px; flex-wrap: wrap;
    padding: 48px 56px;
    background: linear-gradient(135deg, rgba(212,168,83,0.1) 0%, rgba(94,231,255,0.05) 100%);
    border: 1px solid var(--line-bright);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
}
.cta-band h2 {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 30px);
    margin: 0 0 8px; font-weight: 800;
}
.cta-band p { margin: 0; color: var(--muted); }

/* ── Auth ── */
.auth-wrap { display: grid; place-items: center; padding: 60px 0; min-height: 60vh; }
.auth-card { width: min(440px, 100%); }
.panel {
    background: var(--bg-glass);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}
.panel h1, .panel h3 {
    font-family: var(--font-display);
    margin: 0 0 6px; font-weight: 800;
}
.panel .sub { color: var(--muted); margin: 0 0 28px; }
.field { margin-bottom: 18px; }
.field label {
    display: block; font-size: 12px; font-weight: 700;
    color: var(--muted); margin-bottom: 8px;
    letter-spacing: 0.06em; text-transform: uppercase;
}
.input {
    width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
    background: rgba(0,0,0,0.35); border: 1px solid var(--line);
    color: var(--text); font-size: 15px; font-family: var(--font);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus {
    outline: none; border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,168,83,0.15);
}
textarea.input { resize: vertical; min-height: 120px; }
.form-foot { margin-top: 16px; color: var(--muted); font-size: 14px; text-align: center; }
.form-foot a { color: var(--gold); font-weight: 700; }
.form-foot b { color: var(--text-soft); }

/* ── Alerts ── */
.flash-wrap { padding-top: 20px; position: relative; z-index: 5; }
.alert {
    padding: 14px 18px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 14px; border: 1px solid;
}
.alert-error { background: rgba(248,113,113,0.1); color: #fca5a5; border-color: rgba(248,113,113,0.25); }
.alert-success { background: rgba(52,211,153,0.1); color: #6ee7b7; border-color: rgba(52,211,153,0.25); }
.alert ul { margin: 8px 0 0; padding-left: 20px; }

/* ── Tables ── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(0,0,0,0.2); }
table, .data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td, .data-table th, .data-table td {
    padding: 14px 18px; text-align: left;
    border-bottom: 1px solid var(--line);
}
th, .data-table th {
    background: rgba(255,255,255,0.03);
    color: var(--muted); font-size: 11px;
    font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
}
tr:last-child td, .data-table tr:last-child td { border-bottom: none; }
tbody tr:hover, .data-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.data-table .rank { color: var(--gold); font-weight: 900; font-family: var(--font-display); width: 48px; }
.data-table .accent-val { color: var(--gold-light); font-weight: 800; }
.muted { color: var(--muted); }

.badge {
    padding: 4px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 800; letter-spacing: 0.04em;
}
.badge.admin { background: rgba(212,168,83,0.15); color: var(--gold); }
.badge.user { background: rgba(255,255,255,0.06); color: var(--muted); }
.badge.ok { background: rgba(52,211,153,0.15); color: var(--green); }
.badge.pending { background: rgba(212,168,83,0.12); color: var(--gold); }

.online-row { display: inline-flex; align-items: center; gap: 10px; }
.online-row__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--green); box-shadow: 0 0 8px rgba(52,211,153,0.7);
    flex-shrink: 0;
}
.online-pill {
    display: inline-flex; margin-left: 12px;
    font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 999px;
    background: rgba(52,211,153,0.12); color: var(--green);
    border: 1px solid rgba(52,211,153,0.25);
    vertical-align: middle;
}

/* ── Tabs & filters ── */
.tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.tab {
    padding: 11px 20px; border-radius: var(--radius-sm);
    border: 1px solid var(--line); color: var(--muted);
    font-weight: 700; font-size: 14px;
    background: rgba(255,255,255,0.02);
    transition: all 0.2s;
}
.tab.active, .tab:hover {
    color: var(--gold-light);
    border-color: var(--line-bright);
    background: rgba(212,168,83,0.08);
}

.shop-filters { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.filter-chip {
    padding: 9px 18px; border-radius: 999px;
    border: 1px solid var(--line); color: var(--muted);
    font-weight: 600; font-size: 13px;
    background: rgba(255,255,255,0.02);
    transition: all 0.2s;
}
.filter-chip.active, .filter-chip:hover {
    border-color: var(--line-bright); color: var(--text);
    background: rgba(212,168,83,0.08);
}
.item-id { font-size: 12px; color: var(--dim); margin-bottom: 10px; font-family: monospace; }

.online-text { color: var(--green); }
.offline-text { color: var(--red); }

/* ── Dashboard ── */
.dash { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 40px 0; }
.side {
    background: var(--bg-glass); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 16px;
    height: fit-content; backdrop-filter: blur(12px);
}
.side a {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; border-radius: var(--radius-sm);
    color: var(--muted); font-weight: 600; margin-bottom: 4px;
    transition: background 0.2s, color 0.2s;
}
.side a:hover, .side a.active { background: rgba(212,168,83,0.08); color: var(--gold-light); }
.side .side-title {
    font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--dim); padding: 12px 16px 8px; font-weight: 800;
}

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.kpi {
    background: var(--bg-glass); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 22px;
    backdrop-filter: blur(8px);
}
.kpi .k { font-size: 28px; font-weight: 800; font-family: var(--font-display); }
.kpi .l { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

.empty { padding: 48px; text-align: center; color: var(--muted); }

/* ── Footer ── */
.site-footer {
    position: relative; z-index: 2;
    border-top: 1px solid var(--line);
    padding: 64px 0 32px;
    margin-top: auto;
    background: linear-gradient(180deg, transparent, rgba(4,6,13,0.8));
}
.foot-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 48px;
}
.foot-tagline { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 16px 0 0; max-width: 280px; }
.foot-col h4 {
    font-family: var(--font-display);
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--gold); margin: 0 0 16px;
}
.foot-col a {
    display: block; color: var(--muted); font-size: 14px;
    padding: 6px 0; transition: color 0.2s;
}
.foot-col a:hover { color: var(--text); }
.foot-server {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; color: var(--muted);
    padding: 10px 14px; border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.03); border: 1px solid var(--line);
}
.foot-server.online .status-dot { background: var(--green); box-shadow: 0 0 8px rgba(52,211,153,0.5); }
.foot-server.offline .status-dot { background: var(--red); }
.foot-bottom {
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; flex-wrap: wrap;
    padding-top: 28px; border-top: 1px solid var(--line);
    font-size: 13px; color: var(--dim);
}
.foot-motto { font-style: italic; color: var(--muted); }

/* ── Reveal animation ── */
.reveal {
    animation: reveal-up 0.8s var(--ease) both;
}
.page-home .reveal {
    animation: none;
}
@keyframes reveal-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-layout { grid-template-columns: 1fr; gap: 40px; }
    .hero-panel { max-width: 420px; }
    .features-grid { grid-template-columns: 1fr; margin-top: 0; }
    .features { margin-top: 40px; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .page-hero { padding: 40px 0 32px; }
    .nav-toggle { display: flex; }
    .nav-links {
        display: none; position: fixed;
        top: 72px; left: 0; right: 0;
        background: rgba(4, 6, 13, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column; padding: 16px;
        border-bottom: 1px solid var(--line);
        gap: 4px;
        z-index: 120;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 14px 18px; font-size: 16px; }
    .nav-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        width: 100%;
        margin-top: 8px;
    }
    .nav-right .btn { flex: 1 1 auto; min-width: 120px; text-align: center; }
    .nav-right .coins { display: none; }
    body.nav-open { overflow: hidden; }

    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .dash { grid-template-columns: 1fr; }
    .side {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 8px;
        border-bottom: 1px solid var(--line);
        margin-bottom: 20px;
        -webkit-overflow-scrolling: touch;
    }
    .side .side-title { display: none; }
    .side a {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 10px 14px;
        border-radius: 999px;
        border: 1px solid var(--line);
        background: rgba(255,255,255,0.03);
    }
    .side a.active { background: var(--gradient-gold); color: #1a1206; border-color: transparent; }
    .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; padding: 0 4px; }
    .table-wrap table { min-width: 640px; }
    .field-hint { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.5; }
    .panel--nested { margin-bottom: 12px; background: rgba(0,0,0,0.2); }
    .reg-promo-box {
        margin: 16px 0;
        padding: 14px 16px;
        border-radius: var(--radius-sm);
        border: 1px solid rgba(212,168,83,0.35);
        background: rgba(212,168,83,0.08);
    }
    .reg-promo-box ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
    .cta-band__inner { padding: 32px 28px; flex-direction: column; text-align: center; }
    .foot-grid { grid-template-columns: 1fr; gap: 28px; }
    .section { padding: 56px 0; }
    .hero { padding: 56px 0 72px; }
}

@media (max-width: 480px) {
    .kpis { grid-template-columns: 1fr; }
    .live-stats { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .lang-switch { order: -1; width: 100%; justify-content: center; margin-bottom: 8px; }
}

/* ── Language switcher ── */
.lang-switch {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line);
}
.lang-switch__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--muted);
    transition: all 0.2s var(--ease);
}
.lang-switch__btn:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.lang-switch__btn.active {
    color: #1a1206;
    background: var(--gradient-gold);
    box-shadow: 0 2px 12px rgba(212,168,83,0.3);
}

/* ── News images ── */
.card-media--photo {
    background-size: cover;
    background-position: center;
}
.card-media--photo .card-media__icon { display: none; }

.article-cover {
    margin: 0 0 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line-bright);
    box-shadow: var(--shadow-md);
}
.article-cover img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

/* ── Admin news i18n ── */
.admin-lang-block {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0 14px 14px;
    background: rgba(0,0,0,0.15);
}
.admin-lang-block summary {
    cursor: pointer;
    font-weight: 700;
    padding: 12px 0;
    color: var(--gold-light);
}
.admin-news-thumb {
    width: 56px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--line);
    display: block;
}
.admin-news-thumb--empty {
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.04);
    color: var(--dim);
    font-size: 12px;
}

/* ── Shop discounts & icons ── */
.card-media--icon {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.card-media--icon.card-media--photo::before {
    background: radial-gradient(circle at center, rgba(255,255,255,0.06), transparent 70%);
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(232, 93, 59, 0.15);
    color: #ff9b7a;
    border: 1px solid rgba(232, 93, 59, 0.35);
    margin-bottom: 10px;
}
.discount-badge--card {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    margin: 0;
}
.card--shop-premium .card-body {
    position: relative;
}
.card--shop-premium .card-media {
    position: relative;
}

.price--sale {
    flex-wrap: wrap;
    gap: 6px 10px;
}
.price__was {
    font-size: 13px;
    font-weight: 600;
    color: var(--dim);
    text-decoration: line-through;
    margin-left: 6px;
}
