/* =============================================
   Spinbara — Editorial Promo Site
   Design system inspired by the official brand
   ============================================= */

:root {
  --bg: #efe9fc;
  --bg-deep: #e2d6f9;
  --surface: #ffffff;
  --surface-soft: #f7f2ff;
  --surface-alt: #f0ebff;

  --primary: #5a2ebf;
  --primary-600: #4a25a3;
  --primary-700: #3c1d85;
  --primary-ink: #1f0f5e;

  --accent: #a3dc1f;
  --accent-600: #8cc212;
  --accent-ink: #2b4000;

  --violet: #8959ff;
  --violet-soft: #c8b5ff;

  --gold: #f3b23a;
  --rose: #ff6ea8;
  --sky: #4fb0ff;
  --mint: #2cd694;
  --tangerine: #ff7a33;

  --text: #15093d;
  --text-soft: #2f2265;
  --text-muted: #514b75;
  --text-dim: #6e6890;

  --border: #d8ccf2;
  --border-soft: #ebe3f9;
  --divider: #e6dcf7;

  --shadow-sm: 0 2px 6px rgba(30, 13, 80, 0.06);
  --shadow: 0 10px 28px rgba(30, 13, 80, 0.10);
  --shadow-lg: 0 24px 60px rgba(30, 13, 80, 0.18);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --container: 1180px;

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 80% -200px, #d4c4fb 0%, transparent 60%),
    radial-gradient(900px 400px at -20% 120px, #e4d6fa 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-700); }

/* Scrollbar */
@supports (scrollbar-color: auto) {
  html { scrollbar-color: var(--primary) var(--bg-deep); scrollbar-width: thin; }
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary), var(--violet)); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-700); }

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* =============================================
   HEADER
   ============================================= */
.header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(60, 29, 133, 0.98), rgba(45, 20, 110, 0.96));
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow .2s ease;
}
.header.scrolled { box-shadow: 0 10px 30px rgba(15, 7, 45, 0.25); }

.header-inner {
  display: flex; align-items: center; gap: 16px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; letter-spacing: .3px; }
.brand img { width: 40px; height: 30px; }
.brand-name { font-size: 20px; }

.nav {
  display: flex; align-items: center; gap: 2px;
  margin-left: 12px;
  flex: 1;
  min-width: 0;
}
.nav a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 10px; border-radius: 10px;
  color: #e5dcff; font-size: 13.5px; font-weight: 500;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav a.is-active { background: rgba(172, 224, 30, 0.15); color: #dcf79a; }
