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

  --radius:  8px;
  --container: 1200px;

  --font-heading: '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: 17px;
  line-height: 1.7;
  background: var(--surface);
  color: var(--ink);
}

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

h1 { font-size: 2.25rem; margin-bottom: 1rem; }
h2 { font-size: 1.6rem;  margin-bottom: 0.85rem; }
h3 { font-size: 1.2rem;  margin-bottom: 0.65rem; }

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

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

ul, ol {
  padding-left: 1.5rem;
}

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: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

/* Outlined accent button (header CTA) */
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--deep);
  box-shadow: 0 2px 12px rgba(245, 213, 71, 0.35);
}
.btn-outline:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Filled accent button (banner CTA) */
.btn-accent {
  background: var(--accent);
  color: var(--deep);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 2px 12px rgba(245, 213, 71, 0.3);
}
.btn-accent:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-lg {
  font-size: 1rem;
  padding: 0.75rem 2rem;
}

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

.wm-mm {
  color: #fff;
  background: var(--accent2);
  padding: 0.1em 0.22em;
  border-radius: var(--radius) 0 0 var(--radius);
}

.wm-88 {
  color: var(--deep);
  background: var(--accent);
  padding: 0.1em 0.22em;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Footer wordmark variant */
.wordmark--footer .wm-mm {
  background: var(--accent2);
  color: #fff;
}
.wordmark--footer .wm-88 {
  background: var(--accent);
  color: var(--deep);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--base);
  border-bottom: 2px solid var(--deep);
  box-shadow: 0 2px 16px rgba(21, 15, 46, 0.45);
}

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

.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav a {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover {
  color: var(--accent);
  background: rgba(245, 213, 71, 0.1);
}
.main-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================================
   BONUS BANNERS
   ============================================================ */
.bonus-banner {
  background: linear-gradient(135deg, var(--base) 0%, var(--deep) 100%);
  border-bottom: 3px solid var(--accent);
  padding: 3rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bonus-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(123, 108, 246, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

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

.banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  position: relative;
  z-index: 1;
}

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

.banner-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  margin: 0;
}

.banner-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
  max-width: 600px;
}

