/* ========================================
   SpinBetter — Premium Dark Gaming Design
   Palette: Dark Emerald × Neon Lime × Abstract 3D
   ======================================== */

:root {
  --bg:          #050D0A;
  --bg2:         #081711;
  --card:        #0C1F17;
  --elevated:    #10291F;
  --border:      #1A382A;
  --lime:        #B8FF36;
  --emerald:     #20D878;
  --purple:      #792EFF;
  --text:        #F4FFF8;
  --text2:       #9AB8A6;
  --radius:      12px;
  --radius-sm:   8px;
  --max-w:       1280px;
  --transition:  0.25s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--lime); }
ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.4rem; }

/* ── Typography ── */
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--text); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.25; color: var(--text); margin-top: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; line-height: 1.3; color: var(--text); margin-top: 1.8rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; color: var(--text2); }
strong { color: var(--text); }

/* ── Anchor links (internal linking) ── */
.anchor-link {
  color: var(--emerald);
  text-decoration: underline;
  font-weight: 700;
}
.anchor-link:hover { color: var(--lime); }

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section--alt { background: var(--bg2); }
.section--dark { background: var(--card); }

/* ── Eyebrow label ── */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(184,255,54,0.08);
  border: 1px solid rgba(184,255,54,0.2);
  border-radius: 50px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--lime);
  color: #050D0A;
}
.btn-primary:hover {
  background: #ceff5e;
  color: #050D0A;
  box-shadow: 0 0 20px rgba(184,255,54,0.35);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  box-shadow: 0 0 15px rgba(32,216,120,0.15);
}
.btn-emerald {
  background: var(--emerald);
  color: #050D0A;
}
.btn-emerald:hover {
  background: #3fffa0;
  color: #050D0A;
  box-shadow: 0 0 18px rgba(32,216,120,0.4);
  transform: translateY(-1px);
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5,13,10,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 68px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.header__logo img {
  height: 36px;
  width: auto;
}

/* Desktop nav */
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  color: var(--text2);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}
.nav a:hover, .nav a.active {
  color: var(--emerald);
  background: rgba(32,216,120,0.08);
}

.header__actions { display: flex; align-items: center; gap: 0.75rem; }
.header__actions .btn { padding: 0.5rem 1.2rem; font-size: 0.85rem; }

/* CSS-only burger menu */
.burger-check { display: none; }
.burger-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.burger-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  gap: 0.25rem;
}
.mobile-nav a {
  color: var(--text2);
  font-weight: 500;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}
.mobile-nav a:hover { color: var(--emerald); background: rgba(32,216,120,0.08); }
.mobile-nav .btn { margin-top: 0.5rem; text-align: center; }

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 65% 50%, rgba(32,216,120,0.07) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 15% 80%, rgba(121,46,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
}
.hero__content { max-width: 580px; }
.hero__h1 { margin-bottom: 1.25rem; }
.hero__h1 span { color: var(--lime); }
.hero__lead {
  font-size: 1.05rem;
  color: var(--text2);
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero__stats {
  display: flex;
  gap: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
}
.hero__stat-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
}
.hero__stat-lbl {
  font-size: 0.78rem;
  color: var(--text2);
  margin-top: 0.25rem;
}
.hero__visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 0.9;
  background: var(--card);
  border: 1px solid var(--border);
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 80px rgba(32,216,120,0.08), 0 0 0 1px rgba(32,216,120,0.12);
  pointer-events: none;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: 4rem 0 3rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(32,216,120,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__inner { position: relative; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero__lead { font-size: 1.05rem; max-width: 640px; }
.page-hero__banner {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  max-height: 340px;
}
.page-hero__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ── Features grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  border-color: var(--emerald);
  box-shadow: 0 0 24px rgba(32,216,120,0.1);
}
.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.feature-card__text { font-size: 0.9rem; color: var(--text2); margin: 0; }

/* ── Steps ── */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.step {
  display: flex;
  gap: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  align-items: flex-start;
}
.step__num {
  counter-increment: step;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(184,255,54,0.1);
  border: 1.5px solid var(--lime);
  color: var(--lime);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.step__num::before { content: counter(step); }
.step__title { font-weight: 700; color: var(--text); margin-bottom: 0.35rem; }
.step__text { font-size: 0.9rem; color: var(--text2); margin: 0; }

/* ── Table ── */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; min-width: 500px; }
thead tr { background: var(--elevated); }
th {
  padding: 0.9rem 1.2rem;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 0.85rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text2);
  border-bottom: 1px solid rgba(26,56,42,0.5);
}
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: rgba(16,41,31,0.3); }

/* ── Bonus card ── */
.bonus-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, var(--elevated) 0%, rgba(32,216,120,0.08) 100%);
  border: 1px solid rgba(32,216,120,0.25);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin: 2.5rem 0;
}
.bonus-banner__title { font-size: 1.5rem; font-weight: 800; color: var(--text); margin-bottom: 0.5rem; }
.bonus-banner__sub { color: var(--text2); margin: 0; }
.bonus-banner__val { font-size: 3rem; font-weight: 900; color: var(--lime); line-height: 1; text-align: center; white-space: nowrap; }
.bonus-banner__val-lbl { font-size: 0.8rem; color: var(--text2); text-align: center; margin-top: 0.25rem; }

/* ── Related cards ── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.related-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  transition: all var(--transition);
}
.related-card:hover {
  border-color: var(--emerald);
  box-shadow: 0 0 20px rgba(32,216,120,0.1);
  transform: translateY(-2px);
}
.related-card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lime);
  margin-bottom: 0.6rem;
}
.related-card__title { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.related-card__text { font-size: 0.82rem; color: var(--text2); margin: 0; }

/* ── Slot cards ── */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.slot-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.slot-card:hover { border-color: var(--emerald); box-shadow: 0 0 18px rgba(32,216,120,0.12); }
.slot-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.slot-card__name {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

/* ── Provider logos ── */
.providers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.provider-chip {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text2);
}

/* ── Payment methods ── */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.payment-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.payment-card__icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.payment-card__name { font-weight: 700; color: var(--text); font-size: 0.9rem; }
.payment-card__detail { font-size: 0.8rem; color: var(--text2); margin-top: 0.25rem; }

/* ── Crypto chips ── */
.crypto-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.crypto-chip {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lime);
}

/* ── Security items ── */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.security-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.security-card__icon { font-size: 1.5rem; flex-shrink: 0; }
.security-card__title { font-weight: 700; color: var(--text); margin-bottom: 0.3rem; font-size: 0.95rem; }
.security-card__text { font-size: 0.85rem; color: var(--text2); margin: 0; }

/* ── FAQ (CSS-only accordion) ── */
.faq { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-check { display: none; }
.faq-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  font-size: 0.95rem;
  gap: 1rem;
  transition: color var(--transition);
}
.faq-label:hover { color: var(--emerald); }
.faq-label::after {
  content: '+';
  font-size: 1.4rem;
  line-height: 1;
  color: var(--lime);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-check:checked + .faq-label { color: var(--emerald); }
.faq-check:checked + .faq-label::after { transform: rotate(45deg); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-check:checked ~ .faq-body { max-height: 600px; }
.faq-body__inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text2);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* ── Banner images in content ── */
.content-banner {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 2rem 0;
  border: 1px solid var(--border);
}
.content-banner img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: center top;
}

/* ── Info box ── */
.info-box {
  background: rgba(32,216,120,0.07);
  border: 1px solid rgba(32,216,120,0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--text2);
}
.info-box strong { color: var(--emerald); }

.warning-box {
  background: rgba(121,46,255,0.07);
  border: 1px solid rgba(121,46,255,0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--text2);
}
.warning-box strong { color: var(--purple); }

/* ── Two-col content layout ── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.content-grid--wide-left { grid-template-columns: 3fr 2fr; }

/* ── Comparison table ── */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
.comparison-col { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.comparison-col--green { border-color: rgba(32,216,120,0.3); }
.comparison-col h4 { font-size: 0.9rem; font-weight: 700; color: var(--lime); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.comparison-col ul { list-style: none; padding: 0; }
.comparison-col li { font-size: 0.88rem; color: var(--text2); padding: 0.35rem 0; border-bottom: 1px solid rgba(26,56,42,0.4); display: flex; gap: 0.5rem; }
.comparison-col li:last-child { border-bottom: none; }
.comparison-col li::before { content: '✓'; color: var(--emerald); flex-shrink: 0; }

/* ── Footer ── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.footer__brand-logo { height: 36px; flex-shrink: 0; }
.footer__brand-text { font-size: 0.85rem; color: var(--text2); margin: 0; }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__legal { font-size: 0.78rem; color: var(--text2); max-width: 700px; line-height: 1.6; }
.footer__copy { font-size: 0.78rem; color: var(--text2); white-space: nowrap; }
.footer__disclaimer {
  background: rgba(26,56,42,0.3);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.78rem;
  color: var(--text2);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}

/* ── Divider ── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
  margin: 0;
}

/* ── App feature ── */
.app-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.app-feature__img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.app-feature__img img { width: 100%; max-height: 400px; object-fit: cover; }
.app-steps { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.app-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.app-step__num {
  background: rgba(184,255,54,0.1);
  border: 1px solid var(--lime);
  color: var(--lime);
  font-weight: 800;
  font-size: 0.85rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── No-deposit page specific ── */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__grid { gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --max-w: 100%; }
  .container { padding: 0 1.2rem; }
  .section { padding: 3.5rem 0; }

  /* Burger menu */
  .nav, .header__actions { display: none; }
  .burger-label { display: flex; }
  .burger-check:checked ~ .mobile-nav { display: flex; }
  .burger-check:checked + .header__inner .burger-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger-check:checked + .header__inner .burger-label span:nth-child(2) { opacity: 0; }
  .burger-check:checked + .header__inner .burger-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Hero */
  .hero { padding: 3rem 0 2.5rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__visual { order: -1; aspect-ratio: 16/9; max-height: 260px; }
  .hero__content { max-width: 100%; }
  .hero__stats { gap: 1.25rem; }
  .hero__stat-val { font-size: 1.3rem; }

  /* Content */
  .content-grid, .app-feature { grid-template-columns: 1fr; }
  .bonus-banner { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
  .comparison, .pros-cons { grid-template-columns: 1fr; }
  .content-grid--wide-left { grid-template-columns: 1fr; }

  /* Footer */
  .footer__bottom { flex-direction: column; }

  h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  h2 { font-size: clamp(1.3rem, 5vw, 1.75rem); }
}

@media (max-width: 480px) {
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; text-align: center; }
  .features-grid { grid-template-columns: 1fr; }
  .slots-grid { grid-template-columns: repeat(2, 1fr); }
  .payment-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1440px) {
  h1 { font-size: 3.6rem; }
}
