/* =============================================
   CLASSIC ONLINE — Main Stylesheet
   ============================================= */

:root {
  --bg:        #0a0c10;
  --bg2:       #0f1218;
  --bg3:       #161b24;
  --border:    #1e2733;
  --accent:    #f0a500;
  --accent2:   #e06c00;
  --text:      #d0d8e8;
  --text-muted:#6b7a94;
  --gold:      #f0a500;
  --silver:    #9baec8;
  --bronze:    #cd7f32;
  --green:     #2ecc71;
  --red:       #e74c3c;
  --radius:    10px;
  --shadow:    0 4px 32px rgba(0,0,0,0.5);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: .8; }

.accent { color: var(--accent); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── BUTTONS ──────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  border: none;
  transition: transform .15s, opacity .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); opacity: .9; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #000;
  box-shadow: 0 4px 20px rgba(240,165,0,.3);
}
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-sm { padding: 8px 18px; font-size: .85rem; }

.btn-start {
  background: #b5ff00;
  color: #000;
  display: inline-block;
  padding: 14px 32px;
  border-radius: 12px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 20px rgba(181,255,0,.4);
}
.btn-start:hover { transform: scale(.95); box-shadow: 0 2px 10px rgba(181,255,0,.3); }
.btn-start:active { transform: scale(.92); }

/* ── HEADER ───────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,12,16,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo img {
  width: 150px;
  height: auto;
  display: block;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent);
  background: rgba(240,165,0,.08);
  opacity: 1;
}
.nav-donate {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #000 !important;
  border-radius: 8px;
  padding: 7px 16px;
  margin-left: 8px;
}
.nav-donate:hover { opacity: .85; background: linear-gradient(135deg, var(--accent), var(--accent2)); }

.nav-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #000 !important;
  border: none;
  border-radius: 8px;
  padding: 7px 16px;
  margin-left: 8px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: opacity .15s;
}
.nav-btn:hover { opacity: .85; }

.burger { display: none; background: none; border: none; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ── HERO ─────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(240,165,0,.12) 0%, transparent 70%),
    linear-gradient(180deg, #0a0c10 0%, #0f1520 50%, #0a0c10 100%);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(240,165,0,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,165,0,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 180px 0 80px 0;
  margin-left: 200px;
}
.hero .container {
  margin: 0;
  padding-left: 0;
  max-width: none;
  width: 100%;
  position: relative;
}
.hero-chel {
  position: absolute;
  right: 20px;
  bottom: 0;
  height: 520px;
  z-index: 2;
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(240,165,0,.12);
  border: 1px solid rgba(240,165,0,.3);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 0 60px rgba(240,165,0,.2);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 20px;
  max-width: 600px;
  line-height: 1.6;
  white-space: pre-line;
}
.hero-ip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.ip-label { color: var(--text-muted); font-size: .9rem; }
.ip-value { font-family: 'Rajdhani', monospace; font-size: 1.1rem; font-weight: 700; color: var(--accent); }
.copy-btn {
  margin-left: auto;
  background: rgba(240,165,0,.15);
  border: 1px solid rgba(240,165,0,.3);
  color: var(--accent);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: .85rem;
  cursor: pointer;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  transition: background .2s;
}
.copy-btn:hover { background: rgba(240,165,0,.25); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ── STATUS BAR ───────────────────────────── */
.status-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.status-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}
.stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
}
.stat-icon { font-size: 2rem; }
.stat-info { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-label { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* ── SECTION TITLE ────────────────────────── */
.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 40px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-header .section-title { margin-bottom: 0; }

/* ── FEATURES ─────────────────────────────── */
.features {
  padding: 80px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover {
  border-color: rgba(240,165,0,.4);
  transform: translateY(-4px);
}
.feature-icon { font-size: 2.4rem; margin-bottom: 16px; }
.feature-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.feature-card p { color: var(--text-muted); font-size: .95rem; }

/* ── HOW TO PLAY ──────────────────────────── */
.howtoplay {
  padding: 80px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.step {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.step-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(240,165,0,.15);
  line-height: 1;
  margin-bottom: 12px;
}
.step-body h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.step-body p { color: var(--text-muted); font-size: .9rem; margin-bottom: 14px; }

/* ── NEWS PREVIEW ─────────────────────────── */
.news-preview { padding: 80px 0; }
.news-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 20px;
}
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.news-card:hover { border-color: rgba(240,165,0,.4); transform: translateY(-3px); }
.news-card.featured { border-left: 3px solid var(--accent); }
.news-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 10px 0 8px;
}
.news-card p { color: var(--text-muted); font-size: .9rem; }
.news-meta { margin-top: 16px; font-size: .8rem; color: var(--text-muted); }

.news-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.news-tag.update, .news-tag:not(.event):not(.announce) {
  background: rgba(240,165,0,.15);
  color: var(--accent);
}
.news-tag.event {
  background: rgba(46,204,113,.15);
  color: #2ecc71;
}
.news-tag.announce {
  background: rgba(52,152,219,.15);
  color: #3498db;
}

/* ── PAGE BANNER ──────────────────────────── */
.page-banner {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(240,165,0,.08) 0%, transparent 70%);
}
.page-banner .container { position: relative; }
.page-banner h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.page-banner p { color: var(--text-muted); }
.donate-banner::before {
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(240,165,0,.14) 0%, transparent 70%);
}

