/* ============================================================
   CSS CUSTOM PROPERTIES — Burgundy / Gold palette
   ============================================================ */
:root {
  --base:    #3B1220;
  --deep:    #250A14;
  --accent:  #E3B44B;
  --accent2: #C4566E;
  --surface: #F8F3F1;
  --ink:     #22121A;
  --muted:   #75606A;

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

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

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

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

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

a {
  color: var(--accent2);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--accent); }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

ul { list-style: none; }

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

h1 { font-size: 2.25rem; }
h2 { font-size: 1.65rem; margin-top: 2.25rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.2rem;  margin-top: 1.5rem;  margin-bottom: 0.5rem; }

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

strong { font-weight: 700; }

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

.main-content {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

/* ============================================================
   AGE STRIP  (dark utility bar above the header)
   ============================================================ */
.age-strip {
  background: var(--deep);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 0.35rem 1rem;
}

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

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

/* --- Logo wordmark --- */
.logo-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1;
}

.logo-wordmark {
  font-family: var(--font-head);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-shadow:
    0 1px 0 rgba(255,255,255,0.12),
    0 2px 6px rgba(0,0,0,0.6);
}

.logo-sub {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- Main navigation --- */
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.1rem;
}

.main-nav a {
  display: block;
  padding: 0.3rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(248,243,241,0.8);
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.02em;
}

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

.main-nav a.active {
  background: var(--accent);
  color: var(--deep);
}

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

/* ============================================================
   BONUS BANNER
   ============================================================ */
.bonus-banner {
  background: linear-gradient(135deg, var(--deep) 0%, var(--base) 55%, #5a1d30 100%);
  padding: 2.5rem 0;
}

.bonus-banner--second {
  margin-top: 2.5rem;
}

/* banner within a .section that has no .container wrapper */
.bonus-banner--second .banner-inner {
  max-width: 680px;
}

.banner-inner {
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

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

.banner-title {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--accent);
  margin-top: 0;
  margin-bottom: 0.65rem;
}

.banner-desc {
  color: rgba(248,243,241,0.85);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-cta {
  display: inline-block;
  background: linear-gradient(180deg, #f0c460 0%, var(--accent) 50%, #c49328 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 3px 10px rgba(0,0,0,0.35);
  color: var(--deep);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-cta:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 5px 16px rgba(0,0,0,0.4);
}

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

.btn-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* ============================================================
   INTRO SECTION
   ============================================================ */
.intro-section {
  margin-bottom: 2.5rem;
}

.page-h1 {
  font-size: 2.25rem;
  color: var(--base);
  margin-bottom: 1rem;
  margin-top: 0;
}

/* ============================================================
   TABLES
   ============================================================ */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0;
  border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(59,18,32,0.12);
}

.facts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
  border: 2px solid var(--muted);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 400px;
}

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

.facts-table thead th {
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  white-space: nowrap;
}

.facts-table tbody tr {
  border-bottom: 1px solid rgba(117,96,106,0.25);
  transition: background 0.15s;
}

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

.facts-table tbody tr:nth-child(even) {
  background: rgba(59,18,32,0.04);
}

.facts-table tbody tr:hover {
  background: rgba(227,180,75,0.1);
}

.facts-table tbody td {
  padding: 0.65rem 1rem;
  border: 1px solid rgba(117,96,106,0.18);
  color: var(--ink);
  vertical-align: top;
}

/* ============================================================
   SECTIONS — common spacing
   ============================================================ */
.quick-facts,
.bonuses-section,
.games-section,
.payments-section,
.mobile-section,
.review-detail {
  margin-bottom: 2.75rem;
}

/* ============================================================
   FAQ ACCORDION — CSS-only, hidden-checkbox technique
   ============================================================ */
.faq-section {
  margin-bottom: 2.75rem;
}

.faq-list {
  margin-top: 1rem;
}

.faq-item {
  border: 1px solid rgba(117,96,106,0.3);
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
  overflow: hidden;
  background: #fff;
}

/* 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;
  gap: 1rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--base);
  background: var(--surface);
  user-select: none;
  transition: background 0.2s, color 0.2s;
  border-radius: var(--radius);
}

.faq-question:hover {
  background: rgba(59,18,32,0.06);
  color: var(--accent2);
}

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

/* Plus / minus icon drawn entirely in CSS */
.faq-icon {
  flex-shrink: 0;
  position: relative;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent2);
  border-radius: 50%;
  transition: background 0.2s, border-color 0.2s;
}

