/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --base:    #31183C;
  --deep:    #1D0E24;
  --accent:  #3FD9A4;
  --accent2: #E06BC0;
  --surface: #F6F3F7;
  --ink:     #1F1226;
  --muted:   #6E5D77;

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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--surface);
}

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

ul {
  list-style: none;
}

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

a:hover {
  text-decoration: underline;
}

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: Tahoma, 'Segoe UI', Verdana, sans-serif;
  color: var(--ink);
  line-height: 1.25;
}

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

h2 {
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

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

.lead {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--base);
  margin-bottom: 1rem;
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: Tahoma, 'Segoe UI', Verdana, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.65rem 1.5rem;
  border-radius: 9999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}

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

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

.btn-accent:hover {
  background: #2fc492;
  border-color: #2fc492;
  color: var(--deep);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Large variant */
.btn-lg {
  font-size: 1.15rem;
  padding: 0.85rem 2.2rem;
}

/* Outlined CTA in header */
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--deep);
  text-decoration: none;
  transform: translateY(-1px);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--base);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(29, 14, 36, 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;
  text-decoration: none;
  font-family: Tahoma, 'Segoe UI', Verdana, sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.wordmark:hover {
  text-decoration: none;
}

.wm-prefix {
  color: #fff;
  background: var(--deep);
  padding: 0.15em 0.25em;
  border-radius: var(--radius) 0 0 var(--radius);
}

.wm-suffix {
  color: var(--deep);
  background: var(--accent);
  padding: 0.15em 0.3em 0.15em 0.2em;
  border-radius: 0 var(--radius) var(--radius) 0;
}

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

.main-nav a {
  color: #e8e0ed;
  font-family: Tahoma, 'Segoe UI', Verdana, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.3rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-decoration: none;
  outline: none;
}

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

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

.bonus-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(63, 217, 164, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(224, 107, 192, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

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

.banner-eyebrow {
  font-family: Tahoma, 'Segoe UI', Verdana, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 0;
}

.banner-headline {
  font-family: Tahoma, 'Segoe UI', Verdana, sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  max-width: 640px;
  margin-bottom: 0;
}

.banner-fine {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ============================================================
   SECTIONS — general spacing
   ============================================================ */
.section-intro,
.section-impressions,
.section-games,
.section-bonuses,
.section-payments,
.section-responsible,
.section-faq,
.section-cards {
  padding: 3rem 0;
}

/* Alternate background sections */
.section-alt {
  background: #ede8f0;
}

/* ============================================================
   PAYMENTS TABLE
   ============================================================ */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(49, 24, 60, 0.10);
  margin: 1.5rem 0;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.92rem;
  font-family: Georgia, 'Times New Roman', serif;
}

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

thead th {
  font-family: Tahoma, 'Segoe UI', Verdana, sans-serif;
  font-weight: 700;
  text-align: left;
  padding: 0.75rem 1rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

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

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

tbody tr:hover {
  background: #e3d8ed;
  transition: background 0.15s;
}

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

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

/* ============================================================
   FAQ ACCORDION (CSS-only via details/summary)
   ============================================================ */
.section-faq h2 {
  margin-bottom: 1.5rem;
}

.faq-item {
  border: 1px solid #d4c9de;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 3px 12px rgba(49, 24, 60, 0.10);
}

.faq-item[open] {
  box-shadow: 0 4px 16px rgba(49, 24, 60, 0.14);
  border-color: var(--accent);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-family: Tahoma, 'Segoe UI', Verdana, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--base);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.15s, color 0.15s;
}

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

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

.faq-question:hover {
  background: #f5f0f9;
  color: var(--deep);
}

.faq-item[open] .faq-question {
  background: var(--base);
  color: #fff;
}

.faq-item[open] .faq-question:hover {
  background: var(--deep);
  color: #fff;
}

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

/* Rotating chevron drawn in CSS */
.faq-chevron {
  display: inline-block;
  flex-shrink: 0;
  width: 1.1em;
  height: 1.1em;
  position: relative;
  transition: transform 0.3s;
}

.faq-chevron::before,
.faq-chevron::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 0.52em;
  height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s, background 0.15s;
}

.faq-chevron::before {
  left: 50%;
  transform: translate(-90%, -50%) rotate(45deg);
}

.faq-chevron::after {
  left: 50%;
  transform: translate(-15%, -50%) rotate(-45deg);
}

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

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

.faq-answer {
  padding: 1rem 1.25rem 1.25rem;
  font-size: 0.97rem;
  color: var(--ink);
  border-top: 1px solid #e8e0ed;
}

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

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

/* ============================================================
   CARD GRID
   ============================================================ */
.section-cards h2 {
  margin-bottom: 1.75rem;
}

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

.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(49, 24, 60, 0.09);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 6px 24px rgba(49, 24, 60, 0.16);
  transform: translateY(-3px);
}

/* Thick accent bar along top edge */
.card-accent-bar {
  height: 5px;
  background: linear-gradient(90deg, var(--accent) 60%, var(--accent2) 100%);
  flex-shrink: 0;
}

.card-body {
  padding: 1.5rem;
  flex: 1;
}

.card-body h3 {
  font-family: Tahoma, 'Segoe UI', Verdana, sans-serif;
  color: var(--base);
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--deep);
  color: #c2b3cc;
  padding: 2.5rem 0;
  margin-top: 0;
}

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

/* Footer wordmark */
.footer-brand .wm-prefix,
.footer-brand .wm-suffix {
  font-family: Tahoma, 'Segoe UI', Verdana, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
}

.footer-brand .wm-prefix {
  color: #fff;
  background: rgba(255,255,255,0.1);
  padding: 0.12em 0.22em;
  border-radius: var(--radius) 0 0 var(--radius);
}

.footer-brand .wm-suffix {
  color: var(--deep);
  background: var(--accent);
  padding: 0.12em 0.25em 0.12em 0.18em;
  border-radius: 0 var(--radius) var(--radius) 0;
}

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

/* Footer nav */
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}

.footer-nav a {
  color: #c2b3cc;
  font-family: Tahoma, 'Segoe UI', Verdana, sans-serif;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.15s;
}

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

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

/* Footer legal text */
.footer-legal p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #9a8aa5;
  margin-bottom: 0.5rem;
}

.footer-legal p:last-child {
  margin-bottom: 0;
}

.footer-age {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem !important;
  color: #c2b3cc !important;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent2);
  color: #fff;
  font-family: Tahoma, 'Segoe UI', Verdana, sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.15em 0.45em;
  border-radius: var(--radius);
  line-height: 1.3;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE — 640px+
   ============================================================ */
@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: 2.1rem;
  }

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

  .footer-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem 2rem;
  }

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

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

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

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

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

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

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

  .main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .main-nav ul {
    gap: 0.25rem 1.75rem;
  }

  h1 { font-size: 2.25rem; }

  h2 { font-size: 2rem; }

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

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

  .bonus-banner {
    padding: 5rem 2rem;
  }

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

  .footer-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto;
    align-items: start;
  }

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

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

  .footer-legal {
    grid-column: 3;
    grid-row: 1;
    max-width: 380px;
  }
}