.nav svg { width: 15px; height: 15px; stroke-width: 1.8; flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px;
  border-radius: 999px; border: 0; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 14px;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, #b7e833, #8ec91a);
  color: #1d2a00;
  box-shadow: 0 6px 0 #5f8a0c, 0 10px 20px rgba(140, 195, 20, 0.35);
}
.btn-primary:hover { color: #1d2a00; background: linear-gradient(180deg, #c1ee3e, #95d022); }
.btn-primary:active { box-shadow: 0 3px 0 #5f8a0c, 0 6px 12px rgba(140,195,20,0.30); }
.btn-ghost {
  background: rgba(255,255,255,0.08); color: #fff; padding: 10px 18px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.16); color: #fff; }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--primary); padding: 10px 20px;
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-block { width: 100%; padding: 14px 22px; font-size: 15px; }

.header-cta { display: flex; align-items: center; gap: 10px; }

/* Burger */
.burger {
  display: none;
  width: 42px; height: 42px; border-radius: 12px; border: 0;
  background: rgba(255,255,255,0.08); cursor: pointer;
  align-items: center; justify-content: center;
  position: relative;
}
.burger span {
  position: absolute; left: 10px; width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .25s ease, top .25s ease, opacity .2s ease;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
body.menu-open .burger span:nth-child(1) { top: 20px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 68px 0 0 0; z-index: 40;
  background: linear-gradient(180deg, #2b1474 0%, #1a0b4f 100%);
  transform: translateY(-10px); opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  overflow-y: auto;
}
body.menu-open .mobile-nav { opacity: 1; transform: none; pointer-events: auto; }
body.menu-open { overflow: hidden; }
.mobile-nav-inner { padding: 18px 20px 36px; }
.mobile-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 14px; border-radius: 12px;
  color: #e8dfff; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav a svg { width: 18px; height: 18px; stroke-width: 1.8; color: #c2aaff; }
.mobile-nav a.is-active { background: rgba(172, 224, 30, 0.12); color: #dcf79a; }
.mobile-nav .btn { margin-top: 18px; }

/* =============================================
   HERO
   ============================================= */
.hero {
  padding: 56px 0 32px;
  text-align: center;
  position: relative;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(90, 46, 191, 0.10); color: var(--primary);
  font-size: 13px; font-weight: 600; letter-spacing: .3px;
  border: 1px solid rgba(90, 46, 191, 0.20);
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px); line-height: 1.1;
  margin: 18px auto 14px; max-width: 900px;
  letter-spacing: -0.02em; color: var(--primary-ink);
  font-weight: 800;
}
.hero-lead {
  max-width: 760px; margin: 0 auto;
  font-size: 18px; color: var(--text-soft);
}
.hero-cta {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 26px;
}
.hero-meta {
  display: flex; justify-content: center; gap: 22px; flex-wrap: wrap;
  margin-top: 20px; color: var(--text-muted); font-size: 14px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--accent-600); }

/* =============================================
   DEVICE MOCKUPS
   ============================================= */
.device-desktop {
  max-width: 700px; margin: 40px auto 0;
  border-radius: 18px; overflow: hidden;
  background: #1e114f; box-shadow: var(--shadow-lg);
  position: relative;
}
.device-desktop .dots {
  display: flex; gap: 6px; padding: 10px 14px;
  background: #14093b;
}
.device-desktop .dots span {
  width: 11px; height: 11px; border-radius: 50%; background: #ff5f57;
}
.device-desktop .dots span:nth-child(2) { background: #febc2e; }
.device-desktop .dots span:nth-child(3) { background: #28c840; }
.device-desktop .screen { position: relative; background: #fff; }
.device-desktop .screen img { width: 100%; display: block; }
.device-desktop .floating-cta {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 2;
}

.device-phone {
  width: 280px; margin: 0 auto;
  background: #120832; border-radius: 36px; padding: 8px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.device-phone::before {
  content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 18px; background: #0a0520; border-radius: 12px; z-index: 2;
}
.device-phone .screen {
  border-radius: 26px; overflow: hidden; background: #efe9fc;
  aspect-ratio: 9 / 19;
  position: relative;
}
.device-phone .screen img { width: 100%; height: 100%; object-fit: cover; }

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: 56px 0; }
.section-sm { padding: 36px 0; }
.section-head { text-align: center; max-width: 800px; margin: 0 auto 34px; }
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.18; margin: 0 0 14px;
  color: var(--primary-ink); font-weight: 800; letter-spacing: -0.015em;
  position: relative; display: inline-block; padding-bottom: 12px;
}
.section-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 3px;
}
.section-desc {
  max-width: 780px; margin: 0 auto;
  color: var(--text-soft); font-size: 17px;
}

/* =============================================
   CARDS
   ============================================= */
.card-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  text-align: center;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--violet-soft); }
.card-icon {
  width: 56px; height: 56px; margin: 0 auto 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eadcff, #d6c0ff);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 {
  font-size: 18px; margin: 0 0 8px; color: var(--primary-ink); font-weight: 700;
}
.card p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* =============================================
   STATS
   ============================================= */
.stats-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 18px;
}
.stat {
  background: linear-gradient(145deg, #ffffff 0%, #f6efff 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px 20px; text-align: center;
}
.stat-num {
  font-size: 34px; font-weight: 800; color: var(--primary);
  letter-spacing: -0.02em; line-height: 1;
}
.stat-label { color: var(--text-muted); font-size: 14px; margin-top: 6px; }

/* =============================================
   PROSE (article content)
   ============================================= */
.prose {
  max-width: 820px; margin: 0 auto;
  color: var(--text-soft); font-size: 17px; line-height: 1.75;
}
.prose p { margin: 0 0 18px; }
.prose h2 {
  font-size: clamp(24px, 3vw, 32px); margin: 40px 0 16px;
  color: var(--primary-ink); font-weight: 800; letter-spacing: -0.015em;
  padding-bottom: 10px; position: relative;
}
.prose h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 54px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 3px;
}
.prose h3 {
  font-size: 20px; margin: 28px 0 10px;
  color: var(--primary-ink); font-weight: 700;
}
.prose strong { color: var(--primary-ink); }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 18px; }
.prose ul li, .prose ol li { margin: 8px 0; }
.prose a, .section-desc a, .highlight-box a, .callout-body a, .faq-a-inner a, .responsible a {
  color: var(--primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--primary-700); }

