/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --base:    #241B4B;
  --deep:    #150F2E;
  --accent:  #F5D547;
  --accent2: #7B6CF6;
  --surface: #F5F4FA;
  --ink:     #181233;
  --muted:   #615A83;

  --container: 1120px;
  --radius:    0px;
  --gap:       1.5rem;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Verdana, Geneva, 'DejaVu Sans', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  background-color: var(--surface);
  color: var(--ink);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.2;
  color: var(--base);
}

h1 { font-size: 2.0rem; margin-bottom: 1rem; }
h2 { font-size: 1.55rem; margin-bottom: 0.85rem; }
h3 { font-size: 1.2rem;  margin-bottom: 0.6rem; }

p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent2);
  text-decoration: underline;
}
a:hover  { color: var(--accent); }
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius);
}

ul { list-style: none; }

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

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  line-height: 1.2;
}

/* Solid accent button */
.btn-accent {
  background-color: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
.btn-accent:hover {
  background-color: #e8c72e;
  border-color: #e8c72e;
  color: var(--ink);
}
.btn-accent:focus-visible {
  outline: 3px solid var(--accent2);
  outline-offset: 3px;
}

/* Large variant */
.btn-lg {
  font-size: 1rem;
  padding: 0.85rem 2rem;
  letter-spacing: 0.15em;
}

/* Outlined header button */
.btn-outline {
  background-color: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background-color: var(--accent);
  color: var(--ink);
}
.btn-outline:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--base);
  border-bottom: 3px solid var(--accent);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  flex-wrap: wrap;
}

/* WORDMARK */
.wordmark {
  display: flex;
  align-items: baseline;
  gap: 0;
  flex-shrink: 0;
  text-decoration: none;
  user-select: none;
}

.wordmark-joy {
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.wordmark-jackpot {
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.wordmark-sub {
  font-family: Verdana, Geneva, 'DejaVu Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-left: 0.45rem;
  align-self: center;
}

/* MAIN NAV */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.main-nav a {
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-decoration: none;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius);
  transition: color 0.2s, background-color 0.2s;
}
.main-nav a:hover {
  color: var(--accent);
  background-color: rgba(245, 213, 71, 0.1);
}
.main-nav a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================================
   SECTION DEFAULTS
   ============================================================ */
section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Dark band sections */
.section--dark {
  background-color: var(--deep);
  color: var(--surface);
}

.section--dark h2,
.section--dark h3 {
  color: var(--accent);
}

.section--dark p,
.section--dark td,
.section--dark li {
  color: var(--surface);
}

/* ============================================================
   1. BONUS BANNER
   ============================================================ */
.bonus-banner {
  background-color: var(--base);
  border-top: 4px solid var(--accent);
  border-bottom: 4px solid var(--accent);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.banner-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Banner left column */
.banner-left {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.banner-eyebrow {
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent2);
  margin-bottom: 0;
}

.banner-headline {
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 0;
}

.accent-text {
  color: var(--accent);
}

.banner-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* Banner right column — boxed bullet list */
.banner-right {
  border: 2px solid var(--accent2);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background-color: rgba(123, 108, 246, 0.08);
}

.offer-terms {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.offer-terms li {
  font-size: 0.88rem;
  color: #e8e4ff;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.4;
}

.offer-terms strong {
  color: var(--accent);
}

/* ============================================================
   2. INTRO
   ============================================================ */
.section-intro {
  background-color: var(--surface);
}

.intro-lead {
  font-size: 1.05rem;
  color: var(--ink);
  border-left: 4px solid var(--accent);
  padding-left: 1.1rem;
  margin-bottom: 1.1rem;
}

/* ============================================================
   3. FIRST IMPRESSIONS
   ============================================================ */
.section-impressions {
  background-color: #ffffff;
}

.section-impressions h3 {
  margin-top: 1.5rem;
  color: var(--accent2);
}

/* ============================================================
   4. GAMES (dark band)
   ============================================================ */
.section-games h3 {
  margin-top: 1.75rem;
  color: var(--accent2);
}

/* ============================================================
   5. BONUSES
   ============================================================ */
.section-bonuses {
  background-color: var(--surface);
}

.section-bonuses h3 {
  margin-top: 1.75rem;
  color: var(--accent2);
}

/* ============================================================
   6 & PAYMENTS (dark band) — also 8. RESPONSIBLE PLAY
   ============================================================ */
.section-payments h3 {
  margin-top: 1.75rem;
  color: var(--accent2);
}

/* ============================================================
   TABLE
   ============================================================ */
.table-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--muted);
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.88rem;
  background-color: transparent;
}

.data-table thead tr {
  border-bottom: 2px solid var(--accent);
}

.data-table th {
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  padding: 0.75rem 1rem;
  text-align: left;
  background-color: rgba(0,0,0,0.25);
}

.section-games .data-table th,
.section-payments .data-table th {
  background-color: rgba(0, 0, 0, 0.35);
}

.data-table td {
  padding: 0.65rem 1rem;
  border: none;
  border-bottom: 1px solid rgba(97, 90, 131, 0.35);
  vertical-align: top;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* No zebra — just horizontal rules */
.data-table tbody tr {
  background-color: transparent;
}

/* On light sections, the table needs its own background */
.section-bonuses .data-table td,
.section-intro   .data-table td {
  color: var(--ink);
}

/* ============================================================
   8. RESPONSIBLE PLAY
   ============================================================ */
.section-responsible {
  background-color: var(--surface);
}

.section-responsible h3 {
  color: var(--accent2);
}

.resp-list {
  margin: 1rem 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.resp-list li {
  padding-left: 1.2rem;
  position: relative;
  color: var(--ink);
  line-height: 1.6;
}

.resp-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent2);
}

.resp-list strong {
  color: var(--base);
}

/* ============================================================
   9. FAQ ACCORDION — CSS-only, hidden-checkbox technique
   ============================================================ */
.section-faq {
  background-color: var(--deep);
  color: var(--surface);
}

.section-faq h2 {
  color: var(--accent);
  margin-bottom: 2rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--muted);
}

