/* ============================================================
   CSS CUSTOM PROPERTIES — Ocean / Sand palette
   ============================================================ */
:root {
  --base:    #0C3A54;
  --deep:    #062435;
  --accent:  #F0B67F;
  --accent2: #4FB6C8;
  --surface: #F4F7F8;
  --ink:     #0F2533;
  --muted:   #54707F;

  --radius:  4px;
  --max-w:   1040px;
  --font:    system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

h1 { font-size: 2.25rem; margin-bottom: 1rem; }
h2 { font-size: 1.625rem; margin-bottom: 0.875rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

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

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

ul { list-style: none; }

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

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

/* ============================================================
   UTILITY STRIP (age notice bar above header)
   ============================================================ */
.utility-strip {
  background-color: var(--deep);
  color: var(--muted);
  font-size: 0.75rem;
  padding: 0.35rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.age-notice {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #a8c0cc;
}

.utility-right {
  color: var(--muted);
  font-size: 0.7rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background-color: var(--base);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(6,36,53,0.45);
}

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

/* ---- Wordmark ---- */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  line-height: 1;
}

.wordmark-m {
  font-size: 1.8rem;
  font-weight: 900;
  font-style: italic;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  background: linear-gradient(135deg, var(--accent2) 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wordmark-88 {
  font-size: 1.8rem;
  font-weight: 900;
  font-style: italic;
  color: var(--accent);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent) 0%, #f8d4a8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wordmark:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--radius);
}

/* ---- Main Nav ---- */
.main-nav {
  display: none;
  gap: 0.25rem;
}

.main-nav a {
  color: #cde0ea;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius);
  transition: color 0.2s, background-color 0.2s;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--accent);
  background-color: rgba(240,182,127,0.12);
  text-decoration: none;
}

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

/* ---- CTA Button ---- */
.btn-cta {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background-color: transparent;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
  text-decoration: none;
  line-height: 1.4;
}

.btn-cta:hover {
  background-color: var(--accent);
  color: var(--deep);
  border-color: var(--accent);
  text-decoration: none;
}

.btn-cta:active {
  transform: scale(0.97);
}

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

.btn-large {
  font-size: 1rem;
  padding: 0.75rem 2rem;
  letter-spacing: 0.08em;
}

/* ============================================================
   BONUS BANNER
   ============================================================ */
.bonus-banner {
  background: linear-gradient(135deg, var(--deep) 0%, #0e4e73 50%, var(--base) 100%);
  padding: 3rem 1rem;
  text-align: center;
}

.bonus-banner--second {
  background: linear-gradient(135deg, var(--base) 0%, #0d5580 50%, var(--deep) 100%);
  margin-top: 0;
}

.banner-offer-box {
  display: inline-block;
  width: 100%;
  max-width: 680px;
  border: 2px solid var(--accent2);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  background-color: rgba(6,36,53,0.55);
  backdrop-filter: blur(4px);
}

.banner-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent2);
  margin-bottom: 0.5rem;
}

.banner-headline {
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

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

.banner-sub {
  font-size: 0.95rem;
  color: #cde0ea;
  margin-bottom: 1.5rem;
}

.banner-terms {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

/* ============================================================
   MAIN CONTENT WRAPPER
   ============================================================ */
.main-content,
.main-content--lower {
  padding: 2.5rem 0;
}

/* ============================================================
   INTRO SECTION
   ============================================================ */
.intro-section {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(84,112,127,0.25);
  margin-bottom: 2.5rem;
}

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

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

.intro-section h2 {
  margin-top: 2rem;
  color: var(--base);
}

/* ============================================================
   REGISTRATION / STEPS
   ============================================================ */
.registration-section {
  margin-bottom: 2.5rem;
}

.registration-section h2 {
  color: var(--base);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

/* Step cards */
.step-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid rgba(84,112,127,0.2);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.25rem 1.25rem;
  box-shadow: 0 2px 8px rgba(12,58,84,0.07);
  overflow: hidden;
}

.step-num {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background-color: var(--base);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

.step-card h3 {
  color: var(--base);
  padding-right: 2.5rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ============================================================
   SECTIONS — general spacing
   ============================================================ */
.bonuses-section,
.games-section,
.payments-section,
.support-section,
.cards-section,
.faq-section {
  margin-bottom: 2.5rem;
}

.bonuses-section h2,
.games-section h2,
.payments-section h2,
.support-section h2,
.cards-section h2,
.faq-section h2 {
  color: var(--base);
}

.bonuses-section h3,
.games-section h3,
.payments-section h3,
.support-section h3 {
  color: var(--base);
  margin-top: 1.5rem;
}

/* ============================================================
   DATA TABLE
   ============================================================ */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0;
  border-radius: var(--radius);
  border: 1px solid rgba(84,112,127,0.3);
}

.data-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.875rem;
  background-color: #ffffff;
}

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

.data-table thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-right: 1px solid rgba(255,255,255,0.15);
  white-space: nowrap;
}

.data-table thead th:last-child {
  border-right: none;
}

.data-table tbody tr {
  border-bottom: 1px solid rgba(84,112,127,0.2);
  transition: background-color 0.15s;
}

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

.data-table tbody tr:hover {
  background-color: rgba(79,182,200,0.07);
}

.data-table tbody td {
  padding: 0.7rem 1rem;
  border-right: 1px solid rgba(84,112,127,0.15);
  vertical-align: top;
  color: var(--ink);
}

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

.data-table tbody tr:nth-child(even) {
  background-color: rgba(244,247,248,0.8);
}

.data-table tbody tr:nth-child(even):hover {
  background-color: rgba(79,182,200,0.07);
}

/* ============================================================
   HIGHLIGHT CARDS (two-column grid)
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.highlight-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid rgba(84,112,127,0.18);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem 1.5rem 1.25rem;
  box-shadow: 0 3px 12px rgba(12,58,84,0.08);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.highlight-card:hover {
  box-shadow: 0 6px 20px rgba(12,58,84,0.14);
  transform: translateY(-2px);
}

.card-num {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background-color: var(--accent2);
  color: var(--deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.highlight-card h3 {
  color: var(--base);
  padding-right: 3rem;
  margin-bottom: 0.6rem;
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ============================================================
   FAQ ACCORDION — CSS-only hidden checkbox technique
   ============================================================ */
.faq-section p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.faq-accordion {
  border: 1px solid rgba(84,112,127,0.25);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid rgba(84,112,127,0.2);
  background-color: #ffffff;
}

.faq-item:last-child {
  border-bottom: none;
}

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

/* Question label */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--base);
  gap: 1rem;
  transition: background-color 0.15s, color 0.15s;
  user-select: none;
}

.faq-question:hover {
  background-color: rgba(79,182,200,0.07);
  color: var(--accent2);
}

/* Plus/minus icon drawn in CSS */
.faq-icon {
  flex-shrink: 0;
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

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

/* Vertical bar (visible when collapsed = plus state) */
.faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: var(--accent2);
  transform: translateX(-50%);
  transition: transform 0.25s, opacity 0.25s, background-color 0.2s;
}

/* When checked: hide vertical bar → shows minus */
.faq-toggle:checked + .faq-question .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-toggle:checked + .faq-question {
  color: var(--accent);
  background-color: rgba(240,182,127,0.08);
}

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

/* Focus ring on label (acting as button) */
.faq-toggle:focus-visible + .faq-question {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

/* Answer panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.25rem;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0;
  padding-bottom: 1rem;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 600px;
  padding: 0 1.25rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--base);
  color: #a8c0cc;
  margin-top: 0;
}

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

.footer-brand .wordmark--footer .wordmark-m {
  font-size: 2rem;
}

.footer-brand .wordmark--footer .wordmark-88 {
  font-size: 2rem;
}

.footer-tagline {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent2);
  margin-bottom: 0.75rem;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: #a8c0cc;
  text-decoration: none;
  transition: color 0.15s;
}

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

.footer-responsible p {
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(84,112,127,0.3);
  padding: 1rem 0;
  background-color: var(--deep);
}

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

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

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

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

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

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

  .main-nav {
    display: flex;
    flex-wrap: wrap;
  }

  .header-cta {
    display: none;
  }

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

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

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .header-inner {
    flex-wrap: nowrap;
  }

  .main-nav {
    display: flex;
    gap: 0.25rem;
  }

  .header-cta {
    display: inline-block;
  }

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

  .banner-offer-box {
    padding: 2.5rem 3rem;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-inner {
    grid-template-columns: 2fr 1fr 2fr;
    gap: 3rem;
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }

  .main-content,
  .main-content--lower {
    padding: 3.5rem 0;
  }

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

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

  .highlight-card {
    padding: 2rem 1.5rem 1.75rem;
  }

  .intro-section h2 {
    margin-top: 2.5rem;
  }
}