/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --base: #12203F;
  --deep: #0A1428;
  --accent: #FF6B4A;
  --accent2: #4EA8DE;
  --surface: #F4F6FA;
  --ink: #101A2E;
  --muted: #5C6880;

  --radius: 14px;
  --container: 1120px;

  --font-heading: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  --font-body: Verdana, Geneva, 'DejaVu Sans', sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

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

h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 0.9rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

p {
  margin-bottom: 1rem;
}

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

ul, ol {
  padding-left: 1.4em;
}

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

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

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

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;
}

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

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

/* Solid accent button */
.btn-accent {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-accent:hover {
  background-color: #e85535;
  border-color: #e85535;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 107, 74, 0.45);
}

/* Outlined CTA for header */
.btn-outline {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
  text-decoration: none;
}

/* Large button variant */
.btn-large {
  font-size: 0.95rem;
  padding: 0.85em 2em;
}

/* ============================================================
   LOGO WORDMARK
   ============================================================ */
.logo,
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 0;
  cursor: default;
}

.logo-bj {
  color: #fff;
  background-color: var(--accent);
  padding: 0.05em 0.22em;
  border-radius: 6px 0 0 6px;
  display: inline-block;
  line-height: 1.2;
}

.logo-88 {
  color: var(--accent);
  background-color: #fff;
  padding: 0.05em 0.22em;
  border-radius: 0 6px 6px 0;
  display: inline-block;
  line-height: 1.2;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--base);
  box-shadow: 0 2px 12px rgba(10, 20, 40, 0.5);
}

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

.main-nav {
  flex: 1;
  display: none;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 0.25rem;
  justify-content: flex-end;
  align-items: center;
}

.main-nav a {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.4em 0.7em;
  border-radius: 5px;
  transition: color 0.2s, background-color 0.2s;
  text-decoration: none;
}

.main-nav a:hover {
  color: #fff;
  background-color: rgba(255, 107, 74, 0.18);
  text-decoration: none;
}

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

/* Header CTA button sits at far right */
.site-header .btn-outline {
  white-space: nowrap;
  flex-shrink: 0;
}

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