.banner-fine {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

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

/* ============================================================
   SECTIONS – COMMON
   ============================================================ */
.section-intro,
.section-bonuses,
.section-games,
.section-payments,
.section-support,
.section-cards,
.section-faq {
  padding: 3rem 0;
}

.section-bonuses,
.section-payments,
.section-cards {
  background: #fff;
}

.section-games,
.section-support {
  background: var(--surface);
}

.section-faq {
  background: #fff;
}

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

.section-intro h1 {
  color: var(--base);
  display: inline-block;
  position: relative;
  padding-bottom: 0.3rem;
}

.section-intro h1::after {
  content: '';
  display: block;
  width: 3rem;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 0.4rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* ============================================================
   STEPS LIST
   ============================================================ */
.steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.steps-list li {
  counter-increment: step-counter;
  background: #fff;
  border: 1.5px solid var(--muted);
  border-left: 4px solid var(--accent2);
  border-radius: var(--radius);
  padding: 1rem 1rem 1rem 1.25rem;
  position: relative;
  color: var(--ink);
  font-size: 0.97rem;
}

.steps-list li strong {
  color: var(--base);
  font-weight: 700;
}

/* ============================================================
   TABLES
   ============================================================ */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(36, 27, 75, 0.08);
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.92rem;
  border: 2px solid var(--muted);
  border-radius: var(--radius);
  overflow: hidden;
}

thead tr {
  background: var(--base);
}

thead th {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
}

tbody tr {
  border-bottom: 1px solid rgba(97, 90, 131, 0.25);
  transition: background 0.15s;
}

tbody tr:last-child {
  border-bottom: none;
}

tbody tr:nth-child(even) {
  background: rgba(123, 108, 246, 0.05);
}

tbody tr:hover {
  background: rgba(245, 213, 71, 0.08);
}

tbody td {
  padding: 0.7rem 1rem;
  color: var(--ink);
  border: 1px solid rgba(97, 90, 131, 0.15);
  vertical-align: top;
}

.bonus-table thead th:nth-child(3),
.bonus-table tbody td:nth-child(3) {
  white-space: nowrap;
}

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

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

.card:hover {
  box-shadow: 0 6px 24px rgba(36, 27, 75, 0.12);
  border-left-color: var(--accent2);
}

.card h3 {
  color: var(--base);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

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

.card p strong {
  color: var(--base);
}

/* ============================================================
   FAQ ACCORDION (CSS-only, details/summary)
   ============================================================ */
.section-faq h2 {
  margin-bottom: 1.5rem;
}

.faq-item {
  border: 1.5px solid var(--muted);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item[open] {
  box-shadow: 0 4px 20px rgba(36, 27, 75, 0.1);
  border-color: var(--accent2);
}

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

/* Remove default marker in all browsers */
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }

.faq-question:hover {
  background: rgba(123, 108, 246, 0.07);
  color: var(--accent2);
}

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

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

/* CSS chevron */
.faq-chevron {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  position: relative;
  display: inline-block;
}

.faq-chevron::before,
.faq-chevron::after {
  content: '';
  position: absolute;
  bottom: 30%;
  width: 0.55rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease;
}

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

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

/* Rotate chevron when open */
.faq-item[open] .faq-chevron::before {
  transform: rotate(-45deg);
}
.faq-item[open] .faq-chevron::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 1.1rem 1.25rem 1.25rem;
  background: #fff;
  border-top: 1px solid rgba(97, 90, 131, 0.2);
  font-size: 0.96rem;
  color: var(--ink);
  line-height: 1.7;
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--deep);
  color: rgba(255,255,255,0.75);
  padding-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(97, 90, 131, 0.35);
}

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

.footer-tagline {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

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

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-info p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.65rem;
}

.footer-cert {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent2);
  letter-spacing: 0.04em;
}

.footer-bottom {
  padding: 1rem 0;
  background: rgba(0,0,0,0.25);
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin: 0;
}

/* ============================================================
   SECTION HEADINGS – ACCENT UNDERLINE
   ============================================================ */
.section-bonuses h2,
.section-games h2,
.section-payments h2,
.section-support h2,
.section-cards h2,
.section-faq h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.section-bonuses h2::after,
.section-games h2::after,
.section-payments h2::after,
.section-support h2::after,
.section-cards h2::after,
.section-faq h2::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 0.4rem;
}

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

/* ============================================================
   BREAKPOINT: 640px
   ============================================================ */
@media (min-width: 640px) {

  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

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

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

  .banner-headline {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
  }

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

  .steps-list {
    gap: 0.9rem;
  }

  .main-nav ul {
    gap: 0.25rem 0.75rem;
  }
}

/* ============================================================
   BREAKPOINT: 1024px
   ============================================================ */
@media (min-width: 1024px) {

  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  /* Header nav fully expanded */
  .main-nav ul {
    gap: 0.25rem 0.25rem;
  }

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

  /* Footer three-column layout */
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 2fr;
    gap: 3rem;
  }

  /* Card grid two columns (already set at 640, stays) */
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  /* Sections more breathing room */
  .section-intro,
  .section-bonuses,
  .section-games,
  .section-payments,
  .section-support,
  .section-cards,
  .section-faq {
    padding: 4.5rem 0;
  }

  .bonus-banner {
    padding: 5rem 2rem;
  }

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

  /* Steps as readable column */
  .steps-list li {
    padding: 1.1rem 1.5rem 1.1rem 1.5rem;
  }

  h1 { font-size: 2.6rem; }
  h2 { font-size: 1.9rem; }
  h3 { font-size: 1.25rem; }
}

/* ============================================================
   FOCUS VISIBLE GLOBAL FALLBACK
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}