/* ── RULES PAGE ───────────────────────────── */
.rules-page { padding: 60px 0; }
.rules-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 768px) { .rules-layout { grid-template-columns: 1fr; } }

.rules-nav {
  position: sticky;
  top: 80px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.rules-nav h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.rules-nav a {
  display: block;
  color: var(--text);
  padding: 8px 10px;
  border-radius: 6px;
  font-size: .9rem;
  margin-bottom: 2px;
  transition: background .15s, color .15s;
}
.rules-nav a:hover { background: rgba(240,165,0,.08); color: var(--accent); }

.rule-block {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}
.rule-block h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.rule-list { list-style: none; }
.rule-list li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: .95rem;
  color: var(--text);
  line-height: 1.5;
}
.rule-list li:last-child { border-bottom: none; }
.rule-num {
  min-width: 36px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  color: var(--accent);
  font-size: .9rem;
  padding-top: 1px;
}

.punish-table { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.punish-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
}
.punish-row:last-child { border-bottom: none; }
.punish-row.header {
  background: var(--bg3);
  font-weight: 700;
  color: var(--text-muted);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ban { font-weight: 700; }
.ban.perm { color: var(--red); }
.ban.mid  { color: #e67e22; }
.ban.low  { color: #f1c40f; }

/* ── DONATE PAGE ──────────────────────────── */
.donate-page { padding: 60px 0; }
.donate-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(240,165,0,.07);
  border: 1px solid rgba(240,165,0,.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 50px;
  font-size: .9rem;
  color: var(--text-muted);
}
.donate-note span { font-size: 1.3rem; }

.donate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}
.donate-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.donate-card:hover { transform: translateY(-4px); }
.donate-card.popular { border-color: var(--accent); }
.popular-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #000;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 700;
}
.donate-tier {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.donate-tier.bronze { color: var(--bronze); }
.donate-tier.silver { color: var(--silver); }
.donate-tier.gold   { color: var(--gold); }
.donate-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}
.donate-price span { font-size: 1rem; color: var(--text-muted); }
.donate-perks { list-style: none; text-align: left; margin-bottom: 28px; }
.donate-perks li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text-muted);
}
.donate-perks li:last-child { border-bottom: none; }
.donate-perks li:first-of-type { color: var(--text); }

