/* ============================================================
   TG88 – Charcoal / Sunrise Stylesheet
   Mobile-first, CSS-only FAQ accordion, no external assets
   ============================================================ */

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

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

  --font-head: 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

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

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

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

ul { list-style: none; }

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

a:hover { text-decoration: underline; }

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

/* ----------------------------------------------------------
   3. TYPOGRAPHY
   ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: 2rem; 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; }

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

.section-light {
  background: var(--surface);
  color: var(--ink);
  padding-block: 3rem;
}

.section-dark {
  background: var(--base);
  color: var(--surface);
  padding-block: 3rem;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--surface);
}

.section-dark p {
  color: #d0d1d5;
}

/* ----------------------------------------------------------
   5. HEADER
   ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--deep);
  border-bottom: 2px solid var(--accent);
  box-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

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

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

.logo-mark {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--surface);
  letter-spacing: -0.02em;
}

.logo-num {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
}

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

.main-nav a {
  color: #c8c9ce;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s, background 0.2s;
}

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

/* CTA button in header */
.nav-cta {
  white-space: nowrap;
}

/* ----------------------------------------------------------
   6. BUTTONS
   ---------------------------------------------------------- */
.btn-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.55rem 1.25rem;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
}

.btn-cta:hover {
  background: var(--accent);
  color: var(--deep);
  box-shadow: 0 4px 18px rgba(255,159,28,0.35);
  text-decoration: none;
}

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

.btn-large {
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border-width: 2px;
}

/* ----------------------------------------------------------
   7. BONUS BANNER
   ---------------------------------------------------------- */
.bonus-banner {
  background: linear-gradient(135deg, var(--deep) 0%, #2a2235 40%, #1c2b38 100%);
  padding-block: 3.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bonus-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(255,159,28,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(46,196,182,0.10) 0%, transparent 70%);
  pointer-events: none;
}

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

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

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

.banner-sub {
  font-size: 1rem;
  color: #c8c9ce;
  margin-bottom: 0;
}

.banner-offer-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.75rem;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  background: rgba(255,159,28,0.07);
  margin-block: 0.25rem;
}

.offer-highlight {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent);
}

.offer-divider {
  color: var(--muted);
  font-weight: 400;
}

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

/* ----------------------------------------------------------
   8. INTRO SECTION
   ---------------------------------------------------------- */
.intro h1 {
  color: var(--ink);
}

