/* ===== SpinBetter DE – style.css (redesigned) ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg:        #0b1d14;
  --bg-deep:   #071310;
  --bg-card:   #102318;
  --bg-glass:  rgba(16,35,24,0.85);
  --border:    rgba(181,226,26,0.12);
  --border-hi: rgba(181,226,26,0.35);
  --lime:      #b5e21a;
  --lime-dim:  #93bc12;
  --lime-glow: rgba(181,226,26,0.15);
  --magenta:   #d42ea0;
  --purple:    #7c2fcb;
  --text:      #dff0d0;
  --text-dim:  #7a9e6e;
  --text-muted:#4a6a40;
  --radius:    10px;
  --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.72;
  min-height: 100vh;
}

a { color: var(--lime); text-decoration: none; transition: color .15s; }
a:hover { color: #d4f542; text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ── ANCHOR LINKS ── */
.anchor-link {
  color: var(--lime);
  text-decoration: underline;
  font-weight: 700;
  text-underline-offset: 3px;
}
.anchor-link:hover { color: #d4f542; }

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
.site-header {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(8px);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img { height: 36px; width: auto; }

.header-btns { display: flex; gap: 8px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.48rem 1.3rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all .18s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-login {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hi);
}
.btn-login:hover { border-color: var(--lime); color: var(--lime); }

.btn-reg {
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  color: #fff;
  box-shadow: 0 3px 14px rgba(212,46,160,0.35);
}
.btn-reg:hover { box-shadow: 0 5px 20px rgba(212,46,160,0.5); }

/* ── NAV ── */
.main-nav { border-top: 1px solid var(--border); }

.nav-inner {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-inner a {
  display: inline-block;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-bottom: 2px solid transparent;
  transition: all .15s;
}
.nav-inner a:hover,
.nav-inner a.active {
  color: var(--lime);
  border-bottom-color: var(--lime);
  text-decoration: none;
}

/* ── BURGER ── */
.burger-toggle { display: none; }
.burger-label { display: none; }

/* ══════════════════════════════
   LAYOUT
══════════════════════════════ */
.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

/* ══════════════════════════════
   BANNERS  – compact & styled
══════════════════════════════ */

/* Hero: full-width, capped height */
.banner-hero {
  margin: 1.8rem 0 2.4rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
  max-height: 460px;
}
.banner-hero img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center top;
}

/* Section banner: side-by-side compact cards */
.banners-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 1.6rem 0;
}
.banners-row img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  height: 300px;
  width: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .2s, box-shadow .2s;
}
.banners-row img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(181,226,26,0.12);
}

/* Inline banner: text-left image-right */
.banner-inline {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 2rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
}
.banner-inline img {
  border-radius: var(--radius);
  height: 300px;
  width: 100%;
  object-fit: cover;
}

/* ══════════════════════════════
   TYPOGRAPHY
══════════════════════════════ */
h1 {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.1rem;
}

h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 2.4rem 0 0.9rem;
  padding-left: 0.8rem;
  border-left: 3px solid var(--lime);
  line-height: 1.3;
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lime);
  margin: 1.4rem 0 0.5rem;
}

p { margin-bottom: 0.9rem; color: var(--text); }

strong { color: #fff; font-weight: 700; }

ul, ol { margin: 0.7rem 0 0.9rem 1.4rem; }
li { margin-bottom: 0.4rem; color: var(--text); }
li strong { color: #fff; }

/* ── PLAY BUTTON ── */
.play-btn {
  display: inline-block;
  margin: 1.2rem 0 0.4rem;
  background: var(--lime);
  color: var(--bg-deep);
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2.8rem;
  border-radius: 6px;
  transition: all .18s;
  box-shadow: 0 3px 16px rgba(181,226,26,0.3);
}
.play-btn:hover {
  background: #c9f730;
  box-shadow: 0 5px 24px rgba(181,226,26,0.45);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--bg-deep);
}

/* ── CARD ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem;
  margin: 1.4rem 0;
}
.card h3 { margin-top: 0; }

/* ── TABLE ── */
.table-wrap { overflow-x: auto; margin: 1.2rem 0 1.6rem; border-radius: var(--radius); border: 1px solid var(--border); }

table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }

th {
  background: rgba(181,226,26,0.1);
  color: var(--lime);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-hi);
}
td {
  padding: 0.65rem 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--lime-glow); }

/* ── STEPS ── */
.steps { list-style: none; margin: 0; padding: 0; }
.steps li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.step-n {
  background: var(--lime);
  color: var(--bg-deep);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 0.22rem;
}

/* ── FAQ ── */
.faq { margin: 0.6rem 0; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 6px; overflow: hidden; }
.faq-item input { display: none; }
.faq-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.94rem;
  color: #fff;
  background: var(--bg-card);
  transition: background .15s;
  user-select: none;
  gap: 1rem;
}
.faq-label:hover { background: rgba(181,226,26,0.06); }
.faq-label::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--lime);
  flex-shrink: 0;
  font-weight: 400;
  line-height: 1;
}
.faq-item input:checked ~ .faq-label { background: rgba(181,226,26,0.07); }
.faq-item input:checked ~ .faq-label::after { content: '−'; }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  background: var(--bg);
  padding: 0 1.2rem;
}
.faq-item input:checked ~ .faq-body {
  max-height: 500px;
  padding: 1rem 1.2rem;
}
.faq-body p { margin-bottom: 0; color: var(--text-dim); font-size: 0.93rem; }

/* ── INFO GRID (features/icons) ── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.4rem 0;
}
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.info-card .ic { font-size: 1.6rem; margin-bottom: 0.5rem; }
.info-card h4 { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 0.3rem; }
.info-card p { font-size: 0.84rem; color: var(--text-dim); margin: 0; }

/* ── BADGE ── */
.badge {
  display: inline-block;
  background: rgba(181,226,26,0.12);
  color: var(--lime);
  border: 1px solid var(--border-hi);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 6px;
}

/* ── WARNING BOX ── */
.warn-box {
  background: rgba(212,46,160,0.08);
  border: 1px solid rgba(212,46,160,0.25);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin: 1.4rem 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.warn-box strong { color: #e88fc4; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 1.4rem 2rem;
  font-size: 0.81rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.site-footer .fi { max-width: 1200px; margin: 0 auto; }

/* ══════════════════════════════
   MOBILE
══════════════════════════════ */
@media (max-width: 768px) {
  .header-top { padding: 0 1rem; height: 58px; }
  .site-main { padding: 0 1rem 3rem; }

  .burger-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
  }
  .burger-label span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .2s;
  }
  .nav-inner { display: none; flex-direction: column; padding: 0 1rem 0.8rem; }
  .burger-toggle:checked ~ .main-nav .nav-inner { display: flex; }
  .nav-inner a { padding: 0.6rem 0; border-bottom: 1px solid var(--border); border-left: none; }

  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.15rem; }

  .banner-hero { max-height: 240px; margin: 1rem 0 1.6rem; }
  .banner-hero img { height: 240px; }

  .banners-row { grid-template-columns: 1fr; }
  .banners-row img { height: 220px; }

  .banner-inline { grid-template-columns: 1fr; padding: 1.2rem; }
  .banner-inline img { height: 220px; width: 100%; }

  .info-grid { grid-template-columns: 1fr 1fr; }
  .btn-login { display: none; }
}

@media (max-width: 460px) {
  .info-grid { grid-template-columns: 1fr; }
}
