/* ============================================================
   RICKY CASINO – Global Stylesheet
   ============================================================ */

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

:root {
  --bg-dark:    #0d0d1a;
  --bg-card:    #161627;
  --bg-header:  #0a0a16;
  --accent:     #f5a623;
  --accent-hover: #e8941a;
  --red:        #e63946;
  --gold:       #ffd700;
  --silver:     #c0c0c0;
  --bronze:     #cd7f32;
  --text-main:  #f0f0f0;
  --text-muted: #888aaa;
  --border:     #2a2a45;
  --radius:     10px;
  --radius-sm:  6px;
  --font:       'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,166,35,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-lg { padding: 14px 36px; font-size: 1rem; }
.btn-sm { padding: 7px 14px; font-size: 0.8rem; }
.w-full { width: 100%; }

/* ---------- Section Titles ---------- */
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  color: var(--text-main);
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 0.95rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.logo-link { flex-shrink: 0; }
.logo { height: 44px; width: auto; }

.main-nav {
  display: flex;
  gap: 4px;
  margin-left: 16px;
}
.main-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 50px;
  transition: all 0.2s;
  text-decoration: none;
}
.main-nav a:hover,
.main-nav a.nav-active {
  color: var(--text-main);
  background: rgba(255,255,255,0.06);
}
.main-nav a.nav-active {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: border-color 0.2s;
}
.lang-selector:hover { border-color: var(--accent); color: var(--accent); }
.lang-selector img { border-radius: 2px; }
.chevron { width: 10px; height: 6px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-header);
  border-top: 1px solid var(--border);
}
.mobile-nav a {
  color: var(--text-muted);
  font-size: 1rem;
  text-decoration: none;
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav hr { border-color: var(--border); }
.mobile-nav.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero picture {
  display: contents;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 60px 20px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #fff;
}

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

.hero-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
}

/* ============================================================
   GAME SECTION
   ============================================================ */
.game-section {
  padding: 56px 0 40px;
}

/* Tabs */
.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn:hover { border-color: var(--accent); color: var(--accent); }
.tab-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 700;
}

/* Search */
.search-bar-wrap {
  position: relative;
  max-width: 320px;
  margin-bottom: 28px;
}
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}
.search-input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.search-input:focus { border-color: var(--accent); }
.search-input::placeholder { color: var(--text-muted); }

/* Game Grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.game-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
}
.game-card.hidden { display: none; }

.card-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.game-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.game-card:hover .card-overlay { opacity: 1; }

.card-title {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 10px;
  text-align: center;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.no-results {
  text-align: center;
  color: var(--text-muted);
  padding: 48px 20px;
  font-size: 1rem;
}

/* ============================================================
   PROMOTIONS
   ============================================================ */
.promo-section {
  padding: 56px 0;
  background: var(--bg-card);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.promo-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, transform 0.2s;
}
.promo-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.promo-badge {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 50px;
  align-self: flex-start;
}

.promo-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.promo-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-grow: 1;
}

/* ============================================================
   TOURNAMENTS
   ============================================================ */
.tournament-section {
  padding: 56px 0;
}

