/* ===================================================================
   SpinyRush — neon-lime / magenta / cyan dark brand theme
   Loaded AFTER base.css + style.css.
   Components used by pages.json: hero, stats, intro, games, winners,
   outro, faq, page-hero, deal-grid/deal-card, login-split/login-side,
   login-trust, checklist, cta_banner, footer-responsible, mobile-showcase.
   =================================================================== */

:root {
  --sr-bg:          #0b0d12;
  --sr-surface:     #15181f;
  --sr-surface-2:   #1c2029;
  --sr-line:        #262b36;
  --sr-text:        #ffffff;
  --sr-text-soft:   rgba(255, 255, 255, 0.84);
  --sr-text-faint:  rgba(255, 255, 255, 0.58);
  --sr-accent:      #a5ff1f; /* neon lime */
  --sr-accent-2:    #b9ff4d; /* lighter lime */
  --sr-magenta:     #e5266b; /* hot pink accent */
  --sr-magenta-2:   #ff3d8a;
  --sr-cyan:        #2af1d7; /* neon cyan accent */
  --sr-purple:      #5a2bd9;
  --sr-gold:        #f7d24a;
}

body { background: var(--sr-bg); color: var(--sr-text); }

/* Headings */
h1, h2, h3,
.hero h1, .page-hero h1, .section-title {
  font-family: "Inter", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
  font-weight: 800;
  color: var(--sr-text);
}
.hero h1, .page-hero h1 {
  text-shadow:
    0 0 24px rgba(165, 255, 31, 0.30),
    0 0 64px rgba(229, 38, 107, 0.18);
}

a { color: var(--sr-accent-2); }
a:hover { color: var(--sr-accent); }

/* Primary CTA — lime pill on near-black text */
.btn--primary {
  background: linear-gradient(135deg, var(--sr-accent) 0%, var(--sr-accent-2) 100%);
  color: #0b0d12;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow:
    0 6px 18px rgba(165, 255, 31, 0.40),
    0 0 0 1px rgba(185, 255, 77, 0.30);
}
.btn--primary:hover {
  filter: brightness(1.05);
  box-shadow:
    0 10px 28px rgba(165, 255, 31, 0.60),
    0 0 0 1px rgba(185, 255, 77, 0.55);
}

/* Secondary CTA — magenta outline */
.btn--secondary {
  background: transparent;
  color: var(--sr-magenta-2);
  border: 1px solid rgba(229, 38, 107, 0.55);
  border-radius: 999px;
  font-weight: 700;
}
.btn--secondary:hover {
  background: rgba(229, 38, 107, 0.10);
  border-color: var(--sr-magenta);
  color: #fff;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--sr-line);
  background: rgba(11, 13, 18, 0.96);
  backdrop-filter: blur(10px);
}
.nav-main--desktop a { color: var(--sr-text-soft); }
.nav-main--desktop a:hover,
.nav-main--desktop a.active { color: var(--sr-accent); }

/* Hero — neon glow centred under heading */
.hero {
  background:
    radial-gradient(900px 360px at 30% -60px, rgba(165, 255, 31, 0.32) 0%, transparent 65%),
    radial-gradient(700px 280px at 80% 10%, rgba(229, 38, 107, 0.22) 0%, transparent 60%),
    var(--sr-bg);
}
.page-hero {
  background:
    radial-gradient(1000px 380px at 50% -100px, rgba(165, 255, 31, 0.26) 0%, transparent 65%),
    radial-gradient(700px 280px at 90% 20%, rgba(42, 241, 215, 0.16) 0%, transparent 60%),
    var(--sr-bg);
}

/* Stats row */
.stats { background: var(--sr-bg); }
.stats .stat {
  background: linear-gradient(160deg, var(--sr-surface) 0%, var(--sr-surface-2) 100%);
  border: 1px solid var(--sr-line);
  border-radius: 14px;
}
.stats .stat__value { color: var(--sr-accent); }
.stats .stat__label { color: var(--sr-text-soft); }

/* Cards / sections */
.section,
.card,
.surface {
  background: var(--sr-surface);
  border: 1px solid var(--sr-line);
}

