/* ============================================================
   Mafia Casino (smerek3.com) — Global Stylesheet
   Brand: #E0BB35 gold | #F5123E red | #BA0227 dark red | #171B26 dark
   Font: Plus Jakarta Sans
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --bg: #171B26;
  --surface: #1E2333;
  --surface-hover: #252B3D;
  --fg: #EAECF0;
  --fg-secondary: #B0B4C0;
  --muted: #8B8FA3;
  --border: #2A3040;
  --accent: #E0BB35;
  --accent-hover: #E8CC4E;
  --accent-dim: #C4A02E;
  --red: #F5123E;
  --red-hover: #FF2A52;
  --darkred: #BA0227;
  --success: #22C55E;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --header-h: 72px;
  --radius: 12px;
  --radius-sm: 8px;
}

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

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  padding-top: var(--header-h);
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--accent-hover);
}

ul, ol {
  padding-left: 1.25rem;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(23, 27, 38, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  flex-shrink: 0;
}
.logo img {
  width: 130px;
}
.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  gap: 0.25rem;
  padding: 0;
}
.nav-list li {
  margin: 0;
}
.nav-list li a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-secondary);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-list li a:hover,
.nav-list li a.active {
  color: var(--accent);
  background: rgba(224, 187, 53, 0.08);
}

.header-cta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-left: 1rem;
}

/* --- Burger Button --- */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: 0.3s;
}
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Menu Overlay --- */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: var(--surface);
  z-index: 999;
  padding: 6rem 1.5rem 7rem;
  transition: right 0.3s ease;
  overflow-y: auto;
  border-left: 1px solid var(--border);
}
.mobile-menu.open {
  right: 0;
}
.mobile-menu .nav-list {
  flex-direction: column;
  gap: 0.25rem;
  display: flex;
}
.mobile-menu .nav-list li a {
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}
.mobile-menu .mobile-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

.btn-accent {
  background: var(--accent);
  color: #171B26;
}
.btn-accent:hover {
  background: var(--accent-hover);
  color: #171B26;
}

.btn-red {
  background: var(--red);
  color: #fff;
}
.btn-red:hover {
  background: var(--red-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 3rem 0 2.5rem;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(224, 187, 53, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}
.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.125rem;
  color: var(--fg-secondary);
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.hero .hero-image {
  margin: 2rem auto 0;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-image {
  margin: 1rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  max-width: 900px;
}
.hero-image img {
  width: 100%;
  height: auto;
}
.hero-image a {
  display: block;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  padding: 1rem 0 0;
  font-size: 0.8125rem;
}
.breadcrumbs a {
  color: var(--muted);
}
.breadcrumbs a:hover {
  color: var(--accent);
}
.breadcrumbs .sep {
  color: var(--border);
  margin: 0 0.375rem;
}
.breadcrumbs .current {
  color: var(--fg-secondary);
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  padding: 1.5rem 0 1rem;
}
.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--fg);
  margin-top: 0.5rem;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.content-section {
  padding: 3rem 0;
}
.content-section + .content-section {
  border-top: 1px solid var(--border);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

h2 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  color: var(--accent);
  margin-top: 2.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--fg);
  margin-top: 1.75rem;
}

h2 + h3 {
  margin-top: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--fg-secondary);
  max-width: 75ch;
}

p + ul, p + ol {
  margin-top: -0.5rem;
}

ul, ol {
  margin-bottom: 1rem;
  color: var(--fg-secondary);
}
ul li, ol li {
  margin-bottom: 0.375rem;
}

/* --- Lists --- */
.content-list {
  list-style: none;
  padding: 0;
}
.content-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
}
.content-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ============================================================
   TABLE OF CONTENTS (collapsible)
   ============================================================ */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
  overflow: hidden;
}
.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  cursor: pointer;
  user-select: none;
}
.toc-header h3 {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--accent);
  font-weight: 600;
}
.toc-toggle {
  font-size: 0.75rem;
  color: var(--muted);
  transition: transform 0.3s;
}
.toc-toggle.open {
  transform: rotate(180deg);
}
.toc-body {
  padding: 0 1.25rem 1rem;
  display: none;
}
.toc-body.open {
  display: block;
}
.toc-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 1.5rem;
}
.toc-body ul li {
  margin-bottom: 0.375rem;
  break-inside: avoid;
}
.toc-body ul li a {
  font-size: 0.875rem;
  color: var(--fg-secondary);
  display: block;
  padding: 0.25rem 0;
}
.toc-body ul li a:hover {
  color: var(--accent);
}

/* ============================================================
   TABLES
   ============================================================ */
.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  -webkit-overflow-scrolling: touch;
}
.table-wrap::-webkit-scrollbar {
  height: 6px;
}
.table-wrap::-webkit-scrollbar-track {
  background: var(--bg);
}
.table-wrap::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

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

caption {
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: left;
  padding: 0.5rem 0;
  font-weight: 500;
  caption-side: top;
}

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--fg-secondary);
}

th {
  background: var(--surface);
  color: var(--fg);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

tr:hover td {
  background: var(--surface-hover);
}

/* ============================================================
   INFO CARDS
   ============================================================ */
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1.5rem 0;
}
.info-card .card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

/* ============================================================
   STATS / HIGHLIGHTS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.stat-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.stat-item .stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}
.stat-item .stat-label {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* ============================================================
   AUTHOR BLOCK
   ============================================================ */
.author-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2.5rem 0;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #171B26;
  flex-shrink: 0;
}
.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--fg);
}
.author-info p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
  max-width: 100%;
}

/* ============================================================
   PAYMENT ICONS
   ============================================================ */
