/* =====================================================
   SpinBetter DE — style.css
   Clean Dark Professional Design
   ===================================================== */

:root {
  --bg:     #0a0a0a;
  --bg2:    #111111;
  --bg3:    #161616;
  --card:   #131313;
  --border: #2a2a2a;
  --green:  #22c55e;
  --lime:   #d4f500;
  --purple: #7c3aed;
  --text:   #e0e0e0;
  --muted:  #888888;
  --white:  #ffffff;
  --font:   'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--lime); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* =====================================================
   ANCHOR LINK
   ===================================================== */
.anchor-link {
  color: var(--green);
  text-decoration: underline;
  font-weight: 700;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.anchor-link:hover { color: var(--lime); }

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,10,.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

/* Row 1 */
.header-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img { height: 34px; width: auto; object-fit: contain; max-width: 160px; }
.footer-logo img { height: 30px; width: auto; object-fit: contain; max-width: 140px; }

.header-btns { display: flex; gap: 10px; align-items: center; }
.btn-login {
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  padding: 9px 22px;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.btn-login:hover { border-color: var(--white); color: var(--white); }
.btn-register {
  background: var(--purple);
  border: none;
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .2s, box-shadow .2s;
}
.btn-register:hover { opacity: .88; color: #fff; box-shadow: 0 4px 18px rgba(124,58,237,.4); }

/* Row 2 — nav */
.header-row2 {
  border-top: 1px solid var(--border);
  padding: 0 40px;
  display: flex;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.nav-links {
  display: flex;
  gap: 0;
}
.nav-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 13px 18px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

/* ---- Burger menu (CSS only) ---- */
.burger-check { display: none; }
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.burger-btn span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 8px 0;
}
.mobile-nav a {
  display: block;
  padding: 12px 24px;
  color: rgba(255,255,255,.6);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .6px;
  text-transform: uppercase;
  border-left: 3px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--lime);
  border-left-color: var(--lime);
  background: var(--bg3);
}
.mobile-nav .mobile-btns {
  display: flex; gap: 10px;
  padding: 12px 24px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger-btn { display: flex; }
  .header-row2 { padding: 6px 16px; }
  .header-row1 { padding: 12px 16px; }
  .header-btns { display: none; }
  .burger-check:checked ~ .mobile-nav { display: flex; }
  .burger-check:checked + label .burger-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .burger-check:checked + label .burger-btn span:nth-child(2) { opacity: 0; }
  .burger-check:checked + label .burger-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  background: var(--bg);
  padding: 60px 0 56px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 52% 48%;
  gap: 48px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--lime);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -.5px;
}
.hero h1 em {
  font-style: normal;
  color: var(--lime);
}

.hero-desc {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.78;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Primary CTA */
.btn-cta {
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: opacity .15s, box-shadow .2s;
}
.btn-cta:hover {
  opacity: .9;
  box-shadow: 0 6px 24px rgba(34,197,94,.3);
  color: #fff;
}

.btn-cta-outline {
  background: transparent;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.2);
  font-weight: 600;
  font-size: .9rem;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: border-color .2s, color .2s;
  display: inline-block;
}
.btn-cta-outline:hover { border-color: rgba(255,255,255,.5); color: var(--white); }

/* Hero banner — contained rounded box */
.hero-banner {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg3);
}
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 768px) {
  .hero { padding: 36px 0 40px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-text { order: 2; }
  .hero-banner { order: 1; aspect-ratio: 16/9; border-radius: 10px; }
}

/* =====================================================
   FEATURE CARDS (3 in a row after hero)
   ===================================================== */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feature-card {
  background: var(--bg2);
  padding: 32px 28px;
  transition: background .2s;
}
.feature-card:hover { background: var(--bg3); }

.feature-card-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
  background: var(--bg3);
  flex-shrink: 0;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .feature-cards {
    grid-template-columns: 1fr;
    background: var(--bg);
    gap: 0;
  }
  .feature-card {
    border-bottom: 1px solid var(--border);
  }
}

/* =====================================================
   MAIN CONTENT
   ===================================================== */
.content-wrapper {
  max-width: 1160px;
  margin: 0 auto;
  padding: 64px clamp(20px, 4vw, 56px);
}

.content-wrapper h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  margin: 56px 0 20px;
  padding-left: 16px;
  border-left: 4px solid var(--lime);
  line-height: 1.25;
}
.content-wrapper h2:first-child { margin-top: 0; }

