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

:root {
  --gold: #FFD700;
  --gold-dark: #C8A400;
  --gold-glow: rgba(255, 215, 0, 0.7);
  --amber: #FF8C00;
  --purple-deep: #2e1060;
  --purple-mid: #4a1a8a;
  --purple-light: #6025b0;
  --white: #ffffff;
  --text-muted: rgba(255,255,255,0.85);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: linear-gradient(160deg, #3a1278 0%, #2e1060 40%, #1e0845 100%);
  background-attachment: fixed;
  color: var(--white);
  min-height: 100vh;
  line-height: 1.7;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; }

h1 { font-size: clamp(3rem, 8vw, 6rem); color: var(--gold); text-shadow: 0 0 30px var(--gold-glow), 0 0 60px var(--gold-glow); line-height: 1.1; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--gold); text-shadow: 0 0 20px var(--gold-glow); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--gold); margin-bottom: 1rem; }

p { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--white); margin-bottom: 1.25rem; line-height: 1.8; }

h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; color: var(--gold); margin-bottom: 0.75rem; }
img { max-width: 100%; display: block; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26, 10, 46, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gold);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.navbar-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  text-shadow: 0 0 20px var(--gold-glow);
  letter-spacing: 2px;
}

.navbar-links { display: flex; gap: 2rem; list-style: none; }
.navbar-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.navbar-links a:hover { color: var(--gold); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { width: 28px; height: 3px; background: var(--gold); border-radius: 2px; display: block; transition: 0.3s; }

/* ===== ACCESSIBILITY ===== */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 1rem 2.5rem;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: var(--purple-deep);
  box-shadow: 0 0 30px var(--gold-glow), 0 4px 20px rgba(255,107,0,0.5);
}
.btn-primary:hover { transform: scale(1.06); box-shadow: 0 0 50px var(--gold-glow), 0 8px 30px rgba(255,107,0,0.7); }

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 3px solid var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}
.btn-secondary:hover { background: var(--gold); color: var(--purple-deep); transform: scale(1.06); }

