/* ═══════════════════════════════════════════════════════════
   SpinBetter DE — Premium Casino Style
   Palette: deep-forest bg · gold accent · neon-green CTA · violet highlight
   ═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap');

/* ── TOKENS ── */
:root {
  --bg:        #060e0b;
  --bg2:       #0a1610;
  --bg3:       #0e1e15;
  --card:      #0d1c14;
  --card2:     #111f18;
  --border:    #1c3326;
  --border2:   #254336;
  --gold:      #f0b429;
  --gold2:     #fcd34d;
  --green:     #22c55e;
  --green2:    #16a34a;
  --lime:      #bef264;
  --violet:    #a855f7;
  --violet2:   #7c3aed;
  --text:      #e2f0e8;
  --muted:     #7dba9a;
  --muted2:    #4d8c68;
  --white:     #f0fdf4;
  color-scheme: dark;
}

/* ── RESET ── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block }
a { color: var(--green); text-decoration: none; transition: color .2s }
a:hover { color: var(--lime) }

/* ── BACKGROUND TEXTURE ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(34,197,94,.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(168,85,247,.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.site-header {
  background: rgba(6,14,11,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 32px rgba(0,0,0,.4);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(34,197,94,.3));
  transition: filter .3s;
}
.logo-link:hover { filter: drop-shadow(0 0 20px rgba(34,197,94,.5)) }
.logo-link img { height: 40px; width: auto }

.header-btns { display: flex; gap: 10px; align-items: center; flex-shrink: 0 }

.btn-login {
  border: 1.5px solid var(--border2);
  color: var(--muted);
  background: transparent;
  padding: 8px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
  display: inline-block;
  text-decoration: none;
  letter-spacing: .02em;
}
.btn-login:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(34,197,94,.07);
}

.btn-reg {
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet2) 100%);
  color: #fff;
  padding: 8px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  border: none;
  transition: all .25s;
  white-space: nowrap;
  display: inline-block;
  text-decoration: none;
  letter-spacing: .02em;
  box-shadow: 0 2px 16px rgba(124,58,237,.35);
}
.btn-reg:hover {
  background: linear-gradient(135deg, #9333ea 0%, #6d28d9 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(124,58,237,.5);
}

/* ── NAV ── */
.header-nav {
  background: rgba(10,22,16,.7);
  border-top: 1px solid var(--border);
}

.nav-list {
  display: flex;
  list-style: none;
  padding: 0 32px;
  max-width: 1280px;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none }

.nav-list li a {
  display: block;
  padding: 12px 18px;
  color: var(--muted2);
  font-weight: 600;
  font-size: .88rem;
  white-space: nowrap;
  transition: all .2s;
  border-bottom: 2px solid transparent;
  position: relative;
  top: 1px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.nav-list li a:hover,
.nav-list li a.active {
  color: var(--gold2);
  border-bottom-color: var(--gold);
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  padding: 72px 32px 64px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 20px;
  text-wrap: balance;
  letter-spacing: -.02em;
}

.hero-text h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold) 0%, var(--lime) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  color: var(--muted);
  margin-bottom: 36px;
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 520px;
}

.hero-img a {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--border),
    0 20px 60px rgba(0,0,0,.6),
    0 0 80px rgba(34,197,94,.06);
  transition: transform .4s ease, box-shadow .4s ease;
}
.hero-img a:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px var(--border2),
    0 32px 80px rgba(0,0,0,.7),
    0 0 100px rgba(34,197,94,.12);
}
.hero-img img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3/2;
}

/* ══════════════════════════════════════
   CTA BUTTON
══════════════════════════════════════ */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green2) 100%);
  color: #050e08;
  padding: 14px 36px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1rem;
  transition: all .25s;
  border: none;
  cursor: pointer;
  text-align: center;
  letter-spacing: .02em;
  box-shadow: 0 4px 24px rgba(34,197,94,.35);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
  pointer-events: none;
}
.btn-cta:hover {
  background: linear-gradient(135deg, var(--lime) 0%, var(--green) 100%);
  color: #050e08;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(34,197,94,.5);
}

/* ══════════════════════════════════════
   SECTION BASE
══════════════════════════════════════ */
.section {
  padding: 64px 32px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: -.01em;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  min-width: 4px;
  height: 1.2em;
  background: linear-gradient(180deg, var(--gold) 0%, var(--green) 100%);
  border-radius: 2px;
}

.section-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--gold2);
  margin: 32px 0 14px;
}

/* ══════════════════════════════════════
   CARDS GRID
══════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  opacity: 0;
  transition: opacity .3s;
}
.card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 20px rgba(34,197,94,.06);
  background: var(--card2);
}
.card:hover::before { opacity: 1 }

.card h3 {
  color: var(--gold2);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: .01em;
}
.card p { color: var(--muted); font-size: .93rem; line-height: 1.65 }

/* ══════════════════════════════════════
   BANNER STRIP
══════════════════════════════════════ */
.banner-strip {
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg3) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 32px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.banner-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(34,197,94,.04) 0%, transparent 70%);
  pointer-events: none;
}

.banner-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.banner-strip-inner img {
  border-radius: 14px;
  width: 100%;
  box-shadow: 0 12px 48px rgba(0,0,0,.5), 0 0 1px var(--border);
}

.banner-strip-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -.01em;
}
.banner-strip-text p { color: var(--muted); margin-bottom: 28px; font-size: 1rem }

