/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --base:    #2B1237;
  --deep:    #1A0A22;
  --accent:  #B9E24B;
  --accent2: #8B5CF0;
  --surface: #F6F2F8;
  --ink:     #1E1224;
  --muted:   #6B5C74;

  --radius:  8px;
  --max-w:   1120px;

  --font-head: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', 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: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--surface);
}

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

h1 { font-size: 2.25rem; margin-bottom: 1rem; }
h2 { font-size: 1.75rem; margin-bottom: 0.875rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.625rem; }

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: 2px;
  border-radius: 2px;
}

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

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

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

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

/* ---- Logo wordmark ---- */
.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  line-height: 1;
}

.logo-tiki {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.logo-sep {
  display: inline-block;
  width: 0.35rem;
}

.logo-taka {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.logo-casino {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-left: 0.5rem;
  align-self: center;
}

/* ---- Main nav ---- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--accent); background: rgba(185,226,75,0.1); }
.main-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* nav CTA button */
.btn-nav {
  background: var(--accent);
  color: var(--deep);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-left: 0.5rem;
}
.btn-nav:hover {
  background: #cff55a;
  box-shadow: 0 4px 12px rgba(185,226,75,0.4);
  transform: translateY(-1px);
}
.btn-nav:active { transform: translateY(0); }
.btn-nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ============================================================
   BUTTONS — PRIMARY
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--deep);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2.25rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: #cff55a;
  box-shadow: 0 6px 20px rgba(185,226,75,0.45);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* ============================================================
   BONUS BANNERS
   ============================================================ */
.bonus-banner {
  background: linear-gradient(135deg, var(--deep) 0%, var(--base) 60%, #3d1a55 100%);
  position: relative;
  overflow: hidden;
  padding-block: 3rem 2.5rem;
  text-align: center;
}

.bonus-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(139,92,240,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 90% 50%, rgba(185,226,75,0.12) 0%, transparent 70%);
  pointer-events: none;
}

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

.banner-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0;
}

.banner-headline {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  color: #fff;
  margin-bottom: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.banner-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.banner-fine {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  max-width: 55ch;
  line-height: 1.5;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

/* ============================================================
   MAIN ARTICLE AREA
   ============================================================ */
.main-article {
  padding-block: 2.5rem;
}

.intro-section,
.registration-section,
.bonuses-section,
.games-section,
.payments-section,
.support-section,
.cards-section,
.faq-section {
  margin-bottom: 3rem;
}

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

.steps-list li {
  counter-increment: step-counter;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--muted);
  border-left: 4px solid var(--accent2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  position: relative;
}

.steps-list li::before {
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  background: var(--accent);
  color: var(--deep);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.steps-list li > div,
.steps-list li h3,
.steps-list li p {
  flex: 1;
}

.steps-list li h3 {
  font-size: 1rem;
  color: var(--base);
  margin-bottom: 0.35rem;
}

.steps-list li p {
  color: var(--ink);
  font-size: 0.9rem;
  margin-bottom: 0;
}

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

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

.data-table caption {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 0.6rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--muted);
}

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

.data-table th {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-align: left;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
}

.data-table td {
  padding: 0.7rem 1rem;
  border: 1px solid var(--muted);
  color: var(--ink);
  vertical-align: top;
}

.data-table tbody tr:nth-child(odd) {
  background: var(--surface);
}

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

.data-table tbody tr:hover {
  background: rgba(139,92,240,0.07);
}

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

.card {
  background: #fff;
  border: 1px solid var(--muted);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 6px 24px rgba(43,18,55,0.12);
  transform: translateY(-2px);
}

.card h3 {
  color: var(--base);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card h3::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--accent2);
  border-radius: 50%;
  flex-shrink: 0;
}

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

/* ============================================================
   FAQ ACCORDION (CSS-only hidden-checkbox technique)
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.faq-item {
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

/* hide the checkbox visually but keep it accessible */
.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.25rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--base);
  background: var(--surface);
  transition: background 0.2s, color 0.2s;
  user-select: none;
  line-height: 1.4;
}

.faq-question:hover {
  background: rgba(139,92,240,0.08);
  color: var(--accent2);
}

/* plus/minus icon drawn in CSS */
.faq-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--base);
  transition: background 0.2s, transform 0.3s;
}

/* horizontal bar (always visible) */
.faq-icon::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* vertical bar (the plus part) */
.faq-icon::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 10px;
  background: var(--accent);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

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

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

/* checked state — open */
.faq-toggle:checked + .faq-question {
  background: var(--base);
  color: #fff;
}

.faq-toggle:checked + .faq-question .faq-icon {
  background: var(--accent);
  transform: rotate(45deg);
}

.faq-toggle:checked + .faq-question .faq-icon::before,
.faq-toggle:checked + .faq-question .faq-icon::after {
  background: var(--deep);
}

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

/* Focus style for the label (keyboard nav) */
.faq-toggle:focus-visible + .faq-question {
  outline: 2px solid var(--accent2);
  outline-offset: -2px;
}

/* ============================================================
   SUPPORT SECTION
   ============================================================ */
.support-section h3 {
  margin-top: 1.25rem;
  color: var(--accent2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--deep);
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  padding-block: 2.5rem 2rem;
  margin-top: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.footer-brand .logo-tiki {
  font-size: 1.35rem;
  color: var(--accent);
}
.footer-brand .logo-taka {
  font-size: 1.35rem;
  color: #fff;
}
.footer-brand .logo-casino {
  font-size: 0.7rem;
  color: var(--muted);
}

.footer-tagline {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

.footer-links nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

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

.footer-disclaimer p {
  margin-bottom: 0.6rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
}
.footer-disclaimer p:last-child { margin-bottom: 0; }
.footer-disclaimer strong { color: rgba(255,255,255,0.8); }

/* ============================================================
   SECTION SPACING / MISC
   ============================================================ */
.bonuses-section h3,
.games-section h3,
.payments-section h3 {
  margin-top: 1.5rem;
  color: var(--accent2);
}

/* intro text lead */
.intro-section > p:first-of-type {
  font-size: 1.05rem;
  color: var(--ink);
}

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

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

  .footer-inner {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "brand links"
      "disclaimer disclaimer";
  }

  .footer-brand  { grid-area: brand; }
  .footer-links  { grid-area: links; justify-self: end; }
  .footer-disclaimer { grid-area: disclaimer; }

  .steps-list li h3 + p { margin-top: 0.25rem; }

  .bonus-banner { padding-block: 3.5rem 3rem; }

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

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

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

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

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

  .footer-inner {
    grid-template-columns: 220px 1fr 2fr;
    grid-template-areas: "brand links disclaimer";
    align-items: start;
  }

  .footer-links { justify-self: start; }

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

  .bonus-banner { padding-block: 4.5rem 4rem; }

  .main-article { padding-block: 3.5rem; }

  .steps-list {
    gap: 1rem;
  }

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

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