/* Games grid */
.game-card,
.slot-card {
  background: var(--sr-surface);
  border: 1px solid var(--sr-line);
  border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.game-card:hover,
.slot-card:hover {
  border-color: var(--sr-accent);
  box-shadow: 0 10px 28px rgba(165, 255, 31, 0.20);
  transform: translateY(-2px);
}

/* Winners row */
.winners-row,
.winners-list li {
  border-bottom: 1px solid var(--sr-line);
}
.winners-amount,
.winner-amount { color: var(--sr-gold); font-weight: 800; }

/* FAQ */
.faq__item,
.faq-item {
  background: var(--sr-surface);
  border: 1px solid var(--sr-line);
  border-radius: 12px;
}
.faq__q,
.faq-q { color: var(--sr-text); }
.faq__a,
.faq-a { color: var(--sr-text-soft); }

/* CTA banner */
.cta-banner {
  background:
    radial-gradient(800px 260px at 85% 50%, rgba(165, 255, 31, 0.38) 0%, transparent 65%),
    radial-gradient(600px 220px at 10% 40%, rgba(229, 38, 107, 0.22) 0%, transparent 60%),
    linear-gradient(135deg, var(--sr-surface) 0%, var(--sr-surface-2) 100%);
  border: 1px solid var(--sr-line);
  border-radius: 20px;
}

/* ---------- deal-card (bonuses page summary cards) ---------- */
.deal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 18px 0;
}
.deal-card {
  background: linear-gradient(170deg, var(--sr-surface) 0%, var(--sr-surface-2) 100%);
  border: 1px solid var(--sr-line);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.deal-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sr-accent) 0%, var(--sr-cyan) 60%, var(--sr-magenta) 100%);
  opacity: .95;
}
.deal-card h3 { margin: 4px 0 2px; color: var(--sr-text); font-size: 22px; }
.deal-card .deal-card__amount {
  color: var(--sr-gold);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
}
.deal-card p { margin: 0; color: var(--sr-text-soft); }
.deal-card .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- checklist ---------- */
.checklist {
  list-style: none;
  padding: 0;
  margin: 6px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--sr-text);
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--sr-accent);
  box-shadow: 0 0 0 3px rgba(165, 255, 31, 0.22);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 9px;
  width: 6px;
  height: 3px;
  border-left: 2px solid #0b0d12;
  border-bottom: 2px solid #0b0d12;
  transform: rotate(-45deg);
}

/* ---------- login split layout ---------- */
.login-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
  margin: 24px 0;
}
@media (max-width: 860px) {
  .login-split { grid-template-columns: 1fr; gap: 20px; }
}
.login-side {
  background: linear-gradient(160deg, var(--sr-surface) 0%, var(--sr-surface-2) 100%);
  border: 1px solid var(--sr-line);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.login-side::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sr-accent), var(--sr-magenta));
  border-radius: 16px 16px 0 0;
  opacity: .9;
}
.login-side__badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(165, 255, 31, 0.16);
  color: var(--sr-accent);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}
.login-side h3 {
  margin: 4px 0 6px;
  color: var(--sr-text);
  font-size: 26px;
  line-height: 1.2;
}
.login-side p { color: var(--sr-text-soft); margin: 0; }
.login-side .btn { align-self: flex-start; margin-top: 10px; }

/* ---------- login trust row ---------- */
.login-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 8px;
}
@media (max-width: 720px) {
  .login-trust { grid-template-columns: 1fr; }
}
.login-trust__item {
  background: var(--sr-surface);
  border: 1px solid var(--sr-line);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.login-trust__item strong {
  color: var(--sr-accent);
  font-size: 15px;
  letter-spacing: 0.02em;
}
.login-trust__item span {
  color: var(--sr-text-soft);
  font-size: 14px;
}

/* ---------- mobile showcase (phone/screenshot strip) ---------- */
.mobile-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin: 22px 0;
}
.mobile-showcase__item {
  background: linear-gradient(170deg, var(--sr-surface) 0%, var(--sr-surface-2) 100%);
  border: 1px solid var(--sr-line);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}
.mobile-showcase__item img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--sr-line);
}
.mobile-showcase__caption {
  padding: 12px 14px;
  color: var(--sr-text-soft);
  font-size: 14px;
  line-height: 1.4;
}
.mobile-showcase__caption strong {
  display: block;
  color: var(--sr-accent);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* ---------- footer responsible-gambling row ---------- */
.footer-responsible {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--sr-line);
  margin-top: 18px;
  font-size: 13px;
  color: var(--sr-text-soft);
}
.footer-responsible .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sr-surface-2);
  border: 1px solid var(--sr-line);
  color: var(--sr-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-responsible a { color: var(--sr-accent); text-decoration: none; }
.footer-responsible a:hover { text-decoration: underline; }

/* ---------- header logo sizing ---------- */
.site-header .site-logo img,
.site-header a.site-logo img,
.site-logo img {
  height: 48px;
  width: auto;
  max-width: 240px;
  display: block;
}
.site-logo-footer img {
  height: 40px;
  width: auto;
  max-width: 200px;
}
@media (max-width: 768px) {
  .site-header .site-logo img,
  .site-logo img {
    height: 38px;
    max-width: 180px;
  }
}

/* ---------- hero mobile order ---------- */
@media (max-width: 768px) {
  .hero__split { display: flex; flex-direction: column; }
  .hero__copy  { order: 1; }
  .hero__image { order: 2; }
  .hero__image img { max-width: 260px; margin-top: var(--space-6); }
}

/* selection */
::selection { background: rgba(165, 255, 31, 0.45); color: #0b0d12; }
