/* ============================================================
   CSS CUSTOM PROPERTIES — charcoal / sunrise palette
   ============================================================ */
:root {
  --base: #22242B;
  --deep: #141519;
  --accent: #FF9F1C;
  --accent2: #2EC4B6;
  --surface: #F5F5F3;
  --ink: #1A1B20;
  --muted: #63666F;

  --radius: 4px;
  --container: 1200px;

  --font-head: 'Segoe UI', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: system-ui, -apple-system, Roboto, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--surface);
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: var(--accent2);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.25;
}

h1 {
  font-size: 2.0rem;
  margin-bottom: 0.75rem;
}

h2 {
  font-size: 1.55rem;
  margin-bottom: 0.65rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

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

ul {
  list-style: none;
  padding: 0;
}

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

/* ============================================================
   WORDMARK
   ============================================================ */
.wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1;
}

.wm-fun {
  color: #fff;
  background-color: var(--accent);
  padding: 0.1em 0.22em;
  border-radius: var(--radius) 0 0 var(--radius);
  display: inline-block;
}

.wm-88 {
  color: var(--accent);
  background-color: var(--deep);
  padding: 0.1em 0.22em;
  border-radius: 0 var(--radius) var(--radius) 0;
  display: inline-block;
  letter-spacing: 0.04em;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  padding: 0.6em 1.4em;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 3px;
}

/* Outlined accent button (header CTA) */
.btn-outline {
  background-color: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--deep);
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(255, 159, 28, 0.35);
}

/* Solid accent button (banner CTA) */
.btn-accent {
  background-color: var(--accent);
  color: var(--deep);
  border-color: var(--accent);
}

.btn-accent:hover {
  background-color: transparent;
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(255, 159, 28, 0.3);
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--base);
  border-bottom: 2px solid var(--deep);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.35em 0.7em;
  border-radius: var(--radius);
  transition: color 0.15s ease, background-color 0.15s ease;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--accent);
  background-color: rgba(255, 159, 28, 0.1);
  text-decoration: none;
}

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

/* ============================================================
   BONUS BANNER
   ============================================================ */
.bonus-banner {
  background-color: var(--deep);
  background-image: linear-gradient(135deg, var(--deep) 0%, #2a1f0a 60%, #1a1200 100%);
  padding: 3rem 1rem;
  text-align: center;
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
}

.bonus-banner--mid {
  margin-top: 0;
  background-image: linear-gradient(135deg, #0a1f1e 0%, var(--deep) 50%, #1a0e00 100%);
  border-top: 3px solid var(--accent2);
  border-bottom: 3px solid var(--accent2);
}

.banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.banner-eyebrow {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 0;
}

.banner-headline {
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0;
}

.bonus-banner--mid .banner-headline {
  color: var(--accent);
}

.banner-fine {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0;
  max-width: 500px;
}

/* ============================================================
   MAIN CONTENT WRAPPER
   ============================================================ */
.main-content {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

/* ============================================================
   SECTIONS — spacing
   ============================================================ */
.intro-section,
.first-impressions,
.games-section,
.bonuses-section,
.payments-section,
.responsible-section,
.faq-section,
.cards-section {
  margin-bottom: 3rem;
}

.intro-section h1 {
  color: var(--base);
}

.first-impressions h2,
.games-section h2,
.bonuses-section h2,
.payments-section h2,
.responsible-section h2,
.faq-section h2,
.cards-section h2 {
  color: var(--base);
  padding-bottom: 0.4rem;
  border-bottom: 3px solid var(--accent);
  margin-bottom: 1.25rem;
  display: inline-block;
}

h3 {
  color: var(--base);
  margin-top: 1.5rem;
}

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

.payments-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.payments-table thead {
  background-color: var(--base);
  color: #fff;
}

.payments-table thead th {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 0.75em 1em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.payments-table tbody tr {
  background-color: #fff;
  transition: background-color 0.12s ease;
}

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

.payments-table tbody tr:hover {
  background-color: rgba(255, 159, 28, 0.07);
}

.payments-table tbody td {
  padding: 0.7em 1em;
  border: 1px solid var(--muted);
  color: var(--ink);
  vertical-align: middle;
  white-space: nowrap;
}

/* ============================================================
   FAQ ACCORDION — CSS-only via details/summary
   ============================================================ */
.faq-list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  background-color: #fff;
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}

.faq-item[open] {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1em 1.25em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--base);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  display: none;
}

.faq-item[open] .faq-question {
  background-color: var(--base);
  color: #fff;
}

.faq-question:hover {
  background-color: rgba(34, 36, 43, 0.06);
}

.faq-item[open] .faq-question:hover {
  background-color: var(--base);
}

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

/* Rotating chevron drawn in CSS */
.faq-chevron {
  display: inline-block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
  transition: transform 0.25s ease;
}

.faq-chevron::before,
.faq-chevron::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 9px;
  height: 2px;
  background-color: var(--accent);
  border-radius: 2px;
  transition: background-color 0.15s ease;
}

.faq-chevron::before {
  left: 0;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: right center;
}

.faq-chevron::after {
  right: 0;
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: left center;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-item[open] .faq-chevron::before,
.faq-item[open] .faq-chevron::after {
  background-color: var(--accent);
}

.faq-answer {
  padding: 1em 1.25em 1.25em;
  border-top: 1px solid rgba(99, 102, 111, 0.2);
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.7;
}

.faq-answer p {
  margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

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

.card {
  position: relative;
  background-color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.25rem 1.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(99, 102, 111, 0.15);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card-num {
  position: absolute;
  top: -1px;
  right: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  background-color: var(--accent);
  color: var(--deep);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 159, 28, 0.45);
  border: 2px solid #fff;
}

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

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

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.88rem;
  border-top: 3px solid var(--base);
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-brand .wordmark {
  margin-bottom: 0.75rem;
  display: inline-flex;
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.footer-heading {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

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

.footer-info p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(99, 102, 111, 0.3);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.footer-age {
  margin-bottom: 0;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 2px solid var(--muted);
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0;
}

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

  .main-nav {
    display: flex;
  }

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

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
  }

  .footer-disclaimer {
    flex: 1 1 100%;
  }

  .footer-age {
    margin-left: auto;
  }
}

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

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

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

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-top {
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
  }

  .faq-question {
    font-size: 1.05rem;
    padding: 1em 1.5em;
  }

  .faq-answer {
    padding: 1em 1.5em 1.5em;
  }

  .main-content {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .bonus-banner {
    padding: 4rem 1.5rem;
  }

  .intro-section,
  .first-impressions,
  .games-section,
  .bonuses-section,
  .payments-section,
  .responsible-section,
  .faq-section,
  .cards-section {
    margin-bottom: 4rem;
  }
}

/* ============================================================
   BREAKPOINT: 1280px — wider card grid
   ============================================================ */
@media (min-width: 1280px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   FOCUS VISIBLE — global fallback
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}