/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --base:    #3B1220;
  --deep:    #250A14;
  --accent:  #E3B44B;
  --accent2: #C4566E;
  --surface: #F8F3F1;
  --ink:     #22121A;
  --muted:   #75606A;

  --radius:  0px;
  --container: 1120px;
  --shadow: 0 4px 18px rgba(59,18,32,0.13);
}

/* ============================================================
   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: 17px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--surface);
}

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

h1 { font-size: 2.25rem; }
h2 { font-size: 1.6rem;  margin-bottom: 1rem; }
h3 { font-size: 1.2rem;  margin-top: 1.5rem; 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(--base); }
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius);
}

ul { list-style: none; }

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

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

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background-color: var(--base);
  padding: 0;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-top: 1.1rem;
  padding-bottom: 0;
}

/* Logo wordmark */
.logo-wordmark,
.footer-logo {
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  user-select: none;
}

.logo-sun  { color: var(--accent); }
.logo-win  { color: #fff; }

/* Nav bar */
.main-nav {
  width: 100%;
  background-color: var(--deep);
  margin-top: 0.85rem;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.main-nav ul li a {
  display: block;
  padding: 0.7rem 1.1rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
}

.main-nav ul li a:hover {
  background-color: var(--accent);
  color: var(--deep);
}

.main-nav ul li a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

/* ============================================================
   SECTIONS — GENERAL
   ============================================================ */
.section-intro,
.section-games,
.section-payments,
.section-cards,
.section-faq {
  background-color: var(--surface);
  padding: 2.5rem 0;
}

.section-alt {
  background-color: #f0e8e5;
  padding: 2.5rem 0;
}

/* ============================================================
   BONUS BANNER
   ============================================================ */
.bonus-banner {
  background-color: var(--base);
  position: relative;
  padding: 1.4rem 0 0;
}

.banner-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.2rem;
}

.banner-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.banner-headline {
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.3;
  display: block;
}

.banner-sub {
  font-size: 0.82rem;
  color: #e8d5c8;
  letter-spacing: 0.03em;
  display: block;
}

.banner-underline {
  height: 4px;
  width: 100%;
  background-color: var(--accent);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-cta {
  display: inline-block;
  background-color: var(--accent);
  color: var(--deep);
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s, transform 0.1s;
  line-height: 1;
}

.btn-cta:hover {
  background-color: #f0c860;
  color: var(--deep);
  transform: translateY(-1px);
}

.btn-cta:active {
  transform: translateY(0);
}

.btn-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* ============================================================
   INTRO — RATING STRIP
   ============================================================ */
.site-h1 {
  font-size: 2.25rem;
  color: var(--base);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lead-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
}

.rating-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background-color: var(--muted);
  border: 1px solid var(--muted);
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.rating-item {
  flex: 1 1 100px;
  background-color: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0.5rem;
  gap: 0.3rem;
}

.rating-score {
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--base);
  line-height: 1;
}

.rating-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}

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

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

.data-table thead tr {
  background-color: var(--base);
}

.data-table thead th {
  color: var(--accent);
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 0.9rem;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.15);
}

.data-table tbody tr {
  border-bottom: 1px solid #e5d8d2;
}

.data-table tbody tr:nth-child(even) {
  background-color: #faf5f3;
}

.data-table tbody tr:hover {
  background-color: #f3e8e3;
}

.data-table tbody td {
  padding: 0.65rem 0.9rem;
  border: 1px solid #e5d8d2;
  color: var(--ink);
  vertical-align: top;
}

/* ============================================================
   FAQ ACCORDION (hidden-checkbox technique)
   ============================================================ */
.faq-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 2px solid var(--base);
}

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

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--base);
  background-color: var(--surface);
  user-select: none;
  transition: background 0.18s, color 0.18s;
}

.faq-question:hover {
  background-color: #ede3df;
  color: var(--deep);
}

.faq-toggle:focus-visible + .faq-question {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

/* Plus / Minus icon — drawn in CSS */
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--base);
  border-radius: 50%;
  display: block;
  transition: background 0.18s, border-color 0.18s;
}

/* Horizontal bar (always present) */
.faq-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 2px;
  background-color: var(--base);
  transition: background 0.18s;
}

/* Vertical bar (present only when collapsed → plus; hidden when expanded → minus) */
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 10px;
  background-color: var(--base);
  transition: opacity 0.18s, background 0.18s;
}

/* Checked state: remove vertical bar, change colours */
.faq-toggle:checked + .faq-question .faq-icon {
  background-color: var(--base);
  border-color: var(--base);
}

.faq-toggle:checked + .faq-question .faq-icon::before {
  background-color: var(--accent);
}

.faq-toggle:checked + .faq-question .faq-icon::after {
  opacity: 0;
}

.faq-toggle:checked + .faq-question {
  background-color: var(--deep);
  color: var(--accent);
}

/* Answer panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background-color: #fff;
}

.faq-answer p {
  padding: 0.9rem 1.1rem 1rem;
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink);
  border-left: 4px solid var(--accent);
}

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

/* ============================================================
   CARD GRID
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  position: relative;
  background-color: #fff;
  border: 1px solid #e5d8d2;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.4rem 1.4rem;
  overflow: visible;
}

/* Circled numeral */
.card-num {
  position: absolute;
  top: -16px;
  left: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--deep);
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid var(--base);
}

.card h3 {
  font-size: 1.05rem;
  color: var(--base);
  margin-top: 0.5rem;
  margin-bottom: 0.6rem;
}

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

.card:hover {
  box-shadow: 0 8px 28px rgba(59,18,32,0.18);
  border-color: var(--accent);
  transition: box-shadow 0.2s, border-color 0.2s;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--deep);
  color: #e8d5c8;
  padding: 2.5rem 0 1.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 1.6rem;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0;
}

.footer-nav ul li a {
  display: block;
  padding: 0.25rem 0.9rem 0.25rem 0;
  color: #e8d5c8;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  transition: color 0.18s;
}

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

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

.footer-disclaimer {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.2rem;
}

.footer-disclaimer p {
  font-size: 0.8rem;
  color: #b5a0a8;
  line-height: 1.6;
  max-width: 820px;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--accent2);
  color: #fff;
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-top: 0.6rem;
  flex-shrink: 0;
  line-height: 1;
}

.footer-copy p {
  font-size: 0.78rem;
  color: #8a7078;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1rem;
}

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

  .header-inner {
    flex-direction: column;
    align-items: center;
  }

  .banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

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

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

  .footer-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .footer-disclaimer p {
    flex: 1;
  }

  .age-badge {
    margin-top: 0;
    flex-shrink: 0;
  }

  .main-nav ul li a {
    padding: 0.75rem 1.4rem;
    font-size: 0.88rem;
  }
}

/* ============================================================
   BREAKPOINT 1024px
   ============================================================ */
@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .header-inner {
    padding-top: 1.2rem;
  }

  .logo-wordmark {
    font-size: 2.4rem;
  }

  .main-nav ul li a {
    padding: 0.8rem 1.6rem;
    font-size: 0.9rem;
  }

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

  .section-intro,
  .section-games,
  .section-payments,
  .section-cards,
  .section-faq {
    padding: 3.5rem 0;
  }

  .section-alt {
    padding: 3.5rem 0;
  }

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

  h2 {
    font-size: 1.75rem;
  }

  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem;
  }

  .footer-logo {
    flex-shrink: 0;
  }

  .footer-nav {
    flex: 1;
  }

  .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.2rem 0;
  }

  .footer-disclaimer {
    width: 100%;
  }

  .footer-copy {
    width: 100%;
  }
}