/* ═══════════════════════════════════════════════════
   AionEvolution – Premium Dark Fantasy CSS
═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@300;400;500;600;700;800&amp;family=Nunito:wght@300;400;500;600;700;800&amp;family=Cinzel:wght@600;700;900&amp;display=swap');

:root {
  --bg:           #050508;
  --bg2:          #0c0c18;
  --bg3:          #0f0f20;
  --purple-dark:  #1a0a3e;
  --purple:       #4a1d96;
  --purple-med:   #5b21b6;
  --purple-light: #7c3aed;
  --gold:         #d4af37;
  --gold-light:   #f5d76e;
  --gold-dim:     #8b7325;
  --blue-dark:    #0f1f4a;
  --blue:         #1e3a8a;
  --blue-light:   #3b82f6;
  --cyan:         #06b6d4;
  --text:         #e2e8f0;
  --text-muted:   #94a3b8;
  --text-dim:     #475569;
  --border:       rgba(212,175,55,0.2);
  --border-hover: rgba(212,175,55,0.5);
  --glow-gold:    0 0 20px rgba(212,175,55,0.4), 0 0 60px rgba(212,175,55,0.15);
  --glow-purple:  0 0 20px rgba(124,58,237,0.4), 0 0 60px rgba(124,58,237,0.15);
  --glow-blue:    0 0 20px rgba(59,130,246,0.4), 0 0 60px rgba(59,130,246,0.1);
  --radius:       8px;
  --transition:   0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple-light); }

/* ══════════════ NAV ══════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
  background: rgba(5,5,8,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
#nav.scrolled { background: rgba(5,5,8,0.97); box-shadow: 0 4px 30px rgba(0,0,0,0.5); }

.nav-logo {
  font-family: 'Oxanium', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 3px;
  text-shadow: var(--glow-gold);
  display: flex; align-items: center; gap: 10px;
}
.nav-logo .logo-icon { font-size: 24px; }

.nav-links {
  display: flex; align-items: center; gap: 8px;
  list-style: none;
}
.nav-links a {
  font-family: 'Nunito', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 1px; background: var(--gold);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { left: 14px; right: 14px; }

.nav-actions { display: flex; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 24px;
  font-family: 'Nunito', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none;
  border: none; cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0; transition: var(--transition);
}
.btn:hover::before { opacity: 1; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #b8960c);
  color: #050508;
  box-shadow: 0 4px 20px rgba(212,175,55,0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: var(--glow-gold);
}

.btn-purple {
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.3);
}
.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-purple);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 15px;
  letter-spacing: 3px;
  border-radius: 6px;
}

/* ══════════════ HERO ══════════════ */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 100px 20px 60px;
}

#hero-canvas {
  position: absolute; inset: 0;
  z-index: 0;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(74,29,150,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 60%, rgba(30,58,138,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 30% at 80% 30%, rgba(212,175,55,0.08) 0%, transparent 60%),
    linear-gradient(180deg, transparent 50%, var(--bg) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 900px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 20px;
  background: rgba(212,175,55,0.1);
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 12px; font-weight: 600; letter-spacing: 3px;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 0;
  animation: fadeInDown 0.8s ease both;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

.hero-status-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.hero-server-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'Oxanium', sans-serif;
  border: 1px solid transparent;
  animation: fadeInDown 0.8s ease both;
}
.hero-server-status .status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-server-status.is-online {
  color: #7dffa8;
  background: rgba(46, 204, 113, 0.12);
  border-color: rgba(46, 204, 113, 0.4);
}
.hero-server-status.is-online .status-dot {
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: statusPulseGreen 1.8s ease-in-out infinite;
}
.hero-server-status.is-offline {
  color: #ff9b8f;
  background: rgba(231, 76, 60, 0.12);
  border-color: rgba(231, 76, 60, 0.4);
}
.hero-server-status.is-offline .status-dot {
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45);
  animation: statusPulseRed 1.8s ease-in-out infinite;
}
@keyframes statusPulseGreen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
}
@keyframes statusPulseRed {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); }
}

.hero-title {
  font-family: 'Oxanium', sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 6px;
  color: var(--text);
  animation: fadeInUp 0.8s 0.2s ease both;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  display: block;
  filter: drop-shadow(0 0 30px rgba(212,175,55,0.4));
}

.hero-subtitle {
  font-size: 18px; color: var(--text-muted); letter-spacing: 2px;
  margin: 20px 0 10px;
  animation: fadeInUp 0.8s 0.35s ease both;
}

.hero-rates {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  margin: 16px 0 40px;
  animation: fadeInUp 0.8s 0.45s ease both;
}
.rate-tag {
  padding: 5px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  font-size: 13px; font-weight: 600; letter-spacing: 1px;
  color: var(--cyan);
}

.hero-buttons {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 16px;
  animation: fadeInUp 0.8s 0.55s ease both;
}

.hero-stats {
  display: flex; justify-content: center; gap: 48px;
  margin-top: 64px; flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.7s ease both;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: 'Oxanium', sans-serif;
  font-size: 36px; font-weight: 700;
  color: var(--gold);
  text-shadow: var(--glow-gold);
  display: block;
}
.hero-stat-label {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-dim); margin-top: 4px;
}
.hero-stat-divider {
  width: 1px; background: var(--border); align-self: stretch;
}

/* Online indicator */
.online-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 30px;
  font-size: 13px; font-weight: 600; letter-spacing: 1px;
  color: #10b981;
  margin-bottom: 30px;
}
.online-badge .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 1.5s ease-in-out infinite;
}

/* ══════════════ SECTIONS ══════════════ */
section { padding: 100px 20px; position: relative; }

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

.section-header { text-align: center; margin-bottom: 60px; }
.section-eyebrow {
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 16px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: ''; display: block; height: 1px; width: 40px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.section-eyebrow::after { background: linear-gradient(90deg, var(--gold), transparent); }

.section-title {
  font-family: 'Oxanium', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700; letter-spacing: 3px;
  color: var(--text); line-height: 1.2;
}
.section-desc {
  font-size: 17px; color: var(--text-muted); margin-top: 16px;
  max-width: 600px; margin-left: auto; margin-right: auto;
}

/* ══════════════ ABOUT ══════════════ */
#about { background: var(--bg2); }
#about::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(30,58,138,0.15), transparent),
    radial-gradient(ellipse 40% 40% at 10% 30%, rgba(74,29,150,0.1), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.about-text p {
  font-size: 17px; color: var(--text-muted); line-height: 1.8;
  margin-bottom: 20px;
}
.about-text p strong { color: var(--gold); }

.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.feature-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: 1px;
  color: var(--text);
}
.feature-list li::before { content: '✦'; color: var(--gold); font-size: 10px; }

.about-info-box {
  background: rgba(212,175,55,0.05);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 32px;
  position: relative; overflow: hidden;
}
.about-info-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.info-row:last-child { border-bottom: none; }
.info-row .label { font-size: 12px; letter-spacing: 2px; color: var(--text-dim); text-transform: uppercase; }
.info-row .value { font-family: 'Oxanium', sans-serif; font-size: 16px; font-weight: 600; color: var(--gold); }

/* ══════════════ FEATURES CARDS ══════════════ */
#features { background: var(--bg); }

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

.feature-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 28px;
  position: relative; overflow: hidden;
  transition: var(--transition);
  cursor: default;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212,175,55,0.06), transparent 60%);
  opacity: 0; transition: var(--transition);
}
.feature-card:hover { border-color: var(--border); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.4), var(--glow-gold); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
  background: rgba(212,175,55,0.1);
  border: 1px solid var(--border);
  box-shadow: inset 0 0 20px rgba(212,175,55,0.05);
}
.feature-card h3 {
  font-family: 'Oxanium', sans-serif; font-size: 15px; font-weight: 600;
  letter-spacing: 2px; color: var(--text);
  margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ══════════════ GAME SYSTEMS ══════════════ */
#systems { background: var(--bg2); }
#systems::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(74,29,150,0.1), transparent);
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.system-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 28px;
  transition: var(--transition);
}
.system-card:hover { border-color: rgba(124,58,237,0.4); box-shadow: 0 8px 30px rgba(0,0,0,0.3), var(--glow-purple); transform: translateY(-2px); }
.system-icon-wrap {
  width: 56px; height: 56px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 12px;
}
.system-card h3 { font-family: 'Oxanium', sans-serif; font-size: 16px; color: var(--text); letter-spacing: 1px; margin-bottom: 8px; }
.system-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ══════════════ NEWS ══════════════ */
#news { background: var(--bg); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.news-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; overflow: hidden;
  transition: var(--transition);
}
.news-card:hover { border-color: var(--border); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.news-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--purple-dark), var(--blue-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; position: relative; overflow: hidden;
}
.news-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,5,8,0.8));
}
.news-card-body { padding: 24px; }
.news-cat {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 10px;
}
.news-card h3 { font-family: 'Oxanium', sans-serif; font-size: 16px; color: var(--text); margin-bottom: 10px; }
.news-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.news-date { font-size: 12px; color: var(--text-dim); margin-top: 16px; display: flex; align-items: center; gap: 6px; }