/* Hide the checkbox */
.faq-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.faq-item {
  border-bottom: 1px solid var(--muted);
}

/* Question label */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0.5rem;
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--accent);
}

/* CSS-drawn plus/minus icon */
.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  display: block;
}

/* Horizontal bar (always visible) */
.faq-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 22px;
  height: 2px;
  background-color: var(--accent);
  transform: translateY(-50%);
  transition: background-color 0.2s;
}

/* Vertical bar (becomes invisible when open) */
.faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 22px;
  background-color: var(--accent);
  transform: translateX(-50%);
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.2s;
}

/* Answer panel — collapsed */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 0.5rem 1.25rem;
  color: #ccc8ee;
  font-size: 0.94rem;
  line-height: 1.75;
  margin-bottom: 0;
}

/* When checkbox is checked: expand answer, rotate icon */
.faq-toggle:checked + .faq-question {
  color: var(--accent);
}

.faq-toggle:checked + .faq-question .faq-icon::after {
  opacity: 0;
  transform: translateX(-50%) scaleY(0);
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 600px;
}

/* Focus-visible on the label for keyboard users */
.faq-toggle:focus-visible + .faq-question {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================================
   10. TWO-COLUMN CARD GRID (dark band)
   ============================================================ */
.section-cards {
  background-color: var(--deep);
}

.section-cards h2 {
  color: var(--accent);
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.card {
  background-color: var(--surface);
  border-top: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--ink);
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.card h3 {
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  font-size: 1.05rem;
  color: var(--base);
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.65;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--base);
  color: var(--surface);
  border-top: 4px solid var(--accent);
  padding-top: 3rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2rem;
}

/* Footer wordmark */
.wordmark--footer .wordmark-joy {
  color: var(--accent);
}

.wordmark--footer .wordmark-jackpot {
  color: #ffffff;
}

.wordmark--footer .wordmark-sub {
  color: var(--muted);
}

.footer-tagline {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Footer links column */
.footer-links h3,
.footer-info h3 {
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links nav a {
  font-size: 0.88rem;
  color: #ccc8ee;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links nav a:hover {
  color: var(--accent);
}

.footer-links nav a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Footer info column */
.footer-info p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

.age-notice {
  margin-top: 0.65rem;
  color: #a09ac2 !important;
  font-size: 0.8rem !important;
}

.age-notice strong {
  color: var(--accent);
}

/* Footer bottom bar */
.footer-bottom {
  background-color: var(--deep);
  border-top: 1px solid rgba(97, 90, 131, 0.4);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   MEDIA QUERY — 640px
   ============================================================ */
@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .banner-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }

  .banner-left {
    flex: 1 1 0;
  }

  .banner-right {
    flex: 0 0 300px;
  }

  .banner-headline {
    font-size: 2.1rem;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2.5rem;
  }

  .footer-brand {
    flex: 0 0 100%;
  }

  .footer-links {
    flex: 0 0 auto;
  }

  .footer-info {
    flex: 1 1 0;
  }

  .faq-question {
    font-size: 1.05rem;
    padding: 1.1rem 0.75rem;
  }
}

/* ============================================================
   MEDIA QUERY — 1024px
   ============================================================ */
@media (min-width: 1024px) {
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.75rem; }

  .header-inner {
    flex-wrap: nowrap;
    gap: 1.5rem;
  }

  .main-nav {
    gap: 0.1rem;
  }

  .main-nav a {
    font-size: 0.88rem;
    padding: 0.4rem 0.85rem;
  }

  section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .bonus-banner {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .banner-headline {
    font-size: 2.4rem;
  }

  .banner-right {
    flex: 0 0 360px;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    flex: 0 0 280px;
  }

  .footer-links {
    flex: 0 0 180px;
  }

  .footer-info {
    flex: 1 1 0;
  }

  .footer-inner {
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .data-table {
    font-size: 0.92rem;
  }

  .faq-question {
    font-size: 1.08rem;
  }
}