/* Content with image layout */
.content-block {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
.content-block.reverse { grid-template-columns: 340px 1fr; }
.content-block.reverse .content-block-text { order: 2; }
.content-block.reverse .content-block-img { order: 1; }
.content-block-img {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg3);
}
.content-block-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  aspect-ratio: 4/3;
}

@media (max-width: 900px) {
  .content-block,
  .content-block.reverse {
    grid-template-columns: 1fr;
  }
  .content-block.reverse .content-block-text { order: 1; }
  .content-block.reverse .content-block-img { order: 2; }
}

.content-wrapper h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin: 32px 0 12px;
}
.content-wrapper p {
  margin-bottom: 16px;
  color: var(--text);
  line-height: 1.8;
}
.content-wrapper ul {
  list-style: none;
  margin: 0 0 20px;
}
.content-wrapper ul li {
  padding: 7px 0 7px 22px;
  position: relative;
  color: var(--text);
  line-height: 1.7;
  font-size: .95rem;
}
.content-wrapper ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 700;
}
.content-wrapper ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.content-wrapper ol li {
  color: var(--text);
  margin-bottom: 10px;
  padding-left: 6px;
  line-height: 1.75;
  font-size: .95rem;
}
.content-wrapper ol li::marker { color: var(--lime); font-weight: 700; }

/* =====================================================
   TABLES
   ===================================================== */
.table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin: 24px 0;
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  background: var(--bg2);
  min-width: 500px;
}
.data-table thead th {
  background: var(--bg3);
  color: var(--white);
  font-weight: 700;
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  font-size: .8rem;
  letter-spacing: .7px;
  text-transform: uppercase;
}
.data-table tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
  line-height: 1.6;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: rgba(255,255,255,.03); }

/* =====================================================
   FAQ — CSS-only checkbox accordion
   ===================================================== */
.faq-section { margin-top: 24px; }
.faq-item { margin-bottom: 4px; }
.faq-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.faq-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 22px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  color: var(--white);
  font-size: .95rem;
  transition: background .2s, border-color .2s;
  gap: 14px;
  user-select: none;
}
.faq-label:hover { background: #1c1c1c; border-color: rgba(212,245,0,.3); }
.faq-label .faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--lime);
  font-weight: 700;
  transition: transform .3s, background .2s;
}
.faq-item input:checked + .faq-label {
  background: #1c1c1c;
  border-color: rgba(212,245,0,.4);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  color: var(--lime);
}
.faq-item input:checked + .faq-label .faq-icon {
  transform: rotate(45deg);
  background: rgba(212,245,0,.1);
  border-color: var(--lime);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s ease;
  background: var(--bg3);
  border: 1px solid rgba(212,245,0,.25);
  border-top: none;
  border-radius: 0 0 8px 8px;
}
.faq-item input:checked ~ .faq-answer { max-height: 800px; }
.faq-answer-inner {
  padding: 18px 22px;
  color: var(--muted);
  line-height: 1.8;
  font-size: .92rem;
}

/* =====================================================
   MISC BLOCKS
   ===================================================== */
.highlight-box {
  background: var(--bg3);
  border-left: 3px solid var(--lime);
  border-radius: 0 8px 8px 0;
  padding: 16px 22px;
  margin: 20px 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.75;
}

.gambling-warning {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 22px;
  font-size: .82rem;
  color: var(--muted);
  margin: 36px 0;
  text-align: center;
}
.gambling-warning strong { color: var(--white); font-weight: 700; }

.steps-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.steps-list li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 6px;
  color: var(--text);
  line-height: 1.7;
  font-size: .95rem;
}
.steps-list li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--lime);
  color: #0a0a0a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .8rem;
  margin-top: 2px;
}
.steps-list li strong { color: var(--white); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--lime);
}

.cta-banner {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 44px;
  text-align: center;
  margin: 52px 0;
}
.cta-banner h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
  padding-left: 0;
  border-left: none;
}
.cta-banner p { color: var(--muted); margin-bottom: 28px; }
.cta-banner .btn-cta { font-size: 1rem; padding: 15px 44px; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 44px 0 28px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--lime);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-desc {
  font-size: .82rem;
  color: var(--muted);
  max-width: 320px;
  margin-top: 12px;
  line-height: 1.65;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: .82rem; color: var(--muted); }
.footer-warning { font-size: .78rem; color: var(--muted); opacity: .7; }

@media (max-width: 768px) {
  .site-footer { padding: 32px 0 20px; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =====================================================
   REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* =====================================================
   FOCUS STATES (accessibility)
   ===================================================== */
a:focus-visible,
button:focus-visible,
.btn-login:focus-visible,
.btn-register:focus-visible,
.btn-cta:focus-visible,
.faq-label:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