.tournament-card {
  display: flex;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.tournament-info {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.live-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 3px 10px;
  border-radius: 50px;
  align-self: flex-start;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.tournament-info h3 { font-size: 1.4rem; font-weight: 700; }
.tournament-info p { color: var(--text-muted); font-size: 0.95rem; }

.tournament-meta {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.leaderboard {
  flex: 0 0 280px;
  min-width: 220px;
}
.leaderboard h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.leaderboard ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.leaderboard li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-dark);
}
.leaderboard li .prize {
  margin-left: auto;
  color: var(--accent);
  font-weight: 700;
}

.rank {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--border);
  flex-shrink: 0;
}
.rank.gold   { background: var(--gold); color: #000; }
.rank.silver { background: var(--silver); color: #000; }
.rank.bronze { background: var(--bronze); color: #fff; }

/* ============================================================
   VIP SECTION
   ============================================================ */
.vip-section {
  padding: 56px 0;
  background: var(--bg-card);
  text-align: center;
}

.vip-levels {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px 0;
}

.vip-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  width: 220px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.vip-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.vip-card.featured {
  border-color: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 0 32px rgba(245,166,35,0.2);
}

.vip-icon {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 10px;
  padding: 4px 14px;
  border: 1px solid var(--accent);
  border-radius: 50px;
  display: inline-block;
}

.vip-card h4 { font-size: 1.15rem; margin-bottom: 16px; }

.vip-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.vip-card li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.vip-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ============================================================
   PROVIDERS & PAYMENTS
   ============================================================ */
.providers-section,
.payments-section {
  padding: 48px 0;
}

.providers-grid,
.payments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.provider-chip,
.payment-chip {
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  transition: all 0.2s;
  cursor: pointer;
}
.provider-chip:hover,
.payment-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(245,166,35,0.06);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #07071200;
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}

.footer-top {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand {
  flex: 0 0 280px;
  min-width: 220px;
}
.footer-logo { height: 40px; margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.responsible-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.badge {
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  flex: 1;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 130px;
}
.footer-col h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.disclaimer {
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  width: 100%;
  max-width: 420px;
  margin: 20px;
  position: relative;
  animation: slideUp 0.25s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text-main); }

.modal-form h2 { margin-bottom: 24px; font-size: 1.4rem; }

.modal-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.modal-form input[type="text"],
.modal-form input[type="email"],
.modal-form input[type="password"],
.modal-form input[type="date"] {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-dark);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.modal-form input:focus { border-color: var(--accent); }

.checkbox-label {
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 10px !important;
  color: var(--text-muted) !important;
  font-weight: 400 !important;
  line-height: 1.4;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
}

.modal-switch {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* Social login divider */
.social-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 14px;
}
.social-divider::before,
.social-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.social-divider span {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Social login buttons */
.social-login-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 4px;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.btn-whatsapp {
  background: #1a2e1a;
  color: #25d366;
  border-color: #25d366;
}
.btn-whatsapp:hover {
  background: #25d366;
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}

.btn-telegram {
  background: #1a2333;
  color: #2aabee;
  border-color: #2aabee;
}
.btn-telegram:hover {
  background: #2aabee;
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(42,171,238,0.3);
}

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

/* ---- Tablet (≤ 900px) ---- */
@media (max-width: 900px) {
  /* Header */
  .main-nav        { display: none; }
  .header-actions  { display: none; }
  .hamburger       { display: flex; }
  .header-inner    { height: 60px; gap: 12px; }
  .logo            { height: 36px; }

  /* Hero */
  .hero            { min-height: 420px; }
  .hero-content    { padding: 40px 20px; }

  /* Tournament */
  .tournament-card { flex-direction: column; gap: 24px; }
  .leaderboard     { flex: auto; width: 100%; }

  /* Footer */
  .footer-top      { flex-direction: column; gap: 32px; }
  .footer-brand    { flex: auto; }
  .footer-links    { gap: 24px; }
}

/* ---- Mobile (≤ 600px) ---- */
@media (max-width: 600px) {
  /* Base spacing */
  .container { padding: 0 14px; }

  /* Section padding */
  .game-section        { padding: 28px 0 20px; }
  .promo-section       { padding: 36px 0; }
  .tournament-section  { padding: 36px 0; }
  .vip-section         { padding: 36px 0; }
  .providers-section,
  .payments-section    { padding: 28px 0; }
  .site-footer         { padding: 36px 0 20px; }

  /* Header */
  .header-inner { height: 54px; gap: 8px; }
  .logo         { height: 30px; }

  /* Hero */
  .hero         { min-height: 320px; }
  .hero-content { padding: 28px 14px; max-width: 100%; }
  .hero-title   { font-size: clamp(1.55rem, 7.5vw, 2.2rem); }
  .hero-sub     { font-size: 0.8rem; }

  /* Section titles */
  .section-title { font-size: 1.35rem; }
  .section-sub   { font-size: 0.88rem; margin-bottom: 24px; }

  /* Category tabs – horizontal scroll, no wrap */
  .category-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .category-tabs::-webkit-scrollbar { display: none; }
  .tab-btn { flex-shrink: 0; padding: 7px 14px; font-size: 0.82rem; }

  /* Search bar – full width */
  .search-bar-wrap { max-width: 100%; margin-bottom: 20px; }

  /* Game grid – 3 columns */
  .game-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .card-title { font-size: 0.74rem; padding: 6px 6px; }

  /* Promotions (homepage strip) */
  .promo-grid    { grid-template-columns: 1fr; gap: 14px; margin-top: 20px; }
  .promo-card    { padding: 20px 16px; }

  /* Tournament */
  .tournament-card { padding: 20px 16px; gap: 20px; }
  .tournament-info h3 { font-size: 1.15rem; }
  .tournament-meta { flex-direction: column; gap: 6px; }

  /* VIP */
  .vip-levels    { flex-direction: column; align-items: stretch; gap: 14px; margin: 24px 0; }
  .vip-card      { width: 100%; }
  .vip-card.featured { transform: none; box-shadow: 0 0 20px rgba(245,166,35,0.18); }

  /* Providers / Payments chips */
  .provider-chip,
  .payment-chip  { padding: 8px 16px; font-size: 0.82rem; }
  .providers-grid,
  .payments-grid { gap: 8px; margin-top: 20px; }

  /* Footer */
  .footer-links      { flex-direction: column; gap: 20px; }
  .footer-col        { min-width: unset; }
  .footer-bottom     { text-align: center; }
  .responsible-badges { justify-content: center; }
  .footer-logo       { height: 32px; }

  /* Modal */
  .modal         { padding: 24px 18px; margin: 12px; max-width: calc(100vw - 24px); }
  .modal-form h2 { font-size: 1.2rem; margin-bottom: 18px; }

  /* Buttons */
  .btn-lg { padding: 12px 26px; font-size: 0.92rem; }
}

/* ============================================================
   FAQ SECTION (Homepage)
   ============================================================ */

.faq-section {
  padding: 72px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.faq-lead {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
  line-height: 1.6;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: rgba(245,166,35,0.35);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.4;
}

.faq-question:hover { background: rgba(255,255,255,0.03); }

.faq-item.open .faq-question { color: var(--accent); }

.faq-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--text-muted);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.faq-item.open .faq-answer { display: block; }

.faq-answer a { color: var(--accent); }
.faq-answer strong { color: var(--text-main); }

.faq-section .section-title { text-align: center; }

@media (max-width: 600px) {
  .faq-section { padding: 48px 0; }
  .faq-question { font-size: 0.88rem; padding: 16px 18px; }
  .faq-answer { font-size: 0.84rem; padding: 14px 18px 16px; }
}

/* ============================================================
   PROMO POPUP
   ============================================================ */

#promoPopup {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(110%);
  z-index: 10000;
  width: 460px;
  max-width: calc(100vw - 20px);
  transition: transform 0.6s cubic-bezier(0.34, 1.25, 0.64, 1);
  pointer-events: none;
}

#promoPopup.pp-visible {
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

#promoPopup.pp-dismissed {
  transform: translateX(-50%) translateY(110%);
  pointer-events: none;
}

/* Character peeks above the panel */
.pp-char-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 155px;
  z-index: 2;
  pointer-events: none;
}

.pp-char {
  width: 155px;
  height: auto;
  display: block;
}

/* Styled panel */
.pp-panel {
  background: linear-gradient(150deg, #13132c 0%, #1e0d36 60%, #0d1b30 100%);
  border: 1px solid rgba(245, 166, 35, 0.45);
  border-bottom: none;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 48px rgba(245, 166, 35, 0.14), 0 -4px 20px rgba(0, 0, 0, 0.55);
  padding: 18px 20px 18px 168px; /* left space for character */
  position: relative;
  min-height: 90px;
}

/* Close button */
.pp-close {
  position: absolute;
  top: -13px;
  right: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1e1e38;
  border: 1px solid rgba(245, 166, 35, 0.35);
  color: var(--text-muted);
  font-size: 0.65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 3;
}

.pp-close:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* Content */
.pp-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pp-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 2px;
}

.pp-amount {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1px;
}

.pp-spins {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
}

.pp-cta {
  padding: 9px 22px;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.pp-terms {
  font-size: 0.64rem;
  color: rgba(255, 255, 255, 0.32);
  line-height: 1.4;
}

/* ---- Mobile ---- */
@media (max-width: 480px) {
  #promoPopup {
    width: calc(100vw - 12px);
    max-width: 100%;
  }

  .pp-char-wrap {
    width: 140px;
  }

  .pp-char {
    width: 140px;
  }

  .pp-panel {
    padding: 14px 14px 14px 152px;
    min-height: 84px;
  }

  .pp-amount {
    font-size: 1.55rem;
  }

  .pp-spins {
    font-size: 0.76rem;
    margin-bottom: 8px;
  }

  .pp-cta {
    padding: 8px 16px;
    font-size: 0.83rem;
  }

  .pp-eyebrow {
    font-size: 0.65rem;
  }
}
