/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --base:    #1F2933;
  --deep:    #121A21;
  --accent:  #3DA9FC;
  --accent2: #F2B705;
  --surface: #F2F5F7;
  --ink:     #161E26;
  --muted:   #5C6B7A;

  --radius:  14px;
  --container: 1200px;

  --font-heading: 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 {
  font-size: 18px;
  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.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(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  color: var(--accent2);
}

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

ul {
  list-style: none;
}

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

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

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

/* ============================================================
   SECTION BACKGROUNDS
   ============================================================ */
.section-light {
  background-color: var(--surface);
}

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

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

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

/* ============================================================
   SECTION PADDING
   ============================================================ */
.intro,
.first-impressions,
.games-section,
.bonuses-section,
.payments-section,
.responsible-section,
.faq-section,
.cards-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  .intro,
  .first-impressions,
  .games-section,
  .bonuses-section,
  .payments-section,
  .responsible-section,
  .faq-section,
  .cards-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  background-color: var(--deep);
  border-bottom: 3px solid var(--accent);
}

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

@media (min-width: 640px) {
  .header-inner {
    gap: 1rem;
  }
}

/* ── Logo wordmark ──────────────────────────────────────── */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  cursor: default;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: var(--deep);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  border-radius: 8px;
  flex-shrink: 0;
  letter-spacing: -0.03em;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.logo--footer .logo-text {
  color: var(--surface);
}

/* ── Main nav ───────────────────────────────────────────── */
.main-nav {
  width: 100%;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.125rem;
}