.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}
.payment-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fg-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
}
.trust-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--fg-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 0 6rem;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.footer-col h4 {
  font-size: 0.9375rem;
  color: var(--fg);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col p,
.footer-col li {
  font-size: 0.875rem;
  color: var(--muted);
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 0.5rem;
}
.footer-col ul li a {
  color: var(--muted);
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--fg-secondary);
  white-space: nowrap;
}
.age-badge strong {
  font-size: 1.125rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}
.footer-links li a {
  font-size: 0.8125rem;
  color: var(--muted);
}
.footer-links li a:hover {
  color: var(--accent);
}

.footer-desc {
  max-width: 400px;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   STICKY BOTTOM CTA (mobile)
   ============================================================ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 997;
  background: rgba(23, 27, 38, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 0.5rem 1rem;
}
.sticky-cta-inner {
  display: flex;
  gap: 0.75rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.sticky-cta-inner .btn {
  flex: 1;
  padding: 0.55rem 0.75rem;
  font-size: 0.9375rem;
}
.sticky-cta-inner .btn:first-child {
  background: var(--accent);
  color: #171B26;
}
.sticky-cta-inner .btn:last-child {
  background: transparent;
  color: var(--fg);
  border: 1.5px solid var(--border);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open {
  display: flex;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 360px;
  width: 100%;
  text-align: center;
}
.modal h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.modal p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.modal-actions {
  display: flex;
  gap: 0.75rem;
}
.modal-actions .btn {
  flex: 1;
}
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(224, 187, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.feature-card .icon svg {
  display: block;
  width: 32px;
  height: 32px;
}
.feature-card h4 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  color: var(--fg);
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}

/* ============================================================
   GAME LIST (games page)
   ============================================================ */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  transition: border-color 0.2s;
}
.game-card:hover {
  border-color: var(--accent);
}
.game-card .game-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.game-card h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.game-card p {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

/* ============================================================
   BONUS CARDS (promo page)
   ============================================================ */
.bonus-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.25rem 0;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: border-color 0.2s;
}
.bonus-card:hover {
  border-color: var(--accent);
}
.bonus-card .bonus-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(245, 18, 62, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}
.bonus-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}
.bonus-card .bonus-info {
  flex: 1;
}
.bonus-card .bonus-info h4 {
  font-size: 1.0625rem;
  margin-bottom: 0.375rem;
}
.bonus-card .bonus-info p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}
.bonus-card .bonus-tag {
  display: inline-block;
  background: rgba(245, 18, 62, 0.15);
  color: var(--red);
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ============================================================
   STEPS LIST
   ============================================================ */
.steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step;
  margin: 1.5rem 0;
}
.steps-list li {
  counter-increment: step;
  padding: 0.75rem 0 0.75rem 2.5rem;
  position: relative;
  color: var(--fg-secondary);
  border-bottom: 1px solid var(--border);
}
.steps-list li:last-child {
  border-bottom: none;
}
.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #171B26;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
}

/* ============================================================
   HIGHLIGHT BOX
   ============================================================ */
.highlight-box {
  background: rgba(224, 187, 53, 0.06);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.highlight-box p {
  margin: 0;
  font-size: 0.9375rem;
}
.highlight-box.red {
  background: rgba(245, 18, 62, 0.06);
  border-left-color: var(--red);
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.faq-item:first-child {
  padding-top: 0;
}
.faq-q {
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-q::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform 0.3s;
}
.faq-q.open::after {
  content: '−';
}
.faq-a {
  display: none;
  padding-top: 0.75rem;
  color: var(--fg-secondary);
  font-size: 0.9375rem;
}
.faq-a.open {
  display: block;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-list {
    display: none;
  }
  .header-cta {
    margin-left: auto;
    padding-right: 12px;
  }
  .burger {
    display: flex;
  }

  .header .container {
    justify-content: start;
  }

  .sticky-cta {
    display: block;
  }
}

@media (max-width: 768px) {

  .footer {
    padding-bottom: 7rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .toc-body ul {
    columns: 1;
  }

  .author-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .author-info p {
    text-align: center;
  }

  .bonus-card {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 1.75rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .hero-cta .btn {
    width: 100%;
  }

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

  .logo img {
    width: 110px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .header-cta .btn:last-of-type {
    display: none;
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: fadeIn 0.5s ease forwards;
}



.payments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 10px;
  justify-content: space-between;
}
.payment-item img {
  display: block;
  box-shadow: none;
  margin: 0 !important;
  border-radius: 0;
  border: none;
  max-width: 64px;
  max-height: 28px;
}
.footer-icons {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  gap: 10px;
}
.footer-icons .pay-icon {
  display: flex;
  align-items: center;
}
.footer-icons .pay-icon span {
  width: 30px;
  height: 30px;
  margin-left: 5px;
  font-size: 12px;
  border-radius: 100%;
  border: 1px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-icons .pay-icon img {
  filter: brightness(100);
}
.main-title {
  display: flex;
  align-items: center;
}

.main-title .__right {
  margin-left: 60px;
  flex: 0 0 300px;
}
.main-title .hero-image {
  border: none;
  box-shadow: none;
}
@media (max-width:800px) {
  .payments-grid {
    gap: 4px;
  }
  .payment-item img {
    max-width: 65px;
    max-height: 30px;
  }

  .table-wrap {
    overflow-x: scroll;
  }

      .main-title .__right {
    margin-left: 20px;
    flex: 0 0 220px;
  }
}
@media (max-width:639.98px) {
      .main-title {
    flex-direction: column;
  }

  .main-title .__right {
    margin-left: 0;
    flex: inherit;
  }
  .main-title .__right img {
    width: 300px !important;
  }
}