/* Numbered list with counters */
.steps {
  list-style: none; padding: 0; margin: 22px 0;
  counter-reset: step;
}
.steps li {
  position: relative; padding: 16px 18px 16px 60px;
  margin: 10px 0;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius); counter-increment: step;
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.steps li strong { color: var(--primary-ink); display: block; margin-bottom: 2px; }

/* Icon list */
.icon-list { list-style: none; padding: 0; margin: 14px 0 20px; }
.icon-list li {
  display: flex; gap: 12px; align-items: flex-start; padding: 10px 0;
  border-bottom: 1px dashed var(--divider);
}
.icon-list li:last-child { border-bottom: 0; }
.icon-list li svg {
  width: 22px; height: 22px; color: var(--accent-600); flex-shrink: 0; margin-top: 2px;
}
.icon-list li strong { color: var(--primary-ink); }

/* =============================================
   CALLOUTS
   ============================================= */
.callout {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 22px; margin: 22px auto;
  border-radius: var(--radius); border-left: 4px solid var(--primary);
  background: #f3edff; max-width: 820px;
}
.callout.info { border-left-color: var(--sky); background: #e8f4ff; }
.callout.success { border-left-color: var(--mint); background: #e3faf0; }
.callout.warning { border-left-color: var(--tangerine); background: #fff1e6; }
.callout-icon {
  width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.callout-icon svg { width: 20px; height: 20px; color: var(--primary); }
.callout.info .callout-icon svg { color: var(--sky); }
.callout.success .callout-icon svg { color: var(--mint); }
.callout.warning .callout-icon svg { color: var(--tangerine); }
.callout-body h3 { margin: 0 0 4px; font-size: 16px; color: var(--primary-ink); font-weight: 700; }
.callout-body p { margin: 0; color: var(--text-soft); font-size: 15px; }

.highlight-box {
  padding: 20px 24px; margin: 22px auto; max-width: 820px;
  border-left: 4px solid var(--sky); background: #eaf4ff;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.highlight-box h3 { margin: 0 0 8px; color: var(--primary-ink); font-size: 17px; font-weight: 700; }
.highlight-box p { margin: 0; color: var(--text-soft); }

blockquote {
  position: relative; margin: 28px auto; max-width: 760px;
  padding: 20px 24px 20px 56px;
  background: #f3edff; border-radius: var(--radius);
  color: var(--text-soft); font-style: italic; font-size: 17px;
}
blockquote::before {
  content: "\201C";
  position: absolute; left: 14px; top: -10px;
  font-size: 72px; line-height: 1; color: var(--violet);
  font-family: Georgia, 'Times New Roman', serif;
}
blockquote cite {
  display: block; margin-top: 10px; font-style: normal; font-size: 14px;
  color: var(--primary); font-weight: 600;
}

/* =============================================
   TABLES
   ============================================= */
.table-wrap { overflow-x: auto; margin: 22px 0; border-radius: var(--radius); border: 1px solid var(--border-soft); background: var(--surface); }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table caption {
  caption-side: top; padding: 14px 18px; text-align: left;
  font-weight: 700; color: var(--primary-ink);
  background: var(--surface-alt); border-bottom: 1px solid var(--border-soft);
}
.data-table th, .data-table td {
  padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--border-soft);
}
.data-table th { background: #f7f2ff; color: var(--primary-ink); font-weight: 700; font-size: 14px; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #faf6ff; }
.data-table tr.highlight-row td { background: #f3edff; }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .2px;
}
.badge-green { background: #e3faf0; color: #0f7b42; }
.badge-amber { background: #fff1e6; color: #a04600; }
.badge-blue  { background: #e8f4ff; color: #1c5a9a; }
.badge-rose  { background: #ffe6f1; color: #9a1f5a; }

/* =============================================
   BONUS CARDS (promotions)
   ============================================= */
.bonus-filters {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin: 10px 0 26px;
}
.bonus-filters button {
  border: 1px solid var(--border); background: var(--surface);
  padding: 8px 16px; border-radius: 999px;
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--primary-ink);
  cursor: pointer; transition: all .15s ease;
}
.bonus-filters button:hover { border-color: var(--primary); }
.bonus-filters button.is-active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

.bonus-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.bonus-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
  position: relative;
}
.bonus-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.bonus-visual {
  aspect-ratio: 4 / 3; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #6b3fd1 0%, #4a1fa3 50%, #3a1686 100%);
}
.bonus-visual.casino { background: linear-gradient(135deg, #c43b93 0%, #7b2378 60%, #3a1686 100%); }
.bonus-visual.sport  { background: linear-gradient(135deg, #1f8f5d 0%, #2a4fa3 60%, #311873 100%); }
.bonus-visual.crypto { background: linear-gradient(135deg, #f3b23a 0%, #b95a1b 55%, #4a1f71 100%); }
.bonus-visual.special{ background: linear-gradient(135deg, #ff6ea8 0%, #7d2cc1 55%, #2d1373 100%); }
.bonus-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.2) 0%, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 35%);
}
.bonus-visual-inner {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 24px; text-align: center;
  color: #fff;
}
.bonus-visual-inner .amount {
  font-size: clamp(24px, 4vw, 34px); font-weight: 900; letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.bonus-visual-inner .title {
  font-size: 14px; font-weight: 600; opacity: .85; margin-top: 6px;
  text-transform: uppercase; letter-spacing: 1px;
}
.bonus-category {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .3px;
  background: #fff; color: var(--primary-ink);
  z-index: 2;
}
.bonus-category.casino { background: #ff5fa8; color: #fff; }
.bonus-category.sport  { background: #2cd694; color: #0e3d22; }
.bonus-category.crypto { background: #f3b23a; color: #4a2e00; }
.bonus-category.special{ background: #ff8a4a; color: #4a1a00; }
.bonus-body {
  padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.bonus-body h3 { margin: 0; font-size: 17px; color: var(--primary-ink); font-weight: 700; }
.bonus-body .bonus-amount {
  font-size: 15px; color: var(--primary); font-weight: 700;
}
.bonus-body p { margin: 0; color: var(--text-muted); font-size: 14px; flex: 1; }
.bonus-body .btn { margin-top: 6px; }

/* =============================================
   FAQ
   ============================================= */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius); margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 16px 20px; cursor: pointer; user-select: none;
  font-weight: 600; color: var(--primary-ink); font-size: 16px;
}
.faq-q h3 { margin: 0; font-size: 16px; font-weight: 600; }
.faq-q .chev {
  width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--surface-soft); color: var(--primary); flex-shrink: 0;
  transition: transform .25s ease, background .15s ease;
}
.faq-q .chev svg { width: 14px; height: 14px; stroke-width: 2.4; }
.faq-item.is-open .faq-q .chev { transform: rotate(180deg); background: var(--primary); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 20px 18px; color: var(--text-soft); font-size: 15px; line-height: 1.7; }

/* =============================================
   CALCULATOR
   ============================================= */
.bonus-calc {
  max-width: 520px; margin: 24px auto;
  background: linear-gradient(160deg, #ffffff 0%, #f6efff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px 26px;
  box-shadow: var(--shadow);
  text-align: left;
}
.bonus-calc h3 { margin: 0 0 14px; font-size: 20px; color: var(--primary-ink); }
.bonus-calc label { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 8px; font-weight: 600; }
.bonus-calc input[type="number"] {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--border); background: #fff;
  font-family: inherit; font-size: 16px; color: var(--text); outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bonus-calc input[type="number"]:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(90,46,191,0.12); }
.bonus-calc-result {
  margin-top: 16px; padding: 16px; border-radius: var(--radius);
  background: linear-gradient(135deg, #1f0b5a, #3c1d85); color: #fff;
  display: flex; align-items: center; justify-content: space-between;
}
.bonus-calc-result .label { font-size: 13px; opacity: .8; text-transform: uppercase; letter-spacing: .8px; }
.bonus-calc-result .value { font-size: 28px; font-weight: 800; color: #cbe85c; letter-spacing: -0.01em; }

/* =============================================
   EXPLORE (page links)
   ============================================= */
.page-links {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 920px; margin: 0 auto;
}
.page-links a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border-soft);
  color: var(--primary-ink); font-weight: 600; font-size: 15px;
  transition: all .15s ease;
}
.page-links a:hover {
  border-color: var(--violet); background: var(--surface-soft);
  transform: translateY(-1px);
}
.page-links svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }

/* =============================================
   FORM PREVIEW (login/register mockups)
   ============================================= */
.form-mockup {
  max-width: 420px; margin: 0 auto;
  background: var(--surface-soft);
  border-radius: var(--radius-xl);
  padding: 28px 28px 30px; box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-mockup .form-logo {
  display: flex; justify-content: center; margin-bottom: 10px;
}
.form-mockup .form-logo img { width: 92px; height: auto; }
.form-mockup h2 {
  text-align: left; font-size: 22px; color: var(--primary-ink); margin: 0 0 16px;
}
.form-mockup .field { margin-bottom: 14px; }
.form-mockup label {
  display: block; font-size: 14px; color: var(--text); font-weight: 600; margin-bottom: 6px;
}
.form-mockup input, .form-mockup .fake-input {
  width: 100%; padding: 13px 14px;
  background: #fff; border: 1.5px solid var(--border); border-radius: 12px;
  font-family: inherit; font-size: 15px; color: var(--text-muted);
  line-height: 1.3;
}
.form-mockup input { pointer-events: none; }
.form-mockup a.fake-input { cursor: pointer; color: var(--text-muted); text-decoration: none; }
.form-mockup a.fake-input:hover { border-color: var(--primary); color: var(--text); }
.form-mockup .fake-input.with-icon {
  display: flex; justify-content: space-between; align-items: center;
}
.form-mockup .fake-input svg { width: 18px; height: 18px; color: var(--primary); }
.form-mockup .form-tabs {
  display: flex; gap: 8px; margin-bottom: 18px;
  background: #fff; padding: 5px; border-radius: 12px; border: 1px solid var(--border);
}
.form-mockup .form-tabs span {
  flex: 1; text-align: center; padding: 9px 10px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--text-muted);
}
.form-mockup .form-tabs span.active {
  background: linear-gradient(135deg, var(--primary), var(--violet)); color: #fff;
}
.form-disclaimer {
  max-width: 560px; margin: 0 auto 20px;
  padding: 14px 18px; border-radius: 12px;
  background: #fff7e6; border-left: 4px solid var(--gold);
  color: #6d4a00; font-size: 14px;
}
.form-mockup .form-link {
  font-size: 13px; color: var(--primary); text-align: right; display: block; margin-top: -8px; margin-bottom: 14px;
  text-decoration: underline; text-underline-offset: 3px;
}
.form-mockup .form-footer-note {
  text-align: center; font-size: 14px; color: var(--text-muted); margin-top: 16px;
}
.form-mockup .form-divider {
  text-align: center; font-size: 12px; color: var(--text-muted); margin: 16px 0;
  position: relative;
}
.form-mockup .form-divider::before, .form-mockup .form-divider::after {
  content: ""; position: absolute; top: 50%; width: 38%; height: 1px; background: var(--border);
}
.form-mockup .form-divider::before { left: 0; }
.form-mockup .form-divider::after { right: 0; }
.form-mockup .google-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 12px 16px;
  background: #fff; border: 1.5px solid var(--border); border-radius: 12px;
  font-weight: 600; color: var(--text); cursor: pointer;
  text-decoration: none;
}
.form-mockup .google-btn:hover { background: #faf6ff; color: var(--primary-ink); }
.bonus-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-600));
  color: var(--accent-ink); font-weight: 700; font-size: 13px;
  margin-bottom: 14px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  margin-top: 70px;
  background: linear-gradient(180deg, #1b0c52 0%, #130742 100%);
  color: #d4c8f5;
  padding: 50px 0 26px;
}
.footer-top {
  display: grid; gap: 28px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
.footer h3 { color: #fff; font-size: 15px; margin: 0 0 14px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.footer .brand-name { color: #fff; }
.footer p { color: #b8a8e5; font-size: 14px; margin: 12px 0; max-width: 320px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin: 8px 0; }
.footer ul a { color: #c9bbeb; font-size: 14px; }
.footer ul a:hover { color: #fff; }
.footer-bottom {
  margin-top: 34px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #968ac4;
}
.footer-bottom a { color: #b8a8e5; text-decoration: underline; text-underline-offset: 3px; }
.responsible {
  margin-top: 20px; padding: 16px 20px; border-radius: 12px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  color: #c9bbeb; font-size: 13px; line-height: 1.6;
}
.responsible strong { color: #fff; }
.responsible a { color: #e0d4ff; text-decoration: underline; text-underline-offset: 3px; }

/* 18+ badge */
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: #c2185b; color: #fff; font-weight: 800; font-size: 13px;
  flex-shrink: 0;
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff; border: 0; cursor: pointer;
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}
.back-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.back-top svg { width: 20px; height: 20px; stroke-width: 2.4; }

/* =============================================
   BREADCRUMBS
   ============================================= */
.breadcrumbs {
  padding-top: 18px; font-size: 14px; color: var(--text-muted);
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin: 0 6px; color: var(--text-dim); }
.breadcrumbs a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs li[aria-current="page"] { color: var(--text-soft); }

/* =============================================
   MEDIA QUERIES
   ============================================= */
@media (max-width: 1200px) {
  .header-cta .btn-ghost { display: none; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header-cta { display: contents; }
  .header-cta .btn-primary { margin-left: auto; }
  .burger { margin-left: 10px; }
}
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 40px 0; }
  .hero { padding: 36px 0 12px; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .device-desktop { max-width: 100%; border-radius: 14px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .brand-name { font-size: 18px; }
  body { font-size: 15px; }
}

/* Animation utilities */
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .5s ease both; }

/* Go page */
.go-wrap {
  min-height: 80vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 40px 20px;
}
.go-card {
  max-width: 560px; background: var(--surface); border-radius: var(--radius-lg);
  padding: 34px 28px; box-shadow: var(--shadow);
  border: 1px solid var(--border-soft);
}
.go-card img { margin: 0 auto 16px; width: 72px; }
.go-card h1 { font-size: 26px; color: var(--primary-ink); margin: 0 0 10px; }
.go-card h2 { font-size: 17px; color: var(--text-soft); margin: 14px 0 6px; font-weight: 600; }
.go-card ul { text-align: left; display: inline-block; color: var(--text-soft); padding-left: 20px; }

/* 404 */
.err-wrap { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.err-num { font-size: clamp(80px, 14vw, 160px); font-weight: 900; color: var(--primary); letter-spacing: -0.04em; line-height: 1; background: linear-gradient(135deg, var(--primary), var(--violet)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* CTA section */
.cta-banner {
  background: linear-gradient(135deg, #2a1375 0%, #5a2ebf 60%, #8959ff 100%);
  border-radius: var(--radius-xl); padding: 42px 32px; text-align: center;
  color: #fff; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.12) 0%, transparent 35%),
    radial-gradient(circle at 90% 80%, rgba(172,224,30,0.18) 0%, transparent 35%);
  pointer-events: none;
}
.cta-banner h2 { color: #fff; font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 10px; letter-spacing: -0.015em; }
.cta-banner p { color: #d4c8f5; max-width: 560px; margin: 0 auto 20px; font-size: 16px; }
.cta-banner .btn { position: relative; z-index: 1; }

/* 2-col info row */
.two-col {
  display: grid; gap: 24px; grid-template-columns: 1fr 1fr; align-items: center;
  max-width: 1080px; margin: 0 auto;
}
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

/* Game grid - slot previews */
.game-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.game-tile {
  aspect-ratio: 3/4; border-radius: 14px; overflow: hidden;
  position: relative; color: #fff; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-sm); text-align: left;
}
.game-tile .gt-num { font-size: 32px; font-weight: 900; letter-spacing: -0.02em; text-shadow: 0 2px 10px rgba(0,0,0,0.4); }
.game-tile .gt-name { font-size: 13px; font-weight: 700; opacity: .95; }
.game-tile .gt-type { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; opacity: .7; }
.game-tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at top, rgba(255,255,255,0.15) 0%, transparent 50%); }
.gt-1 { background: linear-gradient(135deg, #7b1fa2, #e91e63); }
.gt-2 { background: linear-gradient(135deg, #ff6e00, #ffc107); }
.gt-3 { background: linear-gradient(135deg, #1976d2, #00bcd4); }
.gt-4 { background: linear-gradient(135deg, #ff9800, #f57c00); }
.gt-5 { background: linear-gradient(135deg, #66bb6a, #2e7d32); }
.gt-6 { background: linear-gradient(135deg, #d32f2f, #ff5722); }

/* Pros/Cons */
.pros-cons { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; margin: 22px 0; }
@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }
.pc-card {
  background: var(--surface); border-radius: var(--radius); padding: 22px;
  border: 1px solid var(--border-soft);
}
.pc-card.pros { border-top: 3px solid var(--mint); }
.pc-card.cons { border-top: 3px solid var(--tangerine); }
.pc-card h3 { margin: 0 0 12px; color: var(--primary-ink); font-size: 18px; }
.pc-card ul { list-style: none; padding: 0; margin: 0; }
.pc-card li { padding: 8px 0; padding-left: 28px; position: relative; color: var(--text-soft); font-size: 15px; border-bottom: 1px dashed var(--divider); }
.pc-card li:last-child { border-bottom: 0; }
.pc-card.pros li::before { content: "+"; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%; background: #e3faf0; color: #0f7b42; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.pc-card.cons li::before { content: "−"; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%; background: #fff1e6; color: #a04600; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; }

/* VIP levels */
.vip-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 20px 0; }
.vip-level {
  background: var(--surface); border-radius: var(--radius); padding: 18px; border: 1px solid var(--border-soft);
  text-align: center;
}
.vip-level .lvl { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); font-weight: 700; }
.vip-level .name { font-size: 18px; font-weight: 800; color: var(--primary-ink); margin: 4px 0 8px; }
.vip-level .perk { font-size: 13px; color: var(--text-soft); }
.vip-level.bronze { border-top: 3px solid #c58a3a; }
.vip-level.silver { border-top: 3px solid #8a8fa3; }
.vip-level.gold { border-top: 3px solid #e6b91f; }
.vip-level.platinum { border-top: 3px solid #6a4dde; }
.vip-level.diamond { border-top: 3px solid #ff6ea8; }