.btn-danger {
  background: linear-gradient(135deg, #e63946, #c1121f);
  color: #fff;
  box-shadow: 0 0 30px rgba(230,57,70,0.5);
}
.btn-danger:hover { transform: scale(1.06); box-shadow: 0 0 50px rgba(230,57,70,0.8); }

/* ===== SECTIONS ===== */
.section { padding: 100px 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-alt { background: rgba(255,255,255,0.07); }

.section-cta { text-align: center; margin-top: 2.5rem; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: linear-gradient(90deg, var(--purple-mid), var(--purple-light), var(--purple-mid));
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: 1.5rem 2rem;
}
.trust-bar-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.trust-item { display: flex; align-items: center; gap: 0.75rem; font-size: 1.1rem; font-weight: 700; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
.trust-item svg { width: 32px; height: 32px; fill: var(--gold); flex-shrink: 0; }

/* ===== BONUS CARDS ===== */
.bonus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.bonus-card {
  background: linear-gradient(145deg, var(--purple-mid), var(--purple-light));
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 0 30px rgba(255,215,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
.bonus-card:hover { transform: translateY(-6px); box-shadow: 0 0 50px rgba(255,215,0,0.3); }
.bonus-card-icon { font-size: 3.5rem; margin-bottom: 1rem; display: block; }
.bonus-card h3 { font-size: 1.6rem; }
.bonus-card p { font-size: 1.05rem; color: var(--text-muted); }
.bonus-card .amount { font-size: 2.2rem; font-family: var(--font-heading); color: var(--gold); font-weight: 700; margin: 0.75rem 0; display: block; }
.bonus-card .btn { margin-top: 1.5rem; width: 100%; text-align: center; }

/* ===== INNER PAGE HERO ===== */
.page-hero {
  padding: 160px 2rem 80px;
  text-align: center;
  background: linear-gradient(180deg, rgba(26,10,46,0.8) 0%, rgba(26,10,46,0.95) 100%);
}
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero p { font-size: 1.3rem; color: var(--text-muted); max-width: 700px; margin: 1rem auto 0; }

/* ===== CONTENT BLOCKS (terms / resp gaming) ===== */
.content-block { margin-bottom: 3rem; }
.content-block h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); border-bottom: 2px solid var(--gold); padding-bottom: 0.75rem; margin-bottom: 1.5rem; }
.content-block p, .content-block li { font-size: 1.1rem; }
.content-block ul, .content-block ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.content-block li { margin-bottom: 0.6rem; }

/* ===== HELP BOX (responsible gaming) ===== */
.help-box {
  background: linear-gradient(135deg, rgba(230,57,70,0.15), rgba(193,18,31,0.15));
  border: 2px solid #e63946;
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
}
.help-box h2 { color: #ff6b6b; text-shadow: 0 0 20px rgba(230,57,70,0.6); }
.help-box p { font-size: 1.2rem; }
.help-box .phone { font-size: 2rem; font-family: var(--font-heading); color: var(--gold); font-weight: 700; display: block; margin: 1rem 0; }

/* ===== FOOTER ===== */
footer {
  background: rgba(10, 4, 20, 0.98);
  border-top: 2px solid var(--gold);
  padding: 3rem 2rem;
  text-align: center;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin-bottom: 1.5rem; }
.footer-links a { color: var(--gold); text-decoration: none; font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.footer-links a:hover { text-decoration: underline; }
.footer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--purple-deep);
  font-weight: 900;
  font-size: 1.5rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}
.footer-disclaimer { font-size: 0.9rem; color: var(--text-muted); max-width: 800px; margin: 1.5rem auto 0; line-height: 1.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  /* --- Navbar --- */
  .navbar { padding: 0 1.25rem; }
  .navbar-logo { font-size: 1.3rem; }
  .navbar-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--purple-deep);
    border-bottom: 2px solid var(--gold);
    padding: 0.5rem 0;
  }
  .navbar-links.open { display: flex; }
  .navbar-links li { padding: 0.9rem 1.5rem; border-bottom: 1px solid rgba(255,215,0,0.1); }
  .navbar-links li:last-child { border-bottom: none; }
  .navbar-links a { font-size: 1rem; }
  .hamburger { display: flex; }

  /* --- Sections --- */
  .section { padding: 60px 1.25rem; }
  .section-inner { max-width: 100%; }

  /* --- Buttons --- */
  .btn { font-size: 1.1rem; padding: 0.9rem 1.75rem; width: 100%; text-align: center; display: block; }

  /* --- Trust bar --- */
  .trust-bar { padding: 1.25rem 1rem; }
  .trust-bar-inner { gap: 1rem; }
  .trust-item { font-size: 0.8rem; gap: 0.5rem; flex: 1 1 calc(50% - 0.5rem); justify-content: center; }
  .trust-item svg { width: 24px; height: 24px; }

  /* --- Bonus cards --- */
  .bonus-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .bonus-card { padding: 2rem 1.5rem; }
  .bonus-card .amount { font-size: 1.8rem; }

  /* --- Inner page hero --- */
  .page-hero { padding: 110px 1.25rem 50px; }
  .page-hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .page-hero p { font-size: 1rem; }

  /* --- Content blocks --- */
  .content-block { margin-bottom: 2rem; }
  .content-block h2 { font-size: clamp(1.3rem, 5vw, 2rem); }
  .content-block p, .content-block li { font-size: 1rem; }

  /* --- Help box --- */
  .help-box { padding: 1.75rem 1.25rem; }
  .help-box .phone { font-size: 1.5rem; }

  /* --- Footer --- */
  footer { padding: 2.5rem 1.25rem; }
  .footer-links { gap: 1rem; }
  .footer-links a { font-size: 0.85rem; }
  .footer-disclaimer { font-size: 0.8rem; }

  /* --- Typography --- */
  h2 { font-size: clamp(1.6rem, 6vw, 2.5rem); }
  h3 { font-size: clamp(1.2rem, 4vw, 1.6rem); }
}

@media (max-width: 480px) {
  .navbar-logo { font-size: 1.1rem; }
  .trust-item { flex: 1 1 100%; }
  .hero-badge-item { font-size: 0.8rem; padding: 0.35rem 0.9rem; }
  .footer-links { flex-direction: column; align-items: center; gap: 0.75rem; }
}

/* ===== CASINO COMPARISON TABLE ===== */
.casino-table-section { padding: 80px 2rem; }

.casino-table-meta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem;
  max-width: 1100px; margin: 0 auto 1.5rem;
}
.casino-table-meta-updated {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,215,0,0.7);
  background: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 20px; padding: 0.3rem 1rem;
}