.bonus-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 50%, rgba(255, 107, 74, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 85% 50%, rgba(78, 168, 222, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

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

.banner-headline {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.banner-fine {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 540px;
  margin-bottom: 0;
}

/* ============================================================
   SECTIONS — GENERAL
   ============================================================ */
.section-intro,
.section-bonuses,
.section-games,
.section-payments,
.section-support,
.section-cards,
.section-faq {
  padding: 2.5rem 0;
}

.section-intro {
  background-color: var(--surface);
}

.section-bonuses {
  background-color: #fff;
}

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

.section-payments {
  background-color: #fff;
}

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

.section-cards {
  background-color: var(--base);
}

.section-cards h2 {
  color: #fff;
}

.section-faq {
  background-color: #fff;
}

/* Lead paragraph */
.lead {
  font-size: 1.08rem;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

/* ============================================================
   REGISTRATION WALKTHROUGH
   ============================================================ */
.registration-block {
  margin-top: 2.5rem;
  background-color: #fff;
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  border: 1px solid rgba(92, 104, 128, 0.2);
  box-shadow: 0 2px 12px rgba(18, 32, 63, 0.06);
}

.registration-block h2 {
  margin-bottom: 0.75rem;
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.steps-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background-color: var(--surface);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--accent);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.15rem;
  min-width: 2.2rem;
}

.step-content h3 {
  margin-bottom: 0.3rem;
  color: var(--base);
}

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

/* ============================================================
   TABLES
   ============================================================ */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0;
  border-radius: var(--radius);
  border: 1px solid rgba(92, 104, 128, 0.2);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  font-size: 0.88rem;
}

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

thead th {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  padding: 0.85em 1em;
  text-align: left;
  border-bottom: 2px solid var(--accent);
  white-space: nowrap;
}

tbody tr {
  background-color: transparent;
}

tbody tr + tr {
  border-top: 1px solid rgba(92, 104, 128, 0.2);
}

tbody td {
  padding: 0.75em 1em;
  color: var(--ink);
  vertical-align: top;
}

/* ============================================================
   SUPPORT LIST
   ============================================================ */
.support-list {
  list-style: none;
  padding: 0;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.support-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background-color: #fff;
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem;
  border: 1px solid rgba(92, 104, 128, 0.18);
  box-shadow: 0 2px 8px rgba(18, 32, 63, 0.05);
}

.support-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.support-list li > div h3 {
  margin-bottom: 0.3rem;
  color: var(--base);
}

.support-list li > div p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

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

.card {
  background-color: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 4px 18px rgba(10, 20, 40, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(10, 20, 40, 0.28);
}

.card-top-bar {
  height: 5px;
  background-color: var(--accent);
  width: 100%;
  flex-shrink: 0;
}

.card h3 {
  font-size: 1.08rem;
  color: var(--base);
  margin-bottom: 0.6rem;
  padding: 1.1rem 1.25rem 0;
}

.card p {
  font-size: 0.88rem;
  color: var(--ink);
  padding: 0 1.25rem;
  margin-bottom: 0.75rem;
}

.card .btn {
  margin: 0.5rem 1.25rem 1.25rem;
  align-self: flex-start;
}

/* ============================================================
   FAQ ACCORDION — CSS-only hidden checkbox technique
   ============================================================ */
.faq-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background-color: var(--surface);
  border-radius: var(--radius);
  border: 1px solid rgba(92, 104, 128, 0.22);
  overflow: hidden;
}

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

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

.faq-question:hover {
  background-color: rgba(18, 32, 63, 0.05);
}

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

/* Plus/minus sign drawn in CSS */
.faq-question::after {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
  background-color: var(--accent);
  border-radius: 50%;
  background-image:
    linear-gradient(var(--surface), var(--surface)),
    linear-gradient(var(--surface), var(--surface));
  background-size:
    10px 2px,
    2px 10px;
  background-position: center center;
  background-repeat: no-repeat;
  transition: background-color 0.2s, transform 0.2s;
}

.faq-toggle:checked + .faq-question::after {
  background-color: var(--muted);
  background-image:
    linear-gradient(var(--surface), var(--surface));
  background-size: 10px 2px;
  background-position: center center;
  background-repeat: no-repeat;
}

.faq-toggle:checked + .faq-question {
  border-bottom: 1px solid rgba(92, 104, 128, 0.2);
  background-color: rgba(18, 32, 63, 0.04);
}

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

.faq-answer p {
  font-size: 0.91rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

/* Open state */
.faq-toggle:checked ~ .faq-answer {
  max-height: 600px;
  padding: 1rem 1.25rem;
}

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

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

.footer-logo .logo-88 {
  color: var(--accent);
  background-color: rgba(255, 255, 255, 0.9);
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer-nav a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

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

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

.footer-disclaimer p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.5rem;
  line-height: 1.55;
}

.footer-disclaimer strong {
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  flex-wrap: wrap;
}

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

.age-badge {
  background-color: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 900;
  padding: 0.25em 0.65em;
  border-radius: 6px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

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

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.85rem;
  }

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

  .main-nav {
    display: flex;
  }

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

  .registration-block {
    padding: 2rem 1.75rem;
  }

  .steps-list li {
    padding: 1.1rem 1.4rem;
  }

  .bonus-banner {
    padding: 3.25rem 0;
  }

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

  .footer-inner {
    gap: 2rem;
  }
}

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

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.2rem;
  }

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

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

  .main-nav ul {
    gap: 0.15rem;
  }

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

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

  .registration-block {
    padding: 2.5rem 2rem;
  }

  .steps-list {
    gap: 1.1rem;
  }

  .steps-list li {
    padding: 1.2rem 1.6rem;
  }

  .support-list li {
    padding: 1.5rem 1.75rem;
  }

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

  .card h3 {
    font-size: 1.12rem;
    padding: 1.25rem 1.5rem 0;
  }

  .card p {
    padding: 0 1.5rem;
  }

  .card .btn {
    margin: 0.6rem 1.5rem 1.5rem;
  }

  .faq-question {
    font-size: 1.02rem;
    padding: 1.1rem 1.5rem;
  }

  .faq-answer p {
    font-size: 0.93rem;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.5rem 2.5rem;
    align-items: start;
  }

  .footer-logo {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-nav {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .footer-disclaimer {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer-bottom {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  table {
    font-size: 0.9rem;
  }

  thead th {
    font-size: 0.8rem;
  }
}

/* ============================================================
   PRINT / REDUCED-MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}