.intro-lead {
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.quick-facts {
  margin-top: 2.5rem;
}

.quick-facts h2 {
  color: var(--ink);
  margin-bottom: 1rem;
}

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

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

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

table thead th {
  text-align: left;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #e0e1e6;
  border-bottom: 2px solid var(--accent);
}

table tbody tr:nth-child(even) {
  background: #ededeb;
}

table tbody tr:nth-child(odd) {
  background: #f9f9f7;
}

table tbody td {
  padding: 0.75rem 1rem;
  text-align: left;
  color: var(--ink);
  border-bottom: 1px solid #ddddd9;
  vertical-align: top;
}

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

table tbody tr:hover {
  background: #e6f7f6;
}

/* dark-section tables */
.section-dark .table-scroll {
  border-color: #3a3d46;
}

.section-dark table tbody tr:nth-child(odd) {
  background: #2a2d36;
}

.section-dark table tbody tr:nth-child(even) {
  background: #252830;
}

.section-dark table tbody td {
  color: #d0d1d5;
  border-bottom-color: #3a3d46;
}

.section-dark table tbody tr:hover {
  background: #2e3540;
}

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

.card {
  border: 1px solid #3a3d46;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  background: #2a2d36;
  transition: box-shadow 0.22s, transform 0.22s;
}

.card:hover {
  box-shadow: 0 6px 24px rgba(255,159,28,0.18);
  transform: translateY(-2px);
}

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

.card p {
  color: #c8c9ce;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   11. FAQ ACCORDION (CSS-only via <details>/<summary>)
   ---------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.faq-item {
  border: 1px solid #d0d1d5;
  border-left: 4px solid var(--accent2);
  border-radius: var(--radius);
  background: #ffffff;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item[open] {
  box-shadow: 0 4px 16px rgba(46,196,182,0.13);
}

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

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

/* Rotating chevron drawn in CSS */
.faq-question::after {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--accent2);
  border-bottom: 2px solid var(--accent2);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-top: -3px;
}

.faq-item[open] .faq-question::after {
  transform: rotate(225deg);
  margin-top: 3px;
}

.faq-question:hover {
  background: #f0fffe;
  color: var(--accent2);
}

.faq-answer {
  padding: 0 1.25rem 1rem 1.25rem;
  font-size: 0.93rem;
  color: #3a3c42;
  border-top: 1px solid #e5e5e2;
  padding-top: 0.85rem;
}

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

/* ----------------------------------------------------------
   12. FIRST IMPRESSIONS & OTHER DARK SECTIONS
   ---------------------------------------------------------- */
.first-impressions h3,
.section-dark h3 {
  color: var(--accent2);
  margin-top: 1.75rem;
}

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

/* ----------------------------------------------------------
   13. FOOTER
   ---------------------------------------------------------- */
.site-footer {
  background: var(--deep);
  color: #a0a2a8;
  border-top: 3px solid var(--accent);
  padding-block: 2.5rem;
}

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

.footer-logo .logo-mark,
.footer-logo .logo-num {
  font-size: 1.5rem;
}

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

.footer-nav a {
  color: #a0a2a8;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

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

.footer-disclaimer {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid #2e3140;
  padding-top: 1rem;
  width: 100%;
}

.footer-disclaimer p { margin-bottom: 0.5rem; }

.footer-age {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.gamble-aware {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-copy {
  font-size: 0.78rem;
  color: #555870;
  width: 100%;
  border-top: 1px solid #2e3140;
  padding-top: 1rem;
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   14. PAYMENTS SECTION (light)
   ---------------------------------------------------------- */
.payments-section h3 {
  color: var(--base);
  margin-top: 1.75rem;
}

/* ----------------------------------------------------------
   15. BREAKPOINT: 640px
   ---------------------------------------------------------- */
@media (min-width: 640px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .banner-title { font-size: 2.1rem; }

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

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

  .banner-offer-box {
    gap: 0.5rem 1.25rem;
  }

  .container {
    padding-inline: 1.5rem;
  }

  table { font-size: 0.95rem; }
}

/* ----------------------------------------------------------
   16. BREAKPOINT: 1024px
   ---------------------------------------------------------- */
@media (min-width: 1024px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.9rem; }

  .container { padding-inline: 2rem; }

  .header-inner { gap: 2rem; }

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

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

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

  .banner-offer-box {
    flex-wrap: nowrap;
  }

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

  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem;
  }

  .footer-inner > * { flex-shrink: 0; }

  .footer-disclaimer {
    flex: 1 1 100%;
    border-top: 1px solid #2e3140;
  }

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

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

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

  .intro-lead { font-size: 1.15rem; }
}

/* ----------------------------------------------------------
   17. MISCELLANEOUS UTILITIES
   ---------------------------------------------------------- */
.cards-section .card-grid {
  /* already handled above */
}

/* Ensure facts-table in light section has correct bg */
.intro .table-scroll {
  border-color: #d0d1d5;
}

.intro table tbody tr:nth-child(odd)  { background: #f9f9f7; }
.intro table tbody tr:nth-child(even) { background: #eeeeed; }
.intro table tbody td { color: var(--ink); border-bottom-color: #d8d8d4; }
.intro table tbody tr:hover { background: #e6f7f6; }

/* Payments table in light section */
.payments-section .table-scroll { border-color: #d0d1d5; }
.payments-section table tbody tr:nth-child(odd)  { background: #f9f9f7; }
.payments-section table tbody tr:nth-child(even) { background: #eeeeed; }
.payments-section table tbody td { color: var(--ink); border-bottom-color: #d8d8d4; }
.payments-section table tbody tr:hover { background: #e6f7f6; }