/* Desktop table */
.casino-table-wrap { max-width: 1100px; margin: 0 auto; overflow-x: auto; border-radius: 14px; border: 1px solid rgba(255,215,0,0.25); }
.casino-table {
  width: 100%; border-collapse: collapse; min-width: 680px;
  font-family: var(--font-body);
}
.casino-table thead tr {
  background: linear-gradient(90deg, var(--purple-mid), var(--purple-light));
  border-bottom: 2px solid var(--gold);
}
.casino-table th {
  padding: 1.1rem 1.25rem; text-align: left;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold);
}
.casino-table th:last-child { text-align: center; }

.casino-row {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,215,0,0.1);
  transition: background 0.2s;
}
.casino-row:last-child { border-bottom: none; }
.casino-row:hover { background: rgba(255,215,0,0.06); }

.casino-table td { padding: 1.25rem 1.25rem; vertical-align: middle; }
.casino-table td:last-child { text-align: center; }

/* Casino name cell */
.casino-name-cell { display: flex; align-items: center; gap: 0.9rem; }
.casino-logo-placeholder {
  width: 52px; height: 52px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  border: 1px solid rgba(255,215,0,0.3);
}
.casino-logo-placeholder.rr { background: linear-gradient(135deg, #4a1a8a, #6025b0); }
.casino-logo-placeholder.oz { background: linear-gradient(135deg, #1a4a1a, #256025); }
.casino-logo-placeholder.lc { background: linear-gradient(135deg, #4a1a1a, #8a2020); }
.casino-name { font-family: var(--font-heading); font-size: 1.1rem; color: var(--gold); font-weight: 700; line-height: 1.2; }
.casino-sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; }

/* Badge: #1 pick */
.casino-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 4px;
  background: var(--gold); color: var(--purple-deep); margin-top: 0.3rem;
}

/* Bonus cell */
.casino-bonus-amount { font-family: var(--font-heading); font-size: 1.2rem; color: var(--gold); font-weight: 700; }
.casino-bonus-sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; }

/* Rating cell */
.casino-rating { display: flex; align-items: center; gap: 0.5rem; }
.casino-rating-score { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--gold); }
.casino-stars { display: flex; gap: 2px; }
.casino-stars span { color: var(--gold); font-size: 0.85rem; }
.casino-stars span.half { opacity: 0.45; }

/* Features cell */
.casino-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.casino-tag {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.5px;
  padding: 0.25rem 0.65rem; border-radius: 20px;
  background: rgba(255,215,0,0.1); border: 1px solid rgba(255,215,0,0.25);
  color: rgba(255,255,255,0.85);
}

/* CTA cell */
.casino-cta-wrap { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; min-width: 140px; }
.btn-table-primary {
  display: block; width: 100%; text-align: center;
  font-family: var(--font-heading); font-size: 1rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; text-decoration: none;
  padding: 0.75rem 1.25rem; border-radius: 6px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: var(--purple-deep);
  box-shadow: 0 0 18px var(--gold-glow), 0 3px 12px rgba(255,107,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-table-primary:hover { transform: scale(1.05); box-shadow: 0 0 30px var(--gold-glow), 0 6px 20px rgba(255,107,0,0.6); }
.btn-table-secondary {
  display: block; width: 100%; text-align: center;
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase; text-decoration: none;
  padding: 0.5rem 1rem; border-radius: 6px;
  color: var(--gold); border: 1px solid rgba(255,215,0,0.4);
  background: transparent;
  transition: background 0.2s, border-color 0.2s;
}
.btn-table-secondary:hover { background: rgba(255,215,0,0.1); border-color: var(--gold); }

/* Disclaimer */
.casino-table-disclaimer {
  max-width: 1100px; margin: 1rem auto 0;
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
  text-align: center; line-height: 1.5;
}

/* Mobile cards — swap to stacked cards below 680px */
@media (max-width: 680px) {
  .casino-table-section { padding: 60px 1.25rem; }
  .casino-table-wrap { border: none; border-radius: 0; overflow: visible; }
  .casino-table, .casino-table thead, .casino-table tbody,
  .casino-table th, .casino-table td, .casino-table tr { display: block; }
  .casino-table thead { display: none; }
  .casino-row {
    border: 1px solid rgba(255,215,0,0.25); border-radius: 12px;
    margin-bottom: 1.25rem; padding: 1.25rem;
    background: rgba(255,255,255,0.04);
  }
  .casino-row:hover { background: rgba(255,215,0,0.06); }
  .casino-table td { padding: 0.5rem 0; border: none; }
  .casino-table td::before {
    content: attr(data-label);
    display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; color: rgba(255,215,0,0.6); margin-bottom: 0.35rem;
  }
  .casino-table td:first-child::before { display: none; }
  .casino-table td:last-child { text-align: left; margin-top: 0.5rem; }
  .casino-cta-wrap { flex-direction: row; align-items: stretch; }
  .btn-table-primary, .btn-table-secondary { width: auto; flex: 1; }
}

/* ===== WHY CHOOSE GRID ===== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem; margin-top: 3rem; }
.feature-item { background: linear-gradient(145deg, rgba(255,215,0,0.06), rgba(255,255,255,0.03)); border: 1px solid rgba(255,215,0,0.25); border-radius: 10px; padding: 2rem 1.75rem; }
.feature-item-icon { font-size: 2.5rem; margin-bottom: 0.75rem; display: block; }
.feature-item h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.feature-item p { font-size: 1rem; color: var(--text-muted); margin: 0; }

/* ===== GAMES GRID ===== */
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.game-card { background: linear-gradient(145deg, var(--purple-mid), var(--purple-light)); border: 2px solid rgba(255,215,0,0.3); border-radius: 12px; padding: 2rem 1.5rem; text-align: center; transition: border-color 0.2s, transform 0.2s; }
.game-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.game-card-icon { font-size: 3rem; margin-bottom: 0.75rem; display: block; }
.game-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.game-card p { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

/* ===== FAQ ===== */
.faq-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.faq-item { border: 1px solid rgba(255,215,0,0.25); border-radius: 10px; overflow: hidden; }
.faq-question { width: 100%; background: rgba(255,215,0,0.06); border: none; color: var(--gold); font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; text-align: left; padding: 1.25rem 1.5rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: background 0.2s; }
.faq-question:hover { background: rgba(255,215,0,0.12); }
.faq-question .faq-icon { flex-shrink: 0; font-size: 1.4rem; transition: transform 0.25s; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; padding: 0 1.5rem; }
.faq-answer.open { max-height: 400px; padding: 1.25rem 1.5rem; }
.faq-answer p { font-size: 1.05rem; color: var(--text-muted); margin: 0; }

@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .game-card { padding: 1.5rem 1rem; }
  .faq-question { font-size: 1rem; padding: 1rem 1.25rem; }
}
@media (max-width: 480px) {
  .games-grid { grid-template-columns: 1fr; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}