.main-nav ul li a {
  display: block;
  padding: 0.45rem 0.9rem;
  color: var(--surface);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.main-nav ul li a:hover {
  background-color: var(--accent);
  color: var(--deep);
  text-decoration: none;
}

.main-nav ul li a:focus-visible {
  outline: 3px solid var(--accent2);
  outline-offset: 2px;
  background-color: var(--accent);
  color: var(--deep);
}

@media (min-width: 640px) {
  .main-nav ul li a {
    font-size: 0.95rem;
    padding: 0.5rem 1.1rem;
  }
}

/* ============================================================
   BONUS BANNER
   ============================================================ */
.bonus-banner {
  background: linear-gradient(135deg, var(--deep) 0%, #1a2e45 100%);
  border-top: 4px solid var(--accent2);
  border-bottom: 4px solid var(--accent2);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.banner-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 640px) {
  .banner-inner {
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .banner-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }

  .banner-text {
    flex: 1 1 55%;
  }

  .banner-terms {
    flex: 1 1 40%;
  }
}

.banner-label {
  display: inline-block;
  background-color: var(--accent2);
  color: var(--deep);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.banner-headline {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .banner-headline {
    font-size: 2rem;
  }
}

.accent-highlight {
  color: var(--accent2);
}

.banner-sub {
  color: #b0c4d8;
  margin-bottom: 1.25rem;
  font-size: 0.97rem;
}

/* ── Terms box ──────────────────────────────────────────── */
.banner-terms {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.banner-terms ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.banner-terms ul li {
  color: #c8d9e8;
  font-size: 0.92rem;
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.45;
}

.banner-terms ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.6rem;
  height: 0.6rem;
  background-color: var(--accent2);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Mid banner tweaks ──────────────────────────────────── */
.bonus-banner--mid {
  background: linear-gradient(135deg, #162030 0%, #1a3050 100%);
}

/* ============================================================
   CTA BUTTON
   ============================================================ */
.btn-cta {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: transparent;
  border: 2.5px solid var(--accent);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.15s;
  white-space: nowrap;
}

.btn-cta:hover {
  background-color: var(--accent);
  color: var(--deep);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-cta:active {
  transform: translateY(0);
}

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

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

/* ============================================================
   PAYMENTS TABLE
   ============================================================ */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  margin-bottom: 1.75rem;
  border: 1.5px solid #d0d8df;
}

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

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

table thead th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

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

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

table tbody tr:hover {
  background-color: #cde2f7;
}

table tbody td {
  padding: 0.8rem 1rem;
  text-align: left;
  color: var(--ink);
  border-bottom: 1px solid #d0d8df;
  white-space: nowrap;
}

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

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

.faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--accent);
  background-color: rgba(61, 169, 252, 0.07);
}

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

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

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

.faq-question:hover {
  color: var(--accent);
  background-color: rgba(255, 255, 255, 0.04);
}

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

.faq-item[open] .faq-question {
  color: var(--accent);
  border-bottom: 1px solid rgba(61, 169, 252, 0.25);
}

/* ── Rotating chevron ───────────────────────────────────── */
.faq-chevron {
  display: inline-block;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  position: relative;
  transition: transform 0.28s ease;
}

.faq-chevron::before,
.faq-chevron::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 0.55rem;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.28s ease, background-color 0.2s;
}

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

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

.faq-item[open] .faq-chevron::before {
  transform: translateY(-50%) rotate(-45deg);
}

.faq-item[open] .faq-chevron::after {
  transform: translateY(-50%) rotate(45deg);
}

/* ── Answer panel ───────────────────────────────────────── */
.faq-answer {
  padding: 1rem 1.25rem 1.25rem;
}

.faq-answer p {
  color: #b8cede;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── Note: one FAQ item has class="faq-chavron" (typo in HTML) ── */
.faq-chevron,
.faq-chavron {
  display: inline-block;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  position: relative;
  transition: transform 0.28s ease;
}

.faq-chavron::before,
.faq-chavron::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 0.55rem;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.28s ease, background-color 0.2s;
}

.faq-chavron::before {
  left: 0;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: right center;
}

.faq-chavron::after {
  right: 0;
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: left center;
}

.faq-item[open] .faq-chavron::before {
  transform: translateY(-50%) rotate(-45deg);
}

.faq-item[open] .faq-chavron::after {
  transform: translateY(-50%) rotate(45deg);
}

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

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background-color: #ffffff;
  border-radius: var(--radius);
  border-top: 5px solid var(--accent);
  box-shadow: 0 2px 12px rgba(31, 41, 51, 0.1);
  padding: 1.5rem 1.5rem 1.75rem;
  transition: box-shadow 0.22s, transform 0.22s;
}

.card:hover {
  box-shadow: 0 6px 24px rgba(61, 169, 252, 0.2);
  transform: translateY(-3px);
}

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

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ============================================================
   SECTION-SPECIFIC HEADING SPACING
   ============================================================ */
.games-section h3,
.bonuses-section h3,
.first-impressions h3,
.payments-section h3,
.responsible-section h3 {
  margin-top: 2rem;
  color: inherit;
}

.section-dark h3 {
  color: #e8f2fa;
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--deep);
  border-top: 3px solid var(--accent);
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

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

@media (min-width: 640px) {
  .footer-inner {
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }

  .footer-brand {
    flex: 0 0 auto;
    min-width: 200px;
  }

  .footer-links {
    flex: 0 0 auto;
  }

  .footer-disclaimer {
    flex: 1 1 auto;
  }
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

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

.footer-links nav ul li a {
  color: #8fa8bf;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links nav ul li a:hover,
.footer-links nav ul li a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.footer-links nav ul li a:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 2px;
  border-radius: 3px;
}

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

.footer-copy {
  color: #4e5f6e !important;
  font-size: 0.8rem !important;
  margin-bottom: 0 !important;
}

/* ============================================================
   UTILITY — smooth gap at section boundaries
   ============================================================ */
main > section:first-child {
  border-top: none;
}

/* ============================================================
   RESPONSIVE TYPOGRAPHY
   ============================================================ */
@media (min-width: 640px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.3rem; }

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

@media (min-width: 1024px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.1rem; }

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

  .cards-grid {
    gap: 2rem;
  }

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

  .faq-answer {
    padding: 1.1rem 1.5rem 1.4rem;
  }
}