/* ══════════════════════════════════════
   DATA TABLE
══════════════════════════════════════ */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 1px solid var(--border) }

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
.data-table thead {
  background: linear-gradient(90deg, rgba(34,197,94,.08) 0%, rgba(240,180,41,.06) 100%);
}
.data-table th {
  color: var(--gold2);
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 13px 20px;
  color: var(--text);
  font-size: .93rem;
  border-bottom: 1px solid rgba(28,51,38,.5);
  vertical-align: top;
  line-height: 1.5;
}
.data-table td strong { color: var(--muted); font-weight: 600 }
.data-table tr:last-child td { border-bottom: none }
.data-table tr:hover td { background: rgba(34,197,94,.04) }

/* ══════════════════════════════════════
   FAQ ACCORDION
══════════════════════════════════════ */
.faq-list { margin: 28px 0; display: flex; flex-direction: column; gap: 10px }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  transition: border-color .25s;
}
.faq-item:hover { border-color: var(--border2) }

.faq-toggle { display: none }

.faq-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
  font-size: .97rem;
  background: transparent;
  transition: all .2s;
  user-select: none;
  gap: 16px;
}
.faq-label:hover { color: var(--gold2) }

.faq-label::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.3);
  position: relative;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none'%3E%3Cpath d='M5 2v6M2 5h6' stroke='%2322c55e' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: all .3s;
}

.faq-toggle:checked ~ .faq-label { color: var(--gold2) }
.faq-toggle:checked ~ .faq-label::after {
  background-color: rgba(240,180,41,.1);
  border-color: rgba(240,180,41,.4);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none'%3E%3Cpath d='M2 5h6' stroke='%23f0b429' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .2s;
  border-top: 0px solid var(--border);
}
.faq-toggle:checked ~ .faq-body {
  max-height: 800px;
  padding: 0 24px 20px;
  border-top: 1px solid var(--border);
}
.faq-body p { color: var(--muted); padding-top: 14px; font-size: .95rem; line-height: 1.7 }
.faq-body a { color: var(--green); font-weight: 600 }

/* ══════════════════════════════════════
   STEPS LIST
══════════════════════════════════════ */
.steps-list { list-style: none; counter-reset: step; margin: 16px 0; display: flex; flex-direction: column; gap: 14px }

.steps-list li {
  counter-increment: step;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
}

.steps-list li::before {
  content: counter(step);
  background: linear-gradient(135deg, var(--green) 0%, var(--green2) 100%);
  color: #050e08;
  font-weight: 800;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  box-shadow: 0 2px 8px rgba(34,197,94,.3);
}

/* ══════════════════════════════════════
   BULLET LIST
══════════════════════════════════════ */
.bullet-list { list-style: none; margin: 14px 0 20px; display: flex; flex-direction: column; gap: 8px }

.bullet-list li {
  padding: 5px 0 5px 26px;
  position: relative;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
}
.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(34,197,94,.5);
}

/* ══════════════════════════════════════
   ANCHOR LINKS
══════════════════════════════════════ */
.anchor-link {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: rgba(34,197,94,.4);
  text-underline-offset: 3px;
  font-weight: 700;
  transition: all .2s;
}
.anchor-link:hover {
  color: var(--lime);
  text-decoration-color: var(--lime);
}

/* ══════════════════════════════════════
   BADGES
══════════════════════════════════════ */
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 }

.badge {
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.2);
  color: var(--green);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
  transition: all .2s;
}
.badge:hover {
  background: rgba(34,197,94,.15);
  border-color: rgba(34,197,94,.4);
}

/* ══════════════════════════════════════
   TWO-COL LAYOUT
══════════════════════════════════════ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin: 28px 0;
}
.two-col-img a { display: block }
.two-col-img img {
  border-radius: 14px;
  width: 100%;
  box-shadow: 0 12px 40px rgba(0,0,0,.5), 0 0 1px var(--border);
  transition: transform .35s, box-shadow .35s;
}
.two-col-img img:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(0,0,0,.6), 0 0 24px rgba(34,197,94,.08);
}

/* ══════════════════════════════════════
   ALTERNATING BG SECTIONS
══════════════════════════════════════ */
.bg-alt {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px 32px;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-copy {
  color: var(--muted2);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.footer-cookie {
  color: #3d6b52;
  font-size: .8rem;
  line-height: 1.65;
  max-width: 860px;
}

/* ══════════════════════════════════════
   SECTION DIVIDER BG HELPERS
   (used inline in HTML via style="background:var(--bg2)...")
══════════════════════════════════════ */
.section-dark {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ══════════════════════════════════════
   RESPONSIVE — 768px
══════════════════════════════════════ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px }
  .hero-img { order: -1 }
  .hero-text h1 { font-size: clamp(1.7rem, 5vw, 2.4rem) }
  .banner-strip-inner { grid-template-columns: 1fr; gap: 32px }
  .two-col { grid-template-columns: 1fr; gap: 28px }
  .section { padding: 48px 20px }
  .banner-strip { padding: 40px 20px }
  .header-top { padding: 12px 20px }
  .nav-list { padding: 0 20px }
}

@media (max-width: 600px) {
  .header-top { flex-wrap: wrap; gap: 10px }
  .header-btns .btn-login,
  .header-btns .btn-reg { font-size: .8rem; padding: 7px 14px }
  .nav-list li a { padding: 10px 12px; font-size: .8rem }
  .section-title { font-size: 1.3rem }
  .btn-cta { width: 100%; justify-content: center }
  .data-table th,
  .data-table td { padding: 10px 14px }
  .faq-label { font-size: .9rem; padding: 14px 18px }
}