/* ══════════════ DOWNLOAD ══════════════ */
#download {
  background: var(--bg2);
  text-align: center;
}
#download::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(212,175,55,0.06), transparent 70%);
}

.download-box {
  max-width: 700px; margin: 0 auto;
  background: rgba(212,175,55,0.04);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 48px;
  position: relative;
}
.download-box::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.sysreq {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0;
  text-align: left;
}
.sysreq-col h4 {
  font-family: 'Oxanium', sans-serif; font-size: 12px; letter-spacing: 2px;
  color: var(--gold); margin-bottom: 12px; text-transform: uppercase;
}
.sysreq-col li {
  list-style: none; font-size: 13px; color: var(--text-muted);
  padding: 4px 0; display: flex; align-items: center; gap: 8px;
}
.sysreq-col li::before { content: '▸'; color: var(--purple-light); font-size: 10px; }

/* ══════════════ COMMUNITY ══════════════ */
#community { background: var(--bg); }
.community-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.community-card {
  text-align: center; padding: 32px 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; transition: var(--transition);
  text-decoration: none;
}
.community-card:hover { border-color: var(--border); transform: translateY(-4px); box-shadow: var(--glow-gold); }
.community-card .icon { font-size: 40px; margin-bottom: 16px; display: block; }
.community-card h3 { font-family: 'Oxanium', sans-serif; font-size: 16px; color: var(--text); margin-bottom: 8px; }
.community-card p { font-size: 13px; color: var(--text-muted); }

/* ══════════════ FOOTER ══════════════ */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 48px 20px 24px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .nav-logo { font-size: 20px; margin-bottom: 14px; display: inline-flex; }
.footer-brand p { font-size: 14px; color: var(--text-dim); line-height: 1.7; }
.footer-col h4 { font-family: 'Oxanium', sans-serif; font-size: 13px; letter-spacing: 2px; color: var(--gold); margin-bottom: 16px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li a { font-size: 13px; color: var(--text-dim); text-decoration: none; padding: 4px 0; display: block; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: var(--text-dim); }

/* ══════════════ FORMS ══════════════ */
.form-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 20px 40px;
  position: relative;
  background: var(--bg);
}
.form-page::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 40%, rgba(74,29,150,0.2), transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 70%, rgba(30,58,138,0.15), transparent 60%);
}

.form-box {
  position: relative; z-index: 1;
  width: 100%; max-width: 460px;
  background: rgba(12,12,24,0.95);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 44px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(74,29,150,0.15);
}
.form-box::before {
  content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.form-logo {
  text-align: center; margin-bottom: 32px;
  font-family: 'Oxanium', sans-serif; font-size: 24px; font-weight: 700;
  color: var(--gold); letter-spacing: 4px;
  text-shadow: var(--glow-gold);
}
.form-subtitle { text-align: center; font-size: 13px; color: var(--text-muted); letter-spacing: 1px; margin-bottom: 32px; margin-top: -20px; }

.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px;
}
.form-input {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'Nunito', sans-serif; font-size: 15px;
  transition: var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
  background: rgba(255,255,255,0.06);
}
.form-input::placeholder { color: var(--text-dim); }

/* Fix select dropdown options visibility */
select.form-input { cursor: pointer; }
select.form-input option {
  background: #0e0e1c;
  color: #e8e8f0;
}

.form-error { color: #f87171; font-size: 13px; margin-top: 6px; display: block; }
.form-success { color: #34d399; font-size: 13px; margin-top: 6px; display: block; }

.alert {
  padding: 12px 16px; border-radius: var(--radius);
  font-size: 14px; margin-bottom: 20px;
}
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }
.alert-success { background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.3); color: #6ee7b7; }
.alert-info { background: rgba(212,175,55,0.08); border: 1px solid var(--border); color: var(--gold); }

.form-link { text-align: center; font-size: 13px; color: var(--text-dim); margin-top: 20px; }
.form-link a { color: var(--gold); text-decoration: none; }
.form-link a:hover { text-decoration: underline; }

/* ══════════════ CABINET ══════════════ */
.cabinet-page {
  min-height: 100vh; padding: 90px 20px 40px;
  background: var(--bg);
}
.cabinet-page::before {
  content: ''; position: fixed; inset: 0;
  background: radial-gradient(ellipse 50% 40% at 70% 30%, rgba(74,29,150,0.1), transparent);
  pointer-events: none;
}

.cabinet-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px; max-width: 1200px; margin: 0 auto;
}

.cabinet-sidebar {
  background: rgba(12,12,24,0.8);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 24px;
  height: fit-content; position: sticky; top: 90px;
}
.cabinet-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto 16px;
  border: 2px solid var(--border);
  box-shadow: var(--glow-purple);
}
.cabinet-username {
  font-family: 'Oxanium', sans-serif; font-size: 16px; color: var(--gold);
  text-align: center; letter-spacing: 2px; margin-bottom: 4px;
}
.cabinet-role {
  font-size: 11px; letter-spacing: 2px; color: var(--text-dim);
  text-align: center; text-transform: uppercase; margin-bottom: 24px;
}

.sidebar-nav { list-style: none; }
.sidebar-nav li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; letter-spacing: 1px;
  color: var(--text-muted); text-decoration: none;
  transition: var(--transition);
}
.sidebar-nav li a:hover, .sidebar-nav li a.active {
  background: rgba(212,175,55,0.08);
  border: 1px solid var(--border);
  color: var(--gold);
}
.sidebar-nav li a .icon { width: 20px; text-align: center; }

.cabinet-main { display: flex; flex-direction: column; gap: 20px; }
.cabinet-card {
  background: rgba(12,12,24,0.8);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 28px;
}
.cabinet-card h2 {
  font-family: 'Oxanium', sans-serif; font-size: 18px; font-weight: 600;
  color: var(--text); letter-spacing: 2px; margin-bottom: 20px;
  padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.05);
}

.balance-row {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.balance-item {
  flex: 1; min-width: 120px;
  background: rgba(212,175,55,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  text-align: center;
}
.balance-item .amount {
  font-family: 'Oxanium', sans-serif; font-size: 24px; color: var(--gold);
  display: block; margin-bottom: 4px;
}
.balance-item .label { font-size: 11px; letter-spacing: 2px; color: var(--text-dim); text-transform: uppercase; }

/* ══════════════ HAMBURGER ══════════════ */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--text-muted);
  transition: var(--transition);
}

/* ══════════════ ANIMATIONS ══════════════ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}
@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position: 200% center; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ══════════════ DIVIDERS ══════════════ */
.rune-divider {
  text-align: center; margin: 0; padding: 0;
  position: relative;
}
.rune-divider::before {
  content: '✦ ✦ ✦';
  font-size: 10px; color: var(--gold-dim); letter-spacing: 12px;
}

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 768px) {
  #nav { padding: 0 20px; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; background: rgba(5,5,8,0.98); padding: 20px; gap: 4px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-actions { gap: 8px; }
  .hamburger { display: flex; }

  .about-grid, .systems-grid, .cabinet-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 24px; }
  .hero-stat-divider { display: none; }
  .sysreq { grid-template-columns: 1fr; }
  .form-box { padding: 28px 24px; }

  .btn-lg { padding: 14px 28px; font-size: 14px; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .balance-row { flex-direction: column; }
}

/* ══════════════ MISC ══════════════ */
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.text-center { text-align: center; }
.w-full { width: 100%; }

/* ════════════════════════════════════════
   EXTRA STYLES v2 – Download Cards,
   FA Icons, Community, updated Feature icons
════════════════════════════════════════ */

/* ── Nav logo icon ── */
.nav-logo-icon {
  font-size: 20px; color: var(--gold);
  text-shadow: var(--glow-gold);
}
.nav-logo i { color: var(--gold); }

/* ── Feature icon color variants ── */
.feature-icon i { font-size: 22px; }
.feature-icon-gold   { background: rgba(212,175,55,0.1); border-color: rgba(212,175,55,0.3); color: var(--gold); }
.feature-icon-blue   { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.3); color: var(--blue-light); }
.feature-icon-purple { background: rgba(124,58,237,0.1); border-color: rgba(124,58,237,0.3); color: var(--purple-light); }
.feature-icon-cyan   { background: rgba(6,182,212,0.1);  border-color: rgba(6,182,212,0.3);  color: var(--cyan); }