.payment-form { margin-top: 60px; }
.payment-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 600px;
}
.payment-summary {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.pay-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .9rem; color: var(--text-muted); font-weight: 600; }
.form-group input, .form-group select {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'Exo 2', sans-serif;
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus { border-color: var(--accent); }

.currency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.currency-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
  position: relative;
}
.currency-card:hover { border-color: rgba(240,165,0,.5); transform: translateY(-3px); }
.currency-card.best-val { border-color: var(--accent); }
.currency-badge {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #000;
  padding: 2px 12px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
}
.currency-amount {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}
.currency-price { font-size: 1.1rem; font-weight: 700; color: #fff; }

/* ── TOP PAGE ─────────────────────────────── */
.top-page { padding: 60px 0; }
.top-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.tab-btn {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 10px 20px;
  font-family: 'Exo 2', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.tab-btn:hover, .tab-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(240,165,0,.07);
}

/* podium */
.podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.podium-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px 0;
  min-width: 160px;
  position: relative;
  transition: border-color .2s;
}
.podium-item.first {
  border-color: var(--gold);
  padding-top: 36px;
  min-height: 230px;
}
.podium-item.second { min-height: 190px; }
.podium-item.third  { min-height: 170px; }
.podium-crown {
  position: absolute;
  top: -18px;
  font-size: 1.8rem;
}
.podium-avatar {
  font-size: 2.4rem;
  background: var(--bg3);
  border-radius: 50%;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.podium-name {
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  margin-bottom: 4px;
  text-align: center;
}
.podium-val { font-size: .85rem; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.podium-place {
  margin-top: auto;
  width: 100%;
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 8px;
  border-top: 1px solid var(--border);
}
.podium-item.first  .podium-place { color: var(--gold); }
.podium-item.second .podium-place { color: var(--silver); }
.podium-item.third  .podium-place { color: var(--bronze); }

/* top table */
.top-table {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.top-table-header {
  display: grid;
  grid-template-columns: 50px 1fr 100px 150px 90px;
  padding: 14px 20px;
  background: var(--bg3);
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.top-row {
  display: grid;
  grid-template-columns: 50px 1fr 100px 150px 90px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  align-items: center;
  transition: background .15s;
}
.top-row:hover { background: rgba(255,255,255,.02); }
.top-row.top3 { background: rgba(240,165,0,.03); }
.top-rank { font-family: 'Rajdhani', sans-serif; font-weight: 700; color: var(--text-muted); }
.top-name { font-weight: 600; color: #fff; font-size: .95rem; }
.top-level { color: var(--text-muted); font-size: .9rem; }
.top-val  { color: var(--accent); font-weight: 600; font-size: .9rem; }
.top-val-col { }
.top-vip { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: .85rem; letter-spacing: 1px; }
.top-vip.gold   { color: var(--gold); }
.top-vip.silver { color: var(--silver); }
.top-vip.bronze { color: var(--bronze); }

/* ── NEWS PAGE ────────────────────────────── */
.news-page { padding: 60px 0; }
.news-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start;
}
@media (max-width: 900px) { .news-layout { grid-template-columns: 1fr; } }

.news-full-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 24px;
  transition: border-color .2s;
}
.news-full-card:hover { border-color: rgba(240,165,0,.3); }
.news-full-card h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 12px 0 8px;
}
.news-meta-full {
  display: flex;
  gap: 20px;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.news-body { color: var(--text); font-size: .95rem; line-height: 1.7; }
.news-body p { margin-bottom: 12px; }
.news-body ul { padding-left: 20px; }
.news-body li { margin-bottom: 8px; }

.news-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-block {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.sidebar-block h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar-links { list-style: none; }
.sidebar-links li { border-bottom: 1px solid var(--border); }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a {
  display: block;
  color: var(--text);
  padding: 10px 0;
  font-size: .9rem;
  transition: color .15s;
}
.sidebar-links a:hover { color: var(--accent); }
.server-mini .mini-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 8px;
}
.status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.status-dot.online { background: var(--green); box-shadow: 0 0 8px var(--green); }
.status-dot.offline { background: var(--red); }
.mini-ip { font-size: .85rem; color: var(--text-muted); font-family: monospace; }

/* ── FOOTER ───────────────────────────────── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px 0 0;
  margin-top: 80px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.footer-logo {
  font-size: 1.3rem;
}
.footer-logo img {
  width: 120px;
  height: auto;
  display: block;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 4px; }
.footer-links a {
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: .9rem;
  transition: color .15s;
}
.footer-links a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 8px; }
.social-btn {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  transition: border-color .15s, color .15s;
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); }
.footer-copy {
  text-align: center;
  padding: 16px;
  font-size: .8rem;
  color: var(--text-muted);
}

/* ── TOAST ────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--accent);
  color: #000;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: .95rem;
  pointer-events: none;
  opacity: 0;
  transition: transform .3s, opacity .3s;
  z-index: 999;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── MOBILE NAV ───────────────────────────── */
@media (max-width: 768px) {
  .burger { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px;
    gap: 4px;
    z-index: 99;
  }
  .nav.open { display: flex; }
  .header { position: relative; }
  .hero-content { padding: 80px 20px 60px; }
  .status-grid { justify-content: center; }
  .top-table-header, .top-row {
    grid-template-columns: 36px 1fr 80px 100px 70px;
    font-size: .82rem;
  }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .top-table-header .top-val-col,
  .top-row .top-val-col { display: none; }
  .top-table-header, .top-row { grid-template-columns: 36px 1fr 70px 70px; }
}

/* ── REGISTRATION MODAL ──────────────────────── */
.modal { display: none; position: fixed; inset: 0; z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.modal-card { position: relative; background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; width: 100%; max-width: 420px; padding: 28px; box-shadow: 0 20px 60px rgba(0,0,0,.4); animation: modalFade .25s ease; }
@keyframes modalFade { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-header h3 { margin: 0; font-size: 1.35rem; color: var(--text); font-family: 'Rajdhani', sans-serif; }
.modal-close { background: transparent; border: none; font-size: 1.8rem; line-height: 1; color: var(--text-muted); cursor: pointer; padding: 0 4px; }
.modal-close:hover { color: var(--text); }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; margin-bottom: 6px; font-size: .9rem; color: var(--text-muted); }
.form-group input { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg3); color: var(--text); font-family: inherit; font-size: .95rem; box-sizing: border-box; }
.form-group input:focus { outline: none; border-color: var(--accent); }
.btn-reg { width: 100%; background: var(--accent); color: #000; border: none; border-radius: 10px; padding: 12px; font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 700; cursor: pointer; margin-top: 6px; }
.btn-reg:hover { opacity: .9; }
.btn-reg:active { transform: scale(.98); }
.modal-foot { text-align: center; font-size: .88rem; color: var(--text-muted); margin-top: 16px; }
.modal-foot a { color: var(--accent); text-decoration: none; font-weight: 600; }
.modal-foot a:hover { text-decoration: underline; }