/* Horizontal bar — always visible */
.faq-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 2px;
  background: var(--accent2);
  transition: background 0.2s;
}

/* Vertical bar — visible when closed (plus) */
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 10px;
  background: var(--accent2);
  transition: opacity 0.2s, background 0.2s;
}

/* When open: hide vertical bar = minus sign */
.faq-toggle:checked + .faq-question .faq-icon {
  background: var(--accent2);
  border-color: var(--accent2);
}

.faq-toggle:checked + .faq-question .faq-icon::before {
  background: #fff;
}

.faq-toggle:checked + .faq-question .faq-icon::after {
  opacity: 0;
}

/* Answer panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 1.1rem;
  font-size: 0.92rem;
  color: var(--ink);
  background: #fff;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 600px;
  padding: 0.9rem 1.1rem 1.1rem;
}

/* ============================================================
   CARDS GRID
   ============================================================ */
.cards-section {
  margin-bottom: 2.75rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(117,96,106,0.25);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(59,18,32,0.08);
  transition: box-shadow 0.25s, transform 0.2s;
  padding-bottom: 1.25rem;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(59,18,32,0.16);
  transform: translateY(-2px);
}

.card-accent-bar {
  height: 5px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent2) 100%);
  width: 100%;
}

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

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

/* ============================================================
   CHECKLIST (vhod & registraciya pages)
   ============================================================ */
.checklist {
  background: rgba(59,18,32,0.04);
  border-left: 4px solid var(--accent2);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}

.checklist h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1rem;
  color: var(--base);
}

.checklist ul {
  list-style: none;
  padding: 0;
}

.checklist ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  color: var(--ink);
}

.checklist ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--deep);
  color: rgba(248,243,241,0.7);
  padding: 2.5rem 0;
  margin-top: 1rem;
}

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

.footer-logo .logo-wordmark {
  font-size: 1.5rem;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
}

.footer-nav a {
  color: rgba(248,243,241,0.65);
  font-size: 0.85rem;
  transition: color 0.2s;
}

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

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

.footer-info {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(248,243,241,0.5);
}

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

.footer-copy {
  font-size: 0.75rem;
  color: rgba(248,243,241,0.35);
}

/* ============================================================
   REVIEW DETAIL section
   ============================================================ */
.review-detail {
  margin-bottom: 2.75rem;
}

.review-detail h3 {
  color: var(--base);
  border-left: 3px solid var(--accent);
  padding-left: 0.75rem;
}

/* ============================================================
   BONUS BANNER inside sections (no outer .container)
   ============================================================ */
section.bonus-banner.bonus-banner--second .banner-inner,
section.bonus-banner--second .banner-inner {
  max-width: 680px;
  margin: 0 auto;
}

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

  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .main-nav a {
    font-size: 0.85rem;
    padding: 0.35rem 0.7rem;
  }

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

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

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

  .banner-inner {
    padding: 2rem 2rem;
  }

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

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

  .header-inner {
    flex-wrap: nowrap;
    gap: 1.5rem;
  }

  .logo-wrap {
    flex-shrink: 0;
  }

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

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

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

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

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

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

  .footer-logo { flex-shrink: 0; }
  .footer-nav  { flex: 0 1 auto; }
  .footer-info { flex: 1 1 300px; }

  h2 { font-size: 1.85rem; }
}

/* ============================================================
   LARGE SCREEN — cards go 4 columns
   ============================================================ */
@media (min-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}