/* ============================================================
   GalacticWins Finland — Main Stylesheet
   Brand: Deep space / galaxy theme
   Colors: #0a0a1a (bg), #1a0a3a (deep purple), #7b2fff (primary purple),
           #c0a030 (gold), #ffffff (text), #a0a8d0 (muted text)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* -------- RESET -------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; font-size: 16px; }
body {
  font-family: 'Rajdhani', sans-serif;
  background: #060612;
  color: #d0d8f8;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #c0a030; text-decoration: none; transition: color .2s; }
a:hover { color: #ffd060; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* -------- CSS VARIABLES -------- */
:root {
  --bg: #060612;
  --bg2: #0d0d24;
  --bg3: #12123a;
  --purple: #7b2fff;
  --purple-dark: #4a0fcc;
  --purple-light: #a060ff;
  --gold: #c0a030;
  --gold-light: #ffd060;
  --text: #d0d8f8;
  --text-muted: #7a82aa;
  --border: rgba(123,47,255,0.25);
  --card-bg: rgba(13,13,36,0.85);
  --header-h: 72px;
  --header-h-mobile: 60px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 32px rgba(123,47,255,0.18);
  --glow: 0 0 24px rgba(123,47,255,0.4);
  --gold-glow: 0 0 20px rgba(192,160,48,0.4);
}

/* -------- STARS BACKGROUND -------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 65%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 30%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 80%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 55%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 90%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(2px 2px at 60% 10%, rgba(192,160,48,0.4) 0%, transparent 100%),
    radial-gradient(2px 2px at 80% 85%, rgba(123,47,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 92% 40%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 3% 50%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 47% 95%, rgba(255,255,255,0.4) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* -------- HEADER -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(6,6,18,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.header-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo img {
  height: 44px;
  width: auto;
}
.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #a060ff, #c0a030);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}
.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-nav ul {
  display: flex;
  gap: 4px;
}
.main-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: #b0b8d8;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all .2s;
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.main-nav a:hover, .main-nav a.active {
  color: #fff;
  background: rgba(123,47,255,0.2);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Tracker link in header */
.header-tracker {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* -------- BUTTONS -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all .25s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background .2s;
}
.btn:hover::after { background: rgba(255,255,255,0.06); }
.btn-primary {
  background: linear-gradient(135deg, #7b2fff, #4a0fcc);
  color: #fff;
  box-shadow: var(--glow);
}
.btn-primary:hover { box-shadow: 0 0 36px rgba(123,47,255,0.6); color: #fff; transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(135deg, #c0a030, #8a6010);
  color: #fff;
  box-shadow: var(--gold-glow);
}
.btn-gold:hover { box-shadow: 0 0 32px rgba(192,160,48,0.6); color: #fff; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 2px solid rgba(123,47,255,0.5);
  color: #a060ff;
}
.btn-outline:hover { border-color: #7b2fff; background: rgba(123,47,255,0.1); color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 0.9rem; }
.btn-sm { padding: 7px 16px; font-size: 0.72rem; }

/* -------- HAMBURGER -------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(123,47,255,0.15);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #a060ff;
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile header tracker CTA bar */
.mobile-tracker-bar {
  display: none;
  background: linear-gradient(90deg, #4a0fcc, #7b2fff);
  padding: 10px 16px;
  text-align: center;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.mobile-tracker-bar span {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}
.mobile-tracker-bar .btn { font-size: 0.75rem; padding: 8px 18px; }

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h-mobile);
  left: 0;
  right: 0;
  background: rgba(6,6,18,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 16px;
  transform: translateY(-110%);
  transition: transform .3s ease;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 12px 16px;
  color: #b0b8d8;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.mobile-nav a:hover { color: #fff; background: rgba(123,47,255,0.2); }

/* -------- LAYOUT -------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.section {
  padding: 80px 0;
  position: relative;
}
.section-sm { padding: 48px 0; }

/* -------- SECTION HEADINGS -------- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title span { color: var(--purple-light); }
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  line-height: 1.7;
}
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .section-desc { margin: 0 auto; }

/* -------- HERO -------- */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(123,47,255,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(192,160,48,0.08) 0%, transparent 60%),
    linear-gradient(180deg, #060612 0%, #0d0520 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(123,47,255,0.15);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 24px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #a060ff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #fff;
}
.hero-title .gradient {
  background: linear-gradient(135deg, #a060ff 0%, #ffd060 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stat {}
.hero-stat .num {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.hero-stat .lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  z-index: 1;
  pointer-events: none;
}
.hero-visual img {
  width: 100%;
  height: auto;
  opacity: 0.9;
}

/* -------- CARDS -------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.card:hover { border-color: rgba(123,47,255,0.5); transform: translateY(-4px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.6rem;
}
.card-icon.purple { background: rgba(123,47,255,0.15); }
.card-icon.gold { background: rgba(192,160,48,0.15); }
.card-icon.cyan { background: rgba(0,200,255,0.1); }

.card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }

/* -------- GRIDS -------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* -------- TABLES -------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.data-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.data-table thead { background: rgba(123,47,255,0.2); }
.data-table th {
  padding: 14px 16px;
  text-align: left;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid rgba(123,47,255,0.3);
  white-space: nowrap;
}
.data-table td {
  padding: 13px 16px;
  color: var(--text);
  border-bottom: 1px solid rgba(123,47,255,0.1);
  vertical-align: middle;
  white-space: nowrap;
}
.data-table tbody tr:hover { background: rgba(123,47,255,0.07); }
.data-table .badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.badge-green { background: rgba(0,220,100,0.15); color: #00dc64; border: 1px solid rgba(0,220,100,0.25); }
.badge-purple { background: rgba(123,47,255,0.15); color: #a060ff; border: 1px solid var(--border); }
.badge-gold { background: rgba(192,160,48,0.15); color: var(--gold-light); border: 1px solid rgba(192,160,48,0.3); }
.badge-blue { background: rgba(0,150,255,0.15); color: #60b8ff; border: 1px solid rgba(0,150,255,0.25); }

/* -------- CHARTS & DIAGRAMS -------- */
.chart-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.chart-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Bar chart */
.bar-chart { display: flex; flex-direction: column; gap: 14px; }
.bar-item {}
.bar-label-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.bar-lbl { font-size: 0.85rem; color: var(--text); font-weight: 600; }
.bar-val { font-size: 0.85rem; color: var(--gold); font-weight: 700; font-family: 'Orbitron', sans-serif; }
.bar-track { height: 10px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 99px; transition: width 1s ease; }
.bar-purple { background: linear-gradient(90deg, #4a0fcc, #a060ff); }
.bar-gold { background: linear-gradient(90deg, #8a6010, #ffd060); }
.bar-cyan { background: linear-gradient(90deg, #0070aa, #00d4ff); }
.bar-green { background: linear-gradient(90deg, #007030, #00dc64); }

/* Donut chart */
.donut-wrap { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.donut-svg { flex-shrink: 0; }
.donut-legend { display: flex; flex-direction: column; gap: 12px; }
.donut-legend-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; }
.donut-legend-item .dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.donut-legend-item .name { color: var(--text); flex: 1; }
.donut-legend-item .pct { color: var(--gold); font-weight: 700; font-family: 'Orbitron', sans-serif; font-size: 0.8rem; }

/* Line/progress charts */
.progress-row { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.progress-lbl { width: 140px; font-size: 0.85rem; color: var(--text); flex-shrink: 0; }
.progress-track { flex: 1; height: 8px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 99px; }
.progress-pct { width: 42px; text-align: right; font-size: 0.82rem; font-weight: 700; color: var(--gold); font-family: 'Orbitron', sans-serif; }

/* Star rating */
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }

/* -------- BONUS CARD -------- */
.bonus-card {
  background: linear-gradient(135deg, rgba(13,13,36,0.9), rgba(26,10,58,0.9));
  border: 1px solid rgba(123,47,255,0.3);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s;
}
.bonus-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.bonus-card-header {
  background: linear-gradient(135deg, #4a0fcc, #7b2fff);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.bonus-card-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.bonus-card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}
.bonus-card-subtitle { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: 3px; }
.bonus-amount {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-light);
  text-align: center;
  padding: 20px 24px 10px;
  line-height: 1;
}
.bonus-amount small { display: block; font-size: 0.75rem; color: var(--text-muted); font-family: 'Rajdhani', sans-serif; font-weight: 400; margin-top: 6px; }
.bonus-card-body { padding: 0 24px 20px; }
.bonus-terms { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.bonus-term { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); }
.bonus-term .ico { color: var(--purple-light); font-size: 0.9rem; }

/* -------- GAME CARD -------- */
.game-card { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.game-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s; }
.game-card:hover img { transform: scale(1.05); }
.game-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 16px;
  opacity: 0; transition: opacity .3s;
}
.game-card:hover .game-card-overlay { opacity: 1; }
.game-name { font-family: 'Orbitron', sans-serif; font-size: 0.82rem; color: #fff; margin-bottom: 4px; }
.game-provider { font-size: 0.75rem; color: var(--text-muted); }
.game-card-badge {
  position: absolute; top: 10px; left: 10px;
  background: linear-gradient(135deg, #c0a030, #8a6010);
  color: #fff; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 3px 8px; border-radius: 4px;
}

/* -------- PAYMENT CARD -------- */
.payment-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: all .3s;
}
.payment-card:hover { border-color: rgba(123,47,255,0.5); transform: translateY(-3px); }
.payment-logo { height: 40px; object-fit: contain; }
.payment-name { font-size: 0.9rem; font-weight: 600; color: #fff; }
.payment-speed { font-size: 0.78rem; color: var(--text-muted); }

/* -------- INFO BOX -------- */
.info-box {
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info-box.info { background: rgba(0,150,255,0.06); border: 1px solid rgba(0,150,255,0.2); }
.info-box.warning { background: rgba(255,160,0,0.06); border: 1px solid rgba(255,160,0,0.2); }
.info-box.success { background: rgba(0,200,100,0.06); border: 1px solid rgba(0,200,100,0.2); }
.info-box-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.info-box p { font-size: 0.92rem; line-height: 1.65; color: var(--text); }

/* -------- FAQ -------- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  gap: 16px;
}
.faq-q svg { flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 0 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* -------- BREADCRUMB -------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 16px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--purple-light); }
.breadcrumb-sep { color: rgba(255,255,255,0.2); }

/* -------- FOOTER -------- */
.site-footer {
  background: #03030e;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {}
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 40px; }
.footer-tagline { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(123,47,255,0.1);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: all .2s;
  text-decoration: none;
}
.social-btn:hover { background: rgba(123,47,255,0.25); color: #fff; border-color: var(--purple); }
.footer-col h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.88rem; color: var(--text-muted); transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(123,47,255,0.1);
  padding-top: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer-licenses { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.license-badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}
.footer-disclaimer { font-size: 0.78rem; color: rgba(255,255,255,0.3); line-height: 1.6; flex: 1; min-width: 280px; }
.footer-responsible { display: flex; gap: 10px; flex-wrap: wrap; }
.responsible-badge {
  background: rgba(0,200,100,0.08);
  border: 1px solid rgba(0,200,100,0.2);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.72rem;
  color: #00dc64;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-copy { width: 100%; font-size: 0.78rem; color: rgba(255,255,255,0.2); margin-top: 16px; }

/* -------- SIDEBAR -------- */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: flex-start;
}
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.sidebar-widget h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.sidebar-links { display: flex; flex-direction: column; gap: 8px; }
.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.sidebar-links a:hover { color: #fff; background: rgba(123,47,255,0.1); }
.sidebar-links a::before { content: '→'; color: var(--purple-light); font-size: 0.8rem; }

/* -------- PAGE HERO (inner pages) -------- */
.page-hero {
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 120% at 50% 0%, rgba(123,47,255,0.12) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; }

/* -------- AUTHOR -------- */
.author-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.author-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--purple);
  flex-shrink: 0;
}
.author-info h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.author-role { font-size: 0.82rem; color: var(--gold); margin-bottom: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.author-bio { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* -------- FORMS -------- */
.form-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  position: relative;
}
.form-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 1;
}
.form-box h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.form-box p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: #b0b8d8; margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.06em; }
.field input, .field select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(123,47,255,0.3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color .2s;
}
.field input:focus, .field select:focus { border-color: var(--purple); background: rgba(123,47,255,0.06); }
.field input::placeholder { color: var(--text-muted); }
.form-footer { text-align: center; margin-top: 20px; font-size: 0.85rem; color: var(--text-muted); }
.form-footer a { color: var(--purple-light); }
.form-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.1); }
.form-divider span { font-size: 0.8rem; color: var(--text-muted); }

/* -------- RATING STARS -------- */
.rating { display: flex; align-items: center; gap: 6px; }
.rating-stars { color: var(--gold); font-size: 1rem; letter-spacing: 1px; }
.rating-val { font-family: 'Orbitron', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--gold); }

/* -------- SCROLL TOP -------- */
#scrollTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--purple);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: var(--glow);
  transition: all .3s;
}
#scrollTop.show { display: flex; }
#scrollTop:hover { background: var(--purple-light); transform: translateY(-3px); }

/* -------- UTILS -------- */
.text-gold { color: var(--gold-light); }
.text-purple { color: var(--purple-light); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(123,47,255,0.3), transparent); margin: 40px 0; }

/* numbered list */
.num-list { counter-reset: nl; display: flex; flex-direction: column; gap: 14px; }
.num-list li {
  counter-increment: nl;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
}
.num-list li::before {
  content: counter(nl);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(123,47,255,0.2);
  border: 1px solid var(--border);
  color: var(--purple-light);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* check list */
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--text); line-height: 1.65; }
.check-list li::before { content: '✓'; color: #00dc64; font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* -------- SKIP NAVIGATION (Accessibility) -------- */
.skip-link {
  position: absolute;
  top: -120%;
  left: 16px;
  background: var(--purple);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 10000;
  text-decoration: none;
  transition: top 0.15s ease;
  white-space: nowrap;
  border: 2px solid var(--purple-light);
  box-shadow: var(--shadow);
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* -------- FOCUS VISIBLE (Keyboard Navigation) -------- */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible { outline-color: var(--gold-light); }
button:focus-visible { outline-color: var(--gold-light); outline-offset: 4px; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 0;
  border-color: var(--purple-light) !important;
}

/* -------- FAQ ALIASES (.faq-question / .faq-answer for inner pages) -------- */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  gap: 16px;
  transition: color .2s;
}
.faq-question:hover { color: var(--purple-light); }
.faq-question::after {
  content: '▾';
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform .3s;
  color: var(--text-muted);
}
.faq-item.open .faq-question::after { transform: rotate(180deg); color: var(--purple-light); }
.faq-answer {
  display: none;
  padding: 0 0 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }
/* also fix: .faq-item needs border-bottom when using .faq-question (it's on the button itself above) */
.faq-list .faq-item { border-bottom: none; }

/* -------- REDUCED MOTION -------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}

/* -------- RESPONSIVE -------- */
@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 220px 1fr 1fr; }
  .footer-grid > *:last-child { grid-column: 2; }
}

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .header-cta .btn-outline { display: none; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
  .hero-visual {
    display: block;
    right: -34%;
    top: 50%;
    width: 112%;
    opacity: 0.42;
  }
  .hero-content { max-width: 100%; }
}

@media (max-width: 768px) {
  :root { --header-h: var(--header-h-mobile); }
  .mobile-tracker-bar { display: flex; }
  .section { padding: 52px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid > *:first-child { grid-column: 1 / -1; }
  .sidebar { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .container-wide { padding: 0 16px; }
  .section-title { font-size: clamp(1.4rem, 5vw, 2rem); }
  .table-wrap { margin-left: -16px; margin-right: -16px; border-radius: 0; }
  .hero-stats { gap: 20px; }
  .hero-title { font-size: clamp(1.8rem, 6vw, 2.8rem); }
  .donut-wrap { flex-direction: column; }
  .author-card { flex-direction: column; text-align: center; }
  .author-avatar { margin: 0 auto; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-box { padding: 28px 20px; }
  .btn-lg { padding: 12px 22px; font-size: 0.82rem; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .progress-lbl { width: 100px; font-size: 0.78rem; }
}

/* -------- PHOTO ASSETS REFRESH -------- */
:root { --primary: var(--purple); }
.site-logo img {
  width: 170px;
  height: 46px;
  object-fit: fill;
}
.footer-logo img {
  width: 184px;
  height: 50px;
  object-fit: fill;
}
.page-hero-photo {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
}
.page-hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,6,18,0.96) 0%, rgba(6,6,18,0.76) 46%, rgba(6,6,18,0.28) 100%),
    var(--page-photo);
  background-size: cover;
  background-position: center right;
  opacity: 0.92;
}
.page-hero-photo .container,
.page-hero-photo .page-hero-content {
  position: relative;
  z-index: 1;
}
.hero-visual img,
.game-card img,
.author-avatar {
  image-rendering: auto;
}
.hero-visual {
  right: -11%;
  width: 44%;
}
@media (max-width: 768px) {
  .site-logo img { width: 120px; height: 38px; }
  .hero {
    min-height: 720px;
    padding-top: 72px;
  }
  .hero-visual {
    right: -48%;
    top: 55%;
    width: 132%;
    opacity: 0.38;
  }
  .hero-content {
    position: relative;
    z-index: 2;
  }
  .page-hero-photo { min-height: 390px; }
  .page-hero-photo::before {
    background:
      linear-gradient(180deg, rgba(6,6,18,0.48) 0%, rgba(6,6,18,0.66) 42%, rgba(6,6,18,0.94) 100%),
      var(--page-photo);
    background-size: cover;
    background-position: center;
    opacity: 1;
  }
  .page-hero-photo[style*="mobile-app-banner"] {
    min-height: 560px !important;
    align-items: flex-start;
  }
  .page-hero-photo[style*="mobile-app-banner"]::before {
    background:
      linear-gradient(180deg, rgba(6,6,18,0.12) 0%, rgba(6,6,18,0.38) 38%, rgba(6,6,18,0.94) 76%),
      var(--page-photo);
    background-size: cover;
    background-position: 72% top;
  }
  .page-hero-photo[style*="mobile-app-banner"] .container {
    padding-top: 34px !important;
  }
  .page-hero-photo[style*="mobile-app-banner"] .container > div:last-child {
    display: block;
    order: -1;
    width: min(100%, 320px);
    margin: 0 auto 18px;
  }
  .page-hero-photo[style*="mobile-app-banner"] .container > div:last-child img {
    width: 100%;
    max-height: 170px;
    object-fit: cover;
    object-position: 72% center;
    border: 1px solid rgba(123,47,255,0.35);
    box-shadow: 0 18px 48px rgba(123,47,255,0.28);
  }
  .page-hero-photo[style*="mobile-app-banner"] .container,
  .page-hero > .container[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .chart-wrap {
    padding: 22px 18px;
  }
  .donut-svg {
    width: 150px;
    height: 150px;
  }
}
@media (max-width: 480px) {
  .site-logo img { width: 110px; height: 34px; }
  .header-inner { gap: 12px; padding: 0 14px; }
}