/* ── Feature list with FA icons ── */
.feature-list li i { color: var(--gold); width: 16px; text-align: center; }

/* ── System card icon with FA ── */
.system-icon-wrap i { font-size: 24px; color: var(--purple-light); }

/* ── News card image with FA icon ── */
.news-card-img i { font-size: 52px; position: relative; z-index: 1; }
.news-icon-blue  { background: linear-gradient(135deg, #1e3a8a, #0f1f4a); color: var(--blue-light); }
.news-icon-red   { background: linear-gradient(135deg, #7f1d1d, #450a0a); color: #fca5a5; }
.news-icon-gold  { background: linear-gradient(135deg, #4a3000, #1a1000); color: var(--gold); }

/* ══════════════ DOWNLOAD CARDS ══════════════ */
.download-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dl-card {
  position: relative;
  background: rgba(12,12,24,0.95);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 20px;
  transition: var(--transition);
  overflow: hidden;
}
.dl-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  transition: var(--transition);
}
.dl-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }

/* Launcher card – highlighted */
.dl-card-launcher {
  border-color: rgba(212,175,55,0.3);
  background: linear-gradient(160deg, rgba(26,16,0,0.9), rgba(12,12,24,0.95));
  box-shadow: 0 0 40px rgba(212,175,55,0.08);
}
.dl-card-launcher::before {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.dl-card-launcher:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.6), var(--glow-gold); }

/* Badge on launcher card */
.dl-card-badge {
  position: absolute; top: 14px; right: -24px;
  background: linear-gradient(90deg, var(--gold), #b8960c);
  color: #050508;
  font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 32px 4px 16px;
  transform: rotate(45deg) translateX(0);
  width: 110px; text-align: center;
  /* ribbon effect */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
/* Simpler ribbon */
.dl-card-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--gold);
  color: #050508;
  font-size: 9px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px;
  transform: none; width: auto; clip-path: none;
}

/* Download card icon */
.dl-card-icon {
  width: 72px; height: 72px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.dl-card-launcher .dl-card-icon {
  background: rgba(212,175,55,0.1);
  border-color: rgba(212,175,55,0.3);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(212,175,55,0.15);
}
.dl-card-main    .dl-card-icon { color: var(--blue-light); }
.dl-card-torrent .dl-card-icon { color: var(--purple-light); }

.dl-card:hover .dl-card-icon { transform: scale(1.1); }

/* DL card text */
.dl-card-info h3 {
  font-family: 'Oxanium', sans-serif; font-size: 18px; color: var(--text);
  letter-spacing: 2px; margin-bottom: 8px;
}
.dl-card-info p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.dl-meta {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px;
  margin-top: 12px;
}
.dl-meta span {
  font-size: 11px; color: var(--text-dim); letter-spacing: 1px;
  padding: 3px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
}
.dl-meta span i { margin-right: 4px; }

.btn-dl {
  width: 100%; justify-content: center;
  padding: 12px 20px; font-size: 13px; letter-spacing: 1.5px;
  margin-top: auto;
}

/* Sysreq box */
.sysreq-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 28px 32px;
}
.sysreq-col h4 i { margin-right: 6px; }

/* ══════════════ COMMUNITY CARDS ══════════════ */
.comm-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 18px; font-size: 28px;
  margin: 0 auto 16px;
  transition: var(--transition);
}
.comm-discord  { background: rgba(88,101,242,0.12); border: 1px solid rgba(88,101,242,0.3); color: #7289da; }
.comm-telegram { background: rgba(42,171,238,0.12); border: 1px solid rgba(42,171,238,0.3); color: #2AABEE; }
.comm-forum    { background: rgba(212,175,55,0.1);  border: 1px solid rgba(212,175,55,0.3); color: var(--gold); }
.comm-support  { background: rgba(52,211,153,0.1);  border: 1px solid rgba(52,211,153,0.3); color: #34d399; }

.community-card:hover .comm-discord  { background: rgba(88,101,242,0.2); box-shadow: 0 0 20px rgba(88,101,242,0.2); }
.community-card:hover .comm-telegram { background: rgba(42,171,238,0.2); box-shadow: 0 0 20px rgba(42,171,238,0.2); }
.community-card:hover .comm-forum    { background: rgba(212,175,55,0.18); box-shadow: var(--glow-gold); }
.community-card:hover .comm-support  { background: rgba(52,211,153,0.18); box-shadow: 0 0 20px rgba(52,211,153,0.2); }

.community-card h3 { margin-bottom: 6px; }
.community-card { text-decoration: none; }

/* ── Footer col icon ── */
.footer-col ul li a i { margin-right: 6px; color: var(--gold-dim); }

/* ── Remove old online-badge from hero if still present ── */
.online-badge { display: none !important; }

/* ── Rate tag icons ── */
.rate-tag i { margin-right: 5px; font-size: 11px; }

/* ── Responsive download cards ── */
@media (max-width: 900px) {
  .download-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .download-cards { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════
   v3 – System icon colors, DL parts,
   Footer social, fixes
════════════════════════════════════ */

/* System icon colored variants */
.sys-icon { width: 56px; height: 56px; flex-shrink: 0; border-radius: 14px;
            display: flex; align-items: center; justify-content: center;
            font-size: 26px; transition: var(--transition); }
.sys-gold   { background: rgba(212,175,55,0.12); border: 1px solid rgba(212,175,55,0.35); color: var(--gold); }
.sys-red    { background: rgba(239,68,68,0.1);   border: 1px solid rgba(239,68,68,0.3);   color: #f87171; }
.sys-blue   { background: rgba(59,130,246,0.1);  border: 1px solid rgba(59,130,246,0.3);  color: var(--blue-light); }
.sys-orange { background: rgba(249,115,22,0.1);  border: 1px solid rgba(249,115,22,0.3);  color: #fb923c; }
.sys-purple { background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.35); color: var(--purple-light); }
.sys-cyan   { background: rgba(6,182,212,0.1);   border: 1px solid rgba(6,182,212,0.3);   color: var(--cyan); }
.system-card:hover .sys-icon { transform: scale(1.1) rotate(-5deg); }

/* system-icon-wrap display fixed below */

/* ── Download parts ── */
.dl-parts {
  display: flex; flex-direction: column; gap: 8px;
  width: 100%;
}
.btn-part {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; border-radius: 8px;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: var(--text-muted);
  position: relative; overflow: hidden;
}
.btn-part::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(59,130,246,0.07), transparent);
  opacity: 0; transition: var(--transition);
}
.btn-part:hover { border-color: var(--blue-light); color: var(--text); transform: translateX(3px); }
.btn-part:hover::before { opacity: 1; }
.btn-part i.fa-file-zipper { font-size: 22px; color: var(--blue-light); flex-shrink: 0; }
.btn-part span { display: flex; flex-direction: column; line-height: 1.2; }
.btn-part span strong { font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.btn-part span em     { font-size: 11px; font-style: normal; color: var(--text-dim); }
.btn-part::after {
  content: '\f054'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 11px; color: var(--text-dim); transition: var(--transition);
}
.btn-part:hover::after { color: var(--blue-light); right: 10px; }

/* ── Footer social icons ── */
.footer-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  font-size: 17px; transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  text-decoration: none; color: var(--text-dim);
}
.footer-social:hover { transform: translateY(-2px); }
.footer-social-discord:hover  { color: #7289da; border-color: #7289da; background: rgba(114,137,218,0.1); box-shadow: 0 4px 16px rgba(114,137,218,0.2); }
.footer-social-telegram:hover { color: #2AABEE; border-color: #2AABEE; background: rgba(42,171,238,0.1); box-shadow: 0 4px 16px rgba(42,171,238,0.2); }
.footer-social-youtube:hover  { color: #FF0000; border-color: #FF0000; background: rgba(255,0,0,0.1); box-shadow: 0 4px 16px rgba(255,0,0,0.15); }

/* ════════════════════════════════════════
   v4 – Light Theme, Theme Toggle,
   Avatar, Cabinet v2, Currency chips
════════════════════════════════════════ */

/* ══════ LIGHT THEME ══════ */
[data-theme="light"] {
  --bg:          #f0f2f8;
  --bg2:         #e4e8f4;
  --bg3:         #d8dded;
  --purple-dark: #e4e0f5;
  --text:        #1a1a2e;
  --text-muted:  #4a4a6a;
  --text-dim:    #7a7a9a;
  --border:      rgba(100,80,200,0.2);
  --border-hover:rgba(100,80,200,0.45);
  --gold:        #8a6200;
  --gold-light:  #b07d00;
  --gold-dim:    #6b4d00;
  --glow-gold:   0 0 20px rgba(138,98,0,0.2), 0 0 50px rgba(138,98,0,0.08);
  --glow-purple: 0 0 20px rgba(100,60,200,0.25), 0 0 50px rgba(100,60,200,0.1);
}
[data-theme="light"] body { background: var(--bg); color: var(--text); }
[data-theme="light"] #nav {
  background: rgba(240,242,248,0.92);
  border-bottom: 1px solid rgba(100,80,200,0.15);
}
[data-theme="light"] #nav.scrolled {
  background: rgba(235,237,248,0.98);
  box-shadow: 0 4px 20px rgba(100,80,200,0.12);
}
[data-theme="light"] .nav-links a { color: var(--text-muted); }
[data-theme="light"] .nav-links a:hover { color: var(--purple); }
[data-theme="light"] .btn-outline {
  border-color: rgba(100,80,200,0.3);
  color: var(--text-muted);
}
[data-theme="light"] .btn-outline:hover { border-color: var(--purple-light); color: var(--purple-light); }
[data-theme="light"] section { background: var(--bg); }
[data-theme="light"] #about, [data-theme="light"] #systems,
[data-theme="light"] #download, [data-theme="light"] footer { background: var(--bg2); }
[data-theme="light"] .feature-card, [data-theme="light"] .system-card,
[data-theme="light"] .news-card, [data-theme="light"] .dl-card,
[data-theme="light"] .community-card {
  background: rgba(255,255,255,0.7);
  border-color: rgba(100,80,200,0.12);
  box-shadow: 0 2px 12px rgba(100,80,200,0.06);
}
[data-theme="light"] .feature-card:hover,
[data-theme="light"] .system-card:hover { border-color: rgba(100,80,200,0.3); }
[data-theme="light"] .about-info-box {
  background: rgba(255,255,255,0.6);
  border-color: rgba(212,175,55,0.25);
}
[data-theme="light"] .form-box {
  background: rgba(255,255,255,0.9);
  border-color: rgba(100,80,200,0.2);
  box-shadow: 0 20px 60px rgba(100,80,200,0.1);
}
[data-theme="light"] .form-input {
  background: rgba(100,80,200,0.05);
  border-color: rgba(100,80,200,0.2);
  color: var(--text);
}
[data-theme="light"] .form-input:focus {
  background: rgba(100,80,200,0.07);
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
[data-theme="light"] select.form-input option {
  background: #f5f5ff;
  color: #1a1a2e;
}
[data-theme="light"] .cabinet-sidebar,
[data-theme="light"] .cabinet-card {
  background: rgba(255,255,255,0.8);
  border-color: rgba(100,80,200,0.12);
  box-shadow: 0 2px 16px rgba(100,80,200,0.07);
}
[data-theme="light"] .sidebar-nav li a { color: var(--text-muted); }
[data-theme="light"] .sidebar-nav li a:hover,
[data-theme="light"] .sidebar-nav li a.active {
  background: rgba(100,80,200,0.08);
  border-color: rgba(100,80,200,0.2);
  color: var(--purple-light);
}
[data-theme="light"] .info-row-card { background: rgba(100,80,200,0.04); }
[data-theme="light"] .currency-chip { background: rgba(100,80,200,0.06); border-color: rgba(100,80,200,0.15); }
[data-theme="light"] .char-card { background: rgba(255,255,255,0.6); border-color: rgba(100,80,200,0.12); }
[data-theme="light"] footer { border-top-color: rgba(100,80,200,0.15); }
[data-theme="light"] .footer-bottom { border-top-color: rgba(100,80,200,0.08); }
[data-theme="light"] .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(74,29,150,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 60%, rgba(30,58,138,0.1) 0%, transparent 60%),
    linear-gradient(180deg, transparent 50%, var(--bg) 100%);
}
[data-theme="light"] .sysreq-box { background: rgba(255,255,255,0.6); border-color: rgba(100,80,200,0.1); }
[data-theme="light"] .dl-parts .btn-part {
  background: rgba(100,80,200,0.04);
  border-color: rgba(100,80,200,0.15);
  color: var(--text-muted);
}
[data-theme="light"] .dl-parts .btn-part:hover { border-color: var(--blue-light); color: var(--text); }
[data-theme="light"] .avatar-placeholder { background: rgba(100,80,200,0.08); border-color: rgba(100,80,200,0.2); color: var(--text-dim); }
[data-theme="light"] .rate-tag { background: rgba(100,80,200,0.08); border-color: rgba(100,80,200,0.2); color: var(--purple); }
[data-theme="light"] .hero-badge { background: rgba(212,175,55,0.08); }
[data-theme="light"] .section-desc { color: var(--text-muted); }
[data-theme="light"] .about-text p { color: var(--text-muted); }

/* ══════ THEME TOGGLE BUTTON ══════ */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  cursor: pointer; font-size: 16px;
  transition: var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(212,175,55,0.12);
  border-color: var(--border);
  color: var(--gold);
  transform: rotate(15deg);
}
[data-theme="light"] .theme-toggle {
  background: rgba(100,80,200,0.08);
  border-color: rgba(100,80,200,0.2);
  color: var(--text-muted);
}
[data-theme="light"] .theme-toggle:hover {
  background: rgba(212,175,55,0.12);
  border-color: var(--gold-dim);
  color: var(--gold);
}

/* ══════ AVATAR ══════ */
.avatar-wrap {
  position: relative;
  width: 90px; height: 90px;
  margin: 0 auto 14px;
  cursor: pointer;
  border-radius: 50%;
}
.avatar-img {
  width: 90px; height: 90px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  box-shadow: var(--glow-purple);
  display: block;
  transition: var(--transition);
}
.avatar-placeholder {
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-dark), var(--blue-dark));
  border: 2px solid var(--border);
  box-shadow: var(--glow-purple);
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; color: var(--text-dim);
  transition: var(--transition);
}
.avatar-overlay {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(0,0,0,0.55);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  font-size: 11px; color: #fff; letter-spacing: 1px;
  opacity: 0; transition: var(--transition);
  pointer-events: none;
}
.avatar-overlay i { font-size: 18px; }
.avatar-wrap:hover .avatar-overlay { opacity: 1; }
.avatar-wrap:hover .avatar-img,
.avatar-wrap:hover .avatar-placeholder { filter: brightness(0.6); }

/* ══════ CURRENCY CHIPS IN SIDEBAR ══════ */
.sidebar-currency {
  display: flex; flex-direction: column; gap: 8px;
  margin: 16px 0 20px;
}
.currency-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(212,175,55,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.currency-chip > i { font-size: 18px; color: var(--gold); flex-shrink: 0; }
.chip-val {
  display: block; font-family: 'Oxanium',serif;
  font-size: 16px; font-weight: 700; color: var(--gold);
  line-height: 1;
}
.chip-lbl {
  display: block; font-size: 10px; letter-spacing: 1.5px;
  color: var(--text-dim); text-transform: uppercase;
  margin-top: 2px;
}

/* ══════ CABINET INFO GRID ══════ */
.info-grid { display: grid; gap: 10px; }
.info-row-card {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px; gap: 12px;
}
.info-lbl {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-dim); white-space: nowrap;
}
.info-lbl i { margin-right: 5px; }
.info-val { font-size: 14px; font-weight: 600; color: var(--text); text-align: right; }
.badge-active   { color: #34d399; font-size: 13px; font-weight: 700; }
.badge-inactive { color: #f87171; font-size: 13px; font-weight: 700; }

/* ══════ CHARACTER CARD ══════ */
.char-card {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; transition: var(--transition);
}
.char-card:hover {
  border-color: var(--border);
  transform: translateX(4px);
  box-shadow: 4px 0 20px rgba(212,175,55,0.08);
}
.char-avatar-icon {
  width: 52px; height: 52px; border-radius: 12px;
  border: 1px solid; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.char-info { flex: 1; }
.char-name {
  font-family: 'Oxanium',serif; font-size: 16px; color: var(--gold);
  letter-spacing: 1px; margin-bottom: 4px;
}
.char-sub { font-size: 12px; color: var(--text-dim); display: flex; align-items: center; gap: 6px; }
.dot-sep { color: var(--text-dim); opacity: 0.4; }
.char-level { text-align: center; flex-shrink: 0; }
.char-lvl-num {
  font-family: 'Oxanium',serif; font-size: 28px; font-weight: 700;
  color: var(--text); line-height: 1;
}
.char-lvl-lbl { font-size: 10px; letter-spacing: 2px; color: var(--text-dim); text-transform: uppercase; margin-top: 2px; }

/* ══════ CABINET CARD h2 ══════ */
.cabinet-card h2 {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; letter-spacing: 2px;
}
.cabinet-card h2 i { color: var(--gold); }

/* ════════════════════════════════════════════
   v5 – READABILITY FIX
   Features / Systems / News icons & layout
════════════════════════════════════════════ */

/* ─── GLOBAL READABILITY ─── */
.section-title  { text-shadow: none; }
.section-desc   { font-size: 17px; line-height: 1.75; max-width: 620px; }
.feature-card p,
.system-card p,
.news-card p    { line-height: 1.75; }

/* ─── FEATURES: icon box fix ─── */
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 0;           /* reset inherited size */
  margin-bottom: 18px;
  flex-shrink: 0;
}
.feature-icon i {
  font-size: 24px !important;
  display: block;
  line-height: 1;
}
.feature-icon-gold   { background: rgba(212,175,55,0.12); border: 1.5px solid rgba(212,175,55,0.35); color: #d4af37; }
.feature-icon-blue   { background: rgba(59,130,246,0.12); border: 1.5px solid rgba(59,130,246,0.35); color: #60a5fa; }
.feature-icon-purple { background: rgba(124,58,237,0.12); border: 1.5px solid rgba(124,58,237,0.35); color: #a78bfa; }
.feature-icon-cyan   { background: rgba(6,182,212,0.12);  border: 1.5px solid rgba(6,182,212,0.35);  color: #22d3ee; }

.feature-card {
  padding: 28px 26px 26px;
}
.feature-card h3 {
  font-size: 15px;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-card p { font-size: 14px; color: var(--text-muted); }

/* ─── SYSTEMS: icon fix (override display:none remnant) ─── */
.system-icon-wrap,
.sys-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  border-radius: 14px;
  flex-shrink: 0;
  font-size: 0;
  transition: var(--transition);
}
.system-icon-wrap i,
.sys-icon i {
  font-size: 26px !important;
  display: block;
  line-height: 1;
}

/* System colour variants — re-declare to be sure */
.sys-gold   { background: rgba(212,175,55,0.12); border: 1.5px solid rgba(212,175,55,0.35); color: #d4af37; }
.sys-red    { background: rgba(239, 68, 68,0.12); border: 1.5px solid rgba(239, 68, 68,0.35); color: #f87171; }
.sys-blue   { background: rgba(59, 130,246,0.12); border: 1.5px solid rgba(59, 130,246,0.35); color: #60a5fa; }
.sys-orange { background: rgba(249,115, 22,0.12); border: 1.5px solid rgba(249,115, 22,0.35); color: #fb923c; }
.sys-purple { background: rgba(124, 58,237,0.12); border: 1.5px solid rgba(124, 58,237,0.35); color: #a78bfa; }
.sys-cyan   { background: rgba(  6,182,212,0.12); border: 1.5px solid rgba(  6,182,212,0.35); color: #22d3ee; }

.system-card:hover .sys-icon,
.system-card:hover .system-icon-wrap { transform: scale(1.1) rotate(-4deg); }

.system-card h3 {
  font-size: 16px;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.system-card p { font-size: 14px; color: var(--text-muted); }

/* ─── NEWS: card image icon fix ─── */
.news-card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;            /* reset so <i> size takes effect */
  position: relative;
  overflow: hidden;
}
.news-card-img i {
  font-size: 52px !important;
  position: relative;
  z-index: 1;
  display: block;
  line-height: 1;
  opacity: 0.9;
  filter: drop-shadow(0 0 16px currentColor);
  transition: transform 0.4s ease;
}
.news-card:hover .news-card-img i { transform: scale(1.15) rotate(-5deg); }

/* News image bg colours */
.news-icon-blue  { background: linear-gradient(135deg, #1e3a8a 0%, #0f1f4a 100%); color: #60a5fa; }
.news-icon-red   { background: linear-gradient(135deg, #7f1d1d 0%, #3b0a0a 100%); color: #f87171; }
.news-icon-gold  { background: linear-gradient(135deg, #4a3000 0%, #1a1000 100%); color: #d4af37; }

.news-card-body { padding: 22px; }
.news-cat {
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.news-card h3 {
  font-family: 'Oxanium', sans-serif;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.news-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; }
.news-date {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.45), var(--glow-gold); }

/* ─── Light theme adjustments for these sections ─── */
[data-theme="light"] .feature-card p,
[data-theme="light"] .system-card p,
[data-theme="light"] .news-card p      { color: var(--text-muted); }

[data-theme="light"] .feature-card h3,
[data-theme="light"] .system-card h3,
[data-theme="light"] .news-card h3     { color: var(--text); }

[data-theme="light"] .news-icon-blue   { background: linear-gradient(135deg,#dbeafe,#eff6ff); }
[data-theme="light"] .news-icon-red    { background: linear-gradient(135deg,#fee2e2,#fff1f2); }
[data-theme="light"] .news-icon-gold   { background: linear-gradient(135deg,#fef9c3,#fefce8); }

/* ════════════════════════════════════════════
   v6 – SVG icon rendering fix + new fonts
   Oxanium (headings) + Nunito (body)
════════════════════════════════════════════ */

/* ── Font override (Oxanium replaces Cinzel,  Nunito replaces Rajdhani) ── */
body { font-family: 'Nunito', sans-serif; font-size: 16px; }

.hero-title, .section-title, .nav-logo,
.feature-card h3, .system-card h3, .news-card h3,
.cabinet-username, .char-name, .form-logo,
.about-info-box .value, .hero-stat-num,
.cabinet-card h2, .footer-col h4,
.dl-card-info h3, .community-card h3,
h1, h2, h3 {
  font-family: 'Oxanium', sans-serif;
}

/* slightly bigger body text for readability */
.feature-card p, .system-card p, .news-card p,
.about-text p, .section-desc { font-size: 15px; line-height: 1.8; }

/* ── SVG icon containers — feature cards ── */
.feature-icon[data-icon] {
  width: 58px; height: 58px;
  border-radius: 14px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 14px;
  flex-shrink: 0;
}
.feature-icon[data-icon] svg {
  width: 100%; height: 100%;
  display: block;
  stroke: currentColor;
}

/* ── SVG icon containers — system cards ── */
.sys-icon[data-icon] {
  width: 58px; height: 58px;
  border-radius: 14px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 13px;
  flex-shrink: 0;
}
.sys-icon[data-icon] svg {
  width: 100%; height: 100%;
  display: block;
  stroke: currentColor;
}

/* ── SVG icon containers — news cards ── */
.news-card-img[data-icon] {
  height: 160px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.news-card-img[data-icon] svg {
  width: 72px; height: 72px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.5;
  position: relative; z-index: 1;
  filter: drop-shadow(0 0 18px currentColor);
  transition: transform 0.4s ease;
  opacity: 0.9;
}
.news-card:hover .news-card-img[data-icon] svg {
  transform: scale(1.15) rotate(-6deg);
}

/* ensure news bg overlay still applies */
.news-icon-blue  { background: linear-gradient(135deg,#1e3a8a,#0f1f4a); color:#60a5fa; }
.news-icon-red   { background: linear-gradient(135deg,#7f1d1d,#3b0a0a); color:#f87171; }
.news-icon-gold  { background: linear-gradient(135deg,#4a3000,#1a1000); color:#d4af37; }
.news-icon-blue::after, .news-icon-red::after, .news-icon-gold::after {
  content:''; position:absolute; inset:0;
  background: linear-gradient(180deg,transparent 40%,rgba(5,5,8,0.6));
  pointer-events:none;
}

/* ── Light theme news cards ── */
[data-theme="light"] .news-icon-blue  { background:linear-gradient(135deg,#dbeafe,#eff6ff); color:#2563eb; }
[data-theme="light"] .news-icon-red   { background:linear-gradient(135deg,#fee2e2,#fff1f2); color:#dc2626; }
[data-theme="light"] .news-icon-gold  { background:linear-gradient(135deg,#fef3c7,#fefce8); color:#b45309; }
[data-theme="light"] .news-icon-blue::after,
[data-theme="light"] .news-icon-red::after,
[data-theme="light"] .news-icon-gold::after { display:none; }

/* ── Section readability tweaks ── */
.features-grid  { gap: 22px; }
.systems-grid   { gap: 20px; }
.news-grid      { gap: 24px; }

.feature-card   { padding: 30px 26px 26px; }
.system-card    { padding: 26px; gap: 18px; }

/* ── Oxanium heading sizes ── */
.hero-title { letter-spacing: 4px; }
.section-title { letter-spacing: 2px; }
.feature-card h3 { font-size: 16px; letter-spacing: 1px; font-weight: 700; }
.system-card h3  { font-size: 16px; letter-spacing: 1px; font-weight: 700; }
.news-card h3    { font-size: 15px; letter-spacing: 0.5px; font-weight: 700; }

/* ════════════════════════════════════════════
   NEWS SLIDER  (1280 × 540 image slides)
════════════════════════════════════════════ */

/* ─── Wrapper ─── */
.news-slider-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  user-select: none;
  /* 1280:540 = 2.370… so ~42.1875% padding-top for responsive */
  aspect-ratio: 1280 / 540;
  background: var(--bg2);
}

/* ─── Track ─── */
.news-slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.77,0,0.175,1);
  will-change: transform;
}

/* ─── Single slide ─── */
.ns-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* ─── Background image ─── */
.ns-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Default gradient when no image provided */
  background-color: var(--bg2);
  transform: scale(1.04);
  transition: transform 8s ease;
}
.ns-slide.is-active .ns-bg { transform: scale(1); }

/* ─── Overlay gradient ─── */
.ns-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,5,8,0.82) 0%, rgba(5,5,8,0.45) 50%, rgba(5,5,8,0.15) 100%),
    linear-gradient(180deg, rgba(5,5,8,0.1) 0%, rgba(5,5,8,0.65) 100%);
}

/* ─── Text content ─── */
.ns-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 36px 48px;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.55s 0.15s ease, opacity 0.55s 0.15s ease;
}
.ns-slide.is-active .ns-content {
  transform: translateY(0);
  opacity: 1;
}

.ns-cat {
  display: inline-block;
  font-family: 'Oxanium', sans-serif;
  font-size: 10px; font-weight: 800;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--cat-color, var(--gold));
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--cat-color, var(--gold));
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 12px;
  backdrop-filter: blur(4px);
}

.ns-title {
  font-family: 'Oxanium', sans-serif;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1.25;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.ns-desc {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(13px, 1.4vw, 15px);
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 20px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

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

.ns-date {
  font-size: 12px; letter-spacing: 1px;
  color: rgba(255,255,255,0.55);
  display: flex; align-items: center;
}

.ns-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Oxanium', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none;
  color: var(--cat-color, var(--gold));
  background: rgba(0,0,0,0.45);
  border: 1px solid var(--cat-color, var(--gold));
  padding: 9px 20px; border-radius: 6px;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  box-shadow: 0 0 16px rgba(0,0,0,0.3);
}
.ns-btn:hover {
  background: var(--cat-color, var(--gold));
  color: #050508;
  box-shadow: 0 0 24px var(--cat-color, var(--gold));
  transform: translateX(3px);
}
.ns-btn svg { transition: transform 0.3s ease; }
.ns-btn:hover svg { transform: translateX(4px); }

/* ─── Arrows ─── */
.ns-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff; cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.ns-arrow:hover {
  background: rgba(212,175,55,0.25);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(212,175,55,0.25);
}
.ns-prev { left: 18px; }
.ns-next { right: 18px; }

/* ─── Dots ─── */
.ns-dots {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.ns-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3); border: none; cursor: pointer;
  transition: all 0.35s ease;
  padding: 0;
}
.ns-dot.active {
  width: 28px; border-radius: 4px;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(212,175,55,0.5);
}

/* ─── Progress bar ─── */
.ns-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: rgba(255,255,255,0.08); z-index: 10;
}
.ns-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(212,175,55,0.6);
}

/* ─── Light theme adjustments ─── */
[data-theme="light"] .ns-overlay {
  background:
    linear-gradient(90deg, rgba(10,10,30,0.75) 0%, rgba(10,10,30,0.35) 50%, rgba(10,10,30,0.05) 100%),
    linear-gradient(180deg, rgba(10,10,30,0.05) 0%, rgba(10,10,30,0.6) 100%);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .ns-content { padding: 20px 24px; }
  .ns-title   { font-size: 18px; }
  .ns-desc    { display: none; }
  .ns-arrow   { width: 38px; height: 38px; }
  .ns-prev    { left: 10px; }
  .ns-next    { right: 10px; }
}
@media (max-width: 480px) {
  .ns-content { padding: 16px 18px; }
  .ns-cat     { font-size: 9px; }
  .ns-title   { font-size: 15px; }
}

/* ════════════════════════════════════════════
   ABOUT v2 — image right side (800×1000 px)
════════════════════════════════════════════ */

/* ─── Layout ─── */
.about-v2 {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  padding: 20px 0;
}

/* ─── Left column ─── */
.about-left .section-eyebrow { margin-bottom: 0; }

.about-lead {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 18px;
}
.about-lead strong { color: var(--gold); font-weight: 700; }

/* Rate badges row */
.about-rates {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.rate-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 20px;
  background: rgba(212,175,55,0.06);
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: 12px;
  min-width: 76px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.rate-badge::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.rate-badge:hover {
  border-color: rgba(212,175,55,0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212,175,55,0.12);
}
.rb-val {
  font-family: 'Oxanium', sans-serif;
  font-size: 22px; font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.rb-lbl {
  font-size: 10px; letter-spacing: 1.5px;
  color: var(--text-dim); text-transform: uppercase;
  margin-top: 5px; white-space: nowrap;
}

/* Check list */
.about-checks {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-bottom: 32px;
}
.about-checks li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.3px;
}
.about-checks li svg {
  flex-shrink: 0;
  color: var(--gold);
  background: rgba(212,175,55,0.1);
  border-radius: 50%;
  padding: 3px;
  width: 22px; height: 22px;
}

/* CTA buttons */
.about-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─── Right column: image ─── */
.about-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Atmospheric glow behind image */
.about-img-glow {
  position: absolute;
  inset: -20px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 60%, rgba(124,58,237,0.2), transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 20%, rgba(212,175,55,0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.8; }
  50%       { opacity: 1.3; }
}

/* Frame around image */
.about-img-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  /* 800:1000 = 0.8 ratio → height = width / 0.8 = width * 1.25 */
  aspect-ratio: 800 / 1000;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.18);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 32px 80px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.07);
  background: linear-gradient(160deg, rgba(74,29,150,0.3), rgba(5,5,8,0.9));
}

/* The character image */
.about-char-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 8s ease;
  animation: charFloat 6s ease-in-out infinite;
}
@keyframes charFloat {
  0%, 100% { transform: translateY(0px) scale(1.01); }
  50%       { transform: translateY(-8px) scale(1.01); }
}

/* Bottom fade on image */
.about-img-frame::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 35%;
  background: linear-gradient(transparent, var(--bg2));
  pointer-events: none;
}

/* Placeholder (when no image) */
.about-img-placeholder {
  display: none;
  position: absolute; inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-dim);
  padding: 24px;
  font-size: 13px; line-height: 1.7;
}
.about-img-frame.no-img .about-char-img    { display: none; }
.about-img-frame.no-img .about-img-placeholder { display: flex; }
.about-img-placeholder code {
  color: var(--gold);
  background: rgba(212,175,55,0.08);
  padding: 2px 8px; border-radius: 4px;
  font-size: 12px;
}
.about-img-placeholder small { color: var(--text-dim); font-size: 11px; }

/* Floating badges */
.about-version-badge,
.about-platform-badge {
  position: absolute;
  z-index: 2;
  backdrop-filter: blur(12px);
  border-radius: 12px;
  border: 1px solid rgba(212,175,55,0.3);
  background: rgba(5,5,8,0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  animation: badgeFloat 5s ease-in-out infinite;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

.about-version-badge {
  top: 24px; right: -18px;
  padding: 12px 18px;
  text-align: center;
  animation-delay: 0s;
}
.avb-ver {
  font-family: 'Oxanium', sans-serif;
  font-size: 28px; font-weight: 800;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 16px rgba(212,175,55,0.5);
}
.avb-lbl {
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-dim); margin-top: 4px;
}

.about-platform-badge {
  bottom: 60px; right: -18px;
  padding: 10px 16px;
  flex-direction: row; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  animation-delay: 1.5s;
}
.about-platform-badge i { color: var(--blue-light); font-size: 16px; }

/* ─── Light theme ─── */
[data-theme="light"] .about-img-frame {
  border-color: rgba(100,80,200,0.2);
  background: linear-gradient(160deg, rgba(220,215,255,0.5), rgba(240,242,248,0.9));
}
[data-theme="light"] .about-img-frame::after {
  background: linear-gradient(transparent, var(--bg2));
}
[data-theme="light"] .rate-badge {
  background: rgba(100,80,200,0.06);
  border-color: rgba(100,80,200,0.2);
}
[data-theme="light"] .rate-badge:hover {
  border-color: rgba(100,80,200,0.4);
  box-shadow: 0 8px 24px rgba(100,80,200,0.1);
}
[data-theme="light"] .about-checks li svg {
  background: rgba(100,80,200,0.1);
  color: var(--purple-light);
}
[data-theme="light"] .about-version-badge,
[data-theme="light"] .about-platform-badge {
  background: rgba(240,242,248,0.9);
  border-color: rgba(100,80,200,0.2);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .about-v2 { grid-template-columns: 1fr; gap: 48px; }
  .about-img-wrap { max-width: 420px; margin: 0 auto; width: 100%; }
  .about-version-badge { right: -10px; top: 16px; }
  .about-platform-badge { right: -10px; }
}
@media (max-width: 600px) {
  .about-rates { gap: 8px; }
  .rate-badge  { min-width: 64px; padding: 10px 14px; }
  .rb-val      { font-size: 18px; }
  .about-checks { grid-template-columns: 1fr; }
  .about-cta   { flex-direction: column; }
  .about-version-badge,
  .about-platform-badge { display: none; }
}

/* ════════════════════════════════════════════
   PREMIUM / VIP CARDS  +  membership badge
════════════════════════════════════════════ */

/* ── Sidebar membership badge ── */
.cab-mem-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; border-radius: 20px;
  font-family: 'Oxanium', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mc, #94a3b8);
  background: color-mix(in srgb, var(--mc, #94a3b8) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--mc, #94a3b8) 35%, transparent);
  margin: 4px auto 16px;
}

/* ── char-avatar-icon fix ── */
.char-avatar-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  border: 1px solid;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.char-avatar-icon svg {
  display: block;
  width: 26px; height: 26px;
  stroke: currentColor;
}

/* ── Premium section header ── */
.prem-header { margin-bottom: 28px; }

/* ── Premium cards grid ── */
.prem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* ── Base card ── */
.prem-card {
  position: relative;
  border-radius: 20px;
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 0;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.prem-card:hover { transform: translateY(-6px); }

/* Purple (Premium) */
.prem-purple {
  background: linear-gradient(160deg, rgba(76,29,149,0.25) 0%, rgba(12,12,24,0.95) 100%);
  border: 1px solid rgba(167,139,250,0.3);
  box-shadow: 0 8px 40px rgba(124,58,237,0.1);
}
.prem-purple:hover { box-shadow: 0 20px 60px rgba(124,58,237,0.25); border-color: rgba(167,139,250,0.6); }

/* Gold (VIP) */
.prem-gold {
  background: linear-gradient(160deg, rgba(74,48,0,0.35) 0%, rgba(12,12,24,0.95) 100%);
  border: 1px solid rgba(212,175,55,0.35);
  box-shadow: 0 8px 40px rgba(212,175,55,0.08);
}
.prem-gold:hover { box-shadow: 0 20px 60px rgba(212,175,55,0.2); border-color: rgba(212,175,55,0.65); }

/* Top shine line */
.prem-purple::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background: linear-gradient(90deg, transparent, #a78bfa, transparent);
}
.prem-gold::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

/* Background glow blob */
.prem-card-glow {
  position: absolute; top: -40px; right: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  pointer-events: none; opacity: 0.12;
  transition: opacity 0.4s;
}
.prem-purple .prem-card-glow { background: radial-gradient(circle, #a78bfa, transparent 70%); }
.prem-gold   .prem-card-glow { background: radial-gradient(circle, #d4af37, transparent 70%); }
.prem-card:hover .prem-card-glow { opacity: 0.22; }

/* Best badge */
.prem-badge-best {
  position: absolute; top: 16px; right: 16px;
  background: linear-gradient(135deg, #d4af37, #b8960c);
  color: #050508;
  font-family: 'Oxanium', sans-serif;
  font-size: 9px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
}

/* Icon */
.prem-icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 20px;
}
.prem-purple .prem-icon { background: rgba(167,139,250,0.12); border: 1px solid rgba(167,139,250,0.3); color: #a78bfa; }
.prem-gold   .prem-icon { background: rgba(212,175,55,0.12);  border: 1px solid rgba(212,175,55,0.3);  color: #d4af37; }

/* Name & tagline */
.prem-name {
  font-family: 'Oxanium', sans-serif;
  font-size: 24px; font-weight: 800; letter-spacing: 2px;
  margin-bottom: 4px;
}
.prem-purple .prem-name { color: #c4b5fd; }
.prem-gold   .prem-name { color: #fde68a; }
.prem-tagline { font-size: 13px; color: var(--text-dim); margin-bottom: 24px; }

/* Perks list */
.prem-perks {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px; flex: 1;
}
.prem-perks li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-muted); line-height: 1.4;
}
.prem-perks li svg { width: 18px; height: 18px; flex-shrink: 0; }
.prem-perks li strong { color: var(--text); font-weight: 700; }

/* Price */
.prem-price {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 20px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.prem-amount {
  font-family: 'Oxanium', sans-serif;
  font-size: 32px; font-weight: 800; line-height: 1;
}
.prem-purple .prem-amount { color: #c4b5fd; }
.prem-gold   .prem-amount { color: #fde68a; }
.prem-period { font-size: 13px; color: var(--text-dim); }

/* Buy button */
.prem-btn {
  width: 100%; justify-content: center;
  font-size: 14px; letter-spacing: 1.5px; padding: 13px;
  border-radius: 10px;
}
.prem-btn-purple {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.3);
}
.prem-btn-purple:hover { box-shadow: 0 8px 32px rgba(124,58,237,0.5); transform: translateY(-1px); }
.prem-btn-gold {
  background: linear-gradient(135deg, #d4af37, #b8960c);
  color: #050508;
  box-shadow: 0 4px 20px rgba(212,175,55,0.3);
}
.prem-btn-gold:hover { box-shadow: 0 8px 32px rgba(212,175,55,0.45); transform: translateY(-1px); }

/* Note */
.prem-note {
  margin-top: 20px; padding: 14px 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  font-size: 13px; color: var(--text-dim);
  display: flex; align-items: center; gap: 8px;
}
.prem-note i { color: var(--blue-light); flex-shrink: 0; }

/* Light theme */
[data-theme="light"] .prem-purple {
  background: linear-gradient(160deg, rgba(237,233,254,0.7), rgba(255,255,255,0.9));
  border-color: rgba(124,58,237,0.25);
}
[data-theme="light"] .prem-gold {
  background: linear-gradient(160deg, rgba(254,252,232,0.7), rgba(255,255,255,0.9));
  border-color: rgba(212,175,55,0.3);
}
[data-theme="light"] .prem-perks li { color: var(--text-muted); }
[data-theme="light"] .prem-price    { border-top-color: rgba(0,0,0,0.06); }
[data-theme="light"] .prem-note     { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.06); }

/* Responsive */
@media (max-width: 700px) {
  .prem-grid { grid-template-columns: 1fr; }
  .prem-card { padding: 28px 22px; }
}

/* ════════════════════════════════════════════
   ACTIVE PLAN CARD  +  Toll balance styles
════════════════════════════════════════════ */

/* ── Active plan card ── */
.active-plan-card {
  background: linear-gradient(160deg,
    color-mix(in srgb, var(--pc) 8%, transparent),
    rgba(12,12,24,0.97)
  );
  border: 1px solid color-mix(in srgb, var(--pc) 35%, transparent);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px color-mix(in srgb, var(--pc) 12%, transparent);
}
.active-plan-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background: linear-gradient(90deg, transparent, var(--pc), transparent);
}
.active-plan-card::after {
  content:''; position:absolute; top:-60px; right:-60px;
  width:200px; height:200px; border-radius:50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--pc) 15%, transparent), transparent 70%);
  pointer-events:none;
}

/* Top row */
.apc-top {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 24px;
}
.apc-icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  color: var(--pc);
  background: color-mix(in srgb, var(--pc) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--pc) 30%, transparent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--pc) 15%, transparent);
  flex-shrink: 0;
}
.apc-name {
  font-family: 'Oxanium', sans-serif;
  font-size: 22px; font-weight: 800; color: var(--pc);
  display: flex; align-items: center; gap: 10px; letter-spacing: 1px;
}
.apc-active-badge {
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  padding: 3px 9px; border-radius: 20px;
  background: color-mix(in srgb, var(--pc) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--pc) 40%, transparent);
  color: var(--pc);
  vertical-align: middle;
}
.apc-sub { font-size: 13px; color: var(--text-dim); margin-top: 3px; }

/* Expire block */
.apc-expire {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  margin-bottom: 24px; gap: 12px;
}
.apc-expire-inner {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-muted);
}
.apc-expire-inner svg { flex-shrink:0; color: var(--pc); }
.apc-expire-label {
  display: block; font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 3px;
}
.apc-expire-date {
  display: block; font-family: 'Oxanium', sans-serif;
  font-size: 18px; font-weight: 700; color: var(--text);
}
.apc-days-left {
  text-align: center; flex-shrink: 0;
  background: color-mix(in srgb, var(--pc) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--pc) 25%, transparent);
  border-radius: 10px; padding: 10px 16px;
  min-width: 70px;
}
.apc-days-num {
  display: block; font-family: 'Oxanium', sans-serif;
  font-size: 24px; font-weight: 800; color: var(--pc); line-height: 1;
}
.apc-days-lbl {
  display: block; font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-dim); margin-top: 3px;
}

/* Warning states */
.expire-warn .apc-expire-date,
.expire-warn .apc-days-num { color: #f87171 !important; }
.expire-warn .apc-days-left { border-color: rgba(248,113,113,0.3); background: rgba(248,113,113,0.08); }

.expire-soon .apc-expire-date,
.expire-soon .apc-days-num { color: #fb923c !important; }
.expire-soon .apc-days-left { border-color: rgba(251,146,60,0.3); background: rgba(251,146,60,0.08); }

/* Rates grid */
.apc-rates-title {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 14px;
}
.apc-rates {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-bottom: 24px;
}
.apc-rate {
  text-align: center; padding: 14px 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; position: relative; overflow: hidden;
  transition: var(--transition);
}
.apc-rate:hover { border-color: color-mix(in srgb, var(--pc) 35%, transparent); }
.apc-rate-val {
  display: block; font-family: 'Oxanium', sans-serif;
  font-size: 20px; font-weight: 800; color: var(--pc); line-height: 1;
  margin-bottom: 4px;
}
.apc-rate-lbl {
  display: block; font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 6px;
}
.apc-rate-bonus {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1px;
  padding: 2px 7px; border-radius: 20px;
  background: color-mix(in srgb, var(--pc) 12%, transparent);
  color: var(--pc);
  border: 1px solid color-mix(in srgb, var(--pc) 25%, transparent);
}

/* Perks */
.apc-perks {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.apc-perk {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted);
}
.apc-perk svg { flex-shrink:0; color: var(--pc); }

/* ── Toll balance in prem cards ── */
.prem-toll-balance {
  font-size: 12px; color: var(--text-dim);
  margin-bottom: 14px; padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px;
}
.prem-toll-balance strong { color: var(--text); }
.toll-ok  { color: #34d399; font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.toll-no  { color: #f87171; font-size: 11px; font-weight: 700; letter-spacing: 1px; }

/* Disabled buy button */
.prem-btn:disabled {
  opacity: 0.4; cursor: not-allowed;
  transform: none !important; box-shadow: none !important;
}

/* Period label */
.prem-period { font-size: 12px; color: var(--text-dim); }
.prem-gold .prem-period,
.prem-purple .prem-period { color: color-mix(in srgb, var(--pc, #94a3b8) 60%, var(--text-dim)); }

/* ── Light theme ── */
[data-theme="light"] .active-plan-card {
  background: linear-gradient(160deg,
    color-mix(in srgb, var(--pc) 6%, rgba(255,255,255,0.95)),
    rgba(255,255,255,0.98)
  );
}
[data-theme="light"] .apc-expire,
[data-theme="light"] .apc-rate { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.07); }
[data-theme="light"] .apc-perks { border-top-color: rgba(0,0,0,0.06); }
[data-theme="light"] .prem-toll-balance { background: rgba(0,0,0,0.03); }

/* Responsive */
@media (max-width: 600px) {
  .apc-rates { grid-template-columns: repeat(2, 1fr); }
  .apc-perks { grid-template-columns: 1fr; }
  .active-plan-card { padding: 22px 18px; }
}

/* ════════════════════════════════════════════
   DEPOSIT / ПОПОЛНИТЬ SECTION
════════════════════════════════════════════ */

/* ── Info banner ── */
.dep-info-banner {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px; margin-bottom: 28px;
  background: rgba(59,130,246,0.07);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 10px;
  font-size: 13px; color: var(--text-muted);
  line-height: 1.6;
}
.dep-info-banner i { color: #60a5fa; font-size: 16px; flex-shrink:0; margin-top:2px; }
.dep-info-banner strong { color: var(--text); }

/* ── Package cards ── */
.dep-packages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.dep-pkg {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 18px 14px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center; gap: 4px;
}
.dep-pkg:hover {
  border-color: var(--border);
  background: rgba(212,175,55,0.05);
  transform: translateY(-3px);
}
.dep-pkg.active {
  border-color: var(--gold);
  background: rgba(212,175,55,0.08);
  box-shadow: 0 0 0 2px rgba(212,175,55,0.2), 0 8px 24px rgba(212,175,55,0.1);
}
.pkg-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), #b8960c);
  color: #050508;
  font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px; white-space: nowrap;
}
.dep-pkg-hot  { border-color: rgba(251,191,36,0.3); }
.dep-pkg-best { border-color: rgba(212,175,55,0.4); }

.pkg-amount {
  font-family: 'Oxanium', sans-serif;
  font-size: 22px; font-weight: 800; color: var(--text);
  line-height: 1;
}
.pkg-toll {
  font-size: 13px; font-weight: 700; color: var(--gold);
  margin-top: 2px;
}
.pkg-bonus-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  padding: 3px 9px; border-radius: 20px; margin-top: 6px;
}
.pkg-has-bonus { background: rgba(52,211,153,0.12); color: #34d399; border: 1px solid rgba(52,211,153,0.25); }
.pkg-no-bonus  { background: rgba(255,255,255,0.04); color: var(--text-dim); border: 1px solid rgba(255,255,255,0.07); }

/* ── Custom input row ── */
.dep-custom-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 20px;
}

/* ── Summary box ── */
.dep-summary {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 4px;
}
.dep-sum-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 14px; color: var(--text-muted);
}
.dep-sum-row strong { color: var(--text); }
.dep-sum-bonus      { color: #34d399 !important; }
.dep-sum-bonus strong { color: #34d399 !important; }
.dep-sum-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0 0;
  font-family: 'Oxanium', sans-serif;
  font-size: 16px; font-weight: 700; color: var(--text);
}
.dep-sum-total strong { color: var(--gold); font-size: 20px; }

/* ── Submit button ── */
.dep-submit-btn:disabled {
  opacity: 0.4; cursor: not-allowed;
  transform: none !important; box-shadow: none !important;
}

/* ── History table ── */
.dep-history { display: flex; flex-direction: column; gap: 0; }
.dep-hist-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  flex-wrap: wrap;
}
.dep-hist-row:last-child { border-bottom: none; }
.dep-hist-left { display: flex; flex-direction: column; gap: 3px; min-width: 80px; }
.dep-hist-id   { font-family: 'Oxanium', sans-serif; font-size: 13px; color: var(--text-dim); }
.dep-hist-date { font-size: 11px; color: var(--text-dim); }
.dep-hist-mid  { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dep-hist-amount { font-weight: 700; color: var(--text); font-size: 14px; }
.dep-hist-bonus  { font-size: 12px; color: #34d399; font-weight: 700; }
.dep-hist-toll   { font-size: 13px; color: var(--gold); font-weight: 700; }
.dep-hist-right  { display: flex; align-items: center; gap: 8px; }
.dep-hist-note   { color: var(--blue-light); cursor: help; }

/* ── Light theme ── */
[data-theme="light"] .dep-pkg       { background: rgba(100,80,200,0.04); border-color: rgba(100,80,200,0.12); }
[data-theme="light"] .dep-pkg:hover { background: rgba(100,80,200,0.07); border-color: rgba(100,80,200,0.25); }
[data-theme="light"] .dep-pkg.active{ background: rgba(212,175,55,0.07); border-color: var(--gold); }
[data-theme="light"] .dep-summary   { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.07); }
[data-theme="light"] .dep-info-banner{ background: rgba(59,130,246,0.05); border-color: rgba(59,130,246,0.15); }
[data-theme="light"] .dep-hist-row  { border-color: rgba(0,0,0,0.05); }

/* Responsive */
@media (max-width: 700px) {
  .dep-packages    { grid-template-columns: 1fr 1fr; }
  .dep-custom-row  { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .dep-packages    { grid-template-columns: 1fr; }
}
