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

:root {
  --gold: #f5c518;
  --gold-light: #ffe566;
  --gold-dark: #d4a017;
  --purple: #7c3aed;
  --purple-dark: #4c1d95;
  --purple-light: #ede9fe;
  --bg: #f5f3ff;
  --bg-2: #ffffff;
  --card: #ffffff;
  --dark: #1a1030;
  --text: #1a1030;
  --text-muted: #6b7280;
  --green: #16a34a;
  --green-light: #dcfce7;
  --border: #e5e7eb;
  --radius: 16px;
  --shadow-card: 0 4px 24px rgba(124,58,237,0.08), 0 1px 4px rgba(0,0,0,0.05);
  --shadow-card-hover: 0 12px 40px rgba(124,58,237,0.18), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-btn: 0 4px 20px rgba(245,197,24,0.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }

/* =====================
   HEADER
===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  box-shadow: 0 1px 12px rgba(124,58,237,0.07);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
}

.logo-icon { color: var(--gold); font-size: 1.3rem; }
.logo-text span { color: var(--purple); }

.nav { display: flex; gap: 28px; }

.nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* =====================
   HERO
===================== */
.hero {
  background: linear-gradient(140deg, #1a0533 0%, #3b0764 35%, #4c1d95 65%, #6d28d9 100%);
  padding: 90px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Sparkle decorations */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(245,197,24,0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(245,197,24,0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-sparkles svg {
  position: absolute;
  opacity: 0.6;
  animation: float 4s ease-in-out infinite;
}

.hero-sparkles svg:nth-child(1)  { top: 12%; left: 8%;  width: 28px; animation-delay: 0s; }
.hero-sparkles svg:nth-child(2)  { top: 20%; left: 22%; width: 18px; animation-delay: 0.5s; }
.hero-sparkles svg:nth-child(3)  { top: 8%;  left: 75%; width: 24px; animation-delay: 1s; }
.hero-sparkles svg:nth-child(4)  { top: 30%; left: 88%; width: 20px; animation-delay: 1.5s; }
.hero-sparkles svg:nth-child(5)  { top: 65%; left: 5%;  width: 22px; animation-delay: 0.8s; }
.hero-sparkles svg:nth-child(6)  { top: 75%; left: 18%; width: 16px; animation-delay: 2s; }
.hero-sparkles svg:nth-child(7)  { top: 60%; left: 85%; width: 26px; animation-delay: 0.3s; }
.hero-sparkles svg:nth-child(8)  { top: 80%; left: 72%; width: 18px; animation-delay: 1.2s; }
.hero-sparkles svg:nth-child(9)  { top: 45%; left: 3%;  width: 14px; animation-delay: 1.8s; }
.hero-sparkles svg:nth-child(10) { top: 40%; left: 95%; width: 20px; animation-delay: 0.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(15deg); }
}

.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,197,24,0.15);
  border: 1px solid rgba(245,197,24,0.4);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: #fff;
}

.highlight {
  color: var(--gold);
  text-shadow: 0 0 30px rgba(245,197,24,0.5);
}

.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
}

.stat { display: flex; flex-direction: column; align-items: center; }
.stat strong { font-size: 1.6rem; font-weight: 800; color: var(--gold); }
.stat span { font-size: 0.8rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #1a0533;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 100px;
  transition: all 0.2s;
  box-shadow: var(--shadow-btn);
}

.btn-hero:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245,197,24,0.5);
}

/* =====================
   CASINOS SECTION
===================== */
.casinos-section {
  padding: 80px 0;
  background: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.section-header p { color: var(--text-muted); font-size: 0.95rem; }

.casinos-list { display: flex; flex-direction: column; gap: 20px; }

/* CASINO CARD */
.casino-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: 60px 100px 1fr auto;
  align-items: center;
  gap: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-card);
  position: relative;
}

.casino-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.casino-card.featured {
  border-color: var(--gold);
  border-width: 2px;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.casino-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(245,197,24,0.04), transparent);
  pointer-events: none;
}

/* RANK BADGE */
.rank-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.rank-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-dark);
  line-height: 1;
}

.rank-label {
  font-size: 0.58rem;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  margin-top: 4px;
  background: var(--purple-light);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.rank-2 .rank-num { color: var(--text-muted); }

/* LOGO */
.casino-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img-wrap { display: flex; align-items: center; justify-content: center; }

.square-logo {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.brand-logo-sq { width: 100%; height: 100%; object-fit: cover; }

/* CASINO INFO */
.casino-info { flex: 1; }

.casino-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.casino-top h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); }

.rating { display: flex; align-items: center; gap: 8px; }
.stars { color: var(--gold-dark); font-size: 0.85rem; }
.rating-score { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); }

.bonus-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--green-light);
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 12px;
}

.bonus-box > i { color: var(--green); font-size: 1rem; flex-shrink: 0; }
.bonus-box > div { display: flex; flex-direction: column; }
.bonus-label { font-size: 0.68rem; color: #166534; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.bonus-value { font-size: 0.875rem; font-weight: 700; color: var(--green); }

.casino-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--purple);
  background: var(--purple-light);
  border: 1px solid #ddd6fe;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 500;
}

.tag i { color: var(--green); font-size: 0.65rem; }

/* CTA */
.casino-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 160px;
}

.btn-play {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: #1a0533;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 13px 22px;
  border-radius: 100px;
  width: 100%;
  transition: all 0.2s;
  box-shadow: var(--shadow-btn);
}

.btn-play:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,197,24,0.5);
}

.btn-review {
  font-size: 0.82rem;
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
  font-weight: 500;
}

.btn-review:hover { color: var(--purple-dark); }

.cta-note {
  font-size: 0.68rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.cta-note i { font-size: 0.65rem; }

/* =====================
   HOW IT WORKS
===================== */
.how-section {
  padding: 80px 0;
  background: linear-gradient(140deg, #1a0533 0%, #4c1d95 60%, #6d28d9 100%);
  position: relative;
  overflow: hidden;
}

.how-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(245,197,24,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.how-section .container { position: relative; z-index: 1; }
.how-section .section-header h2 { color: #fff; }
.how-section .section-header p { color: rgba(255,255,255,0.65); }

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.step {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  backdrop-filter: blur(8px);
}

.step-icon {
  width: 60px;
  height: 60px;
  background: rgba(245,197,24,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  color: var(--gold);
  border: 1px solid rgba(245,197,24,0.3);
}

.step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: #fff; }
.step p { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.6; }

.step-arrow { color: rgba(255,255,255,0.3); font-size: 1.2rem; flex-shrink: 0; }

/* =====================
   FAQ
===================== */
.faq-section { padding: 80px 0; background: var(--bg); }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.2s;
}

.faq-q:hover { background: #faf9ff; }
.faq-q i { transition: transform 0.3s; color: var(--purple); flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 200px; }

.faq-a p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* =====================
   FOOTER
===================== */
.footer {
  background: #1a0533;
  padding: 48px 0 32px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer .logo { color: #fff; }
.footer .logo-icon { color: var(--gold); }
.footer .logo-text span { color: var(--gold); }

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

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-disclaimer p { font-size: 0.78rem; color: rgba(255,255,255,0.4); line-height: 1.6; }

/* =====================
   REVIEW PAGES
===================== */
.review-hero {
  background: linear-gradient(140deg, #1a0533 0%, #3b0764 40%, #6d28d9 100%);
  padding: 40px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.review-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(245,197,24,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.review-hero .container { position: relative; z-index: 1; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  margin-bottom: 28px;
  transition: color 0.2s;
}

.back-link:hover { color: #fff; }

.review-hero-inner {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 28px;
}

.review-logo-wrap {
  width: 110px;
  height: 110px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.review-logo { width: 100%; height: 100%; object-fit: cover; }

.review-badge {
  display: inline-block;
  background: rgba(245,197,24,0.2);
  border: 1px solid rgba(245,197,24,0.4);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.review-badge-2 {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
}

.review-hero-info h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: #fff;
}

.review-rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.stars-lg { font-size: 1rem; }
.rating-score-lg { font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.6); }

.review-bonus-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #86efac;
}

.review-bonus-highlight i { flex-shrink: 0; color: #4ade80; }

.review-cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

.btn-play-lg { font-size: 1rem; padding: 16px 28px; }

.review-body { padding: 60px 0 80px; background: var(--bg); }

.review-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.review-section { margin-bottom: 40px; }

.review-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--purple-light);
  color: var(--dark);
}

.review-section p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.review-section p:last-child { margin-bottom: 0; }

.review-section .btn-play { width: auto; display: inline-flex; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.pros, .cons {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.pros { border-top: 3px solid var(--green); }
.cons { border-top: 3px solid #f87171; }

.pros h4 { color: var(--green); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.cons h4 { color: #ef4444; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }

.pros ul, .cons ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pros ul li, .cons ul li { font-size: 0.875rem; color: var(--text-muted); padding-left: 4px; }

.sidebar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 84px;
  box-shadow: var(--shadow-card);
}

.sidebar-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--purple);
  margin-bottom: 16px;
}

.quick-facts { list-style: none; display: flex; flex-direction: column; }

.quick-facts li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.quick-facts li:last-child { border-bottom: none; }
.quick-facts span { font-size: 0.8rem; color: var(--text-muted); }
.quick-facts strong { font-size: 0.8rem; color: var(--dark); text-align: right; font-weight: 600; }

.sidebar-card .btn-play { width: 100%; font-size: 0.85rem; padding: 12px 16px; margin-top: 16px; }

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 900px) {
  .casino-card {
    grid-template-columns: 50px 80px 1fr;
    grid-template-rows: auto auto auto;
    gap: 14px;
  }

  .casino-logo { grid-column: 2; grid-row: 1; justify-content: flex-start; }
  .rank-badge { grid-column: 1; grid-row: 1; }
  .casino-info { grid-column: 1 / -1; grid-row: 2; }
  .casino-cta { grid-column: 1 / -1; grid-row: 3; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
  .btn-play { width: auto; }
}

@media (max-width: 860px) {
  .review-hero-inner { grid-template-columns: 90px 1fr; grid-template-rows: auto auto; }
  .review-cta-box { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .review-grid { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .pros-cons { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .hero-stats { gap: 16px; }
  .steps { flex-direction: column; align-items: stretch; }
  .step { max-width: 100%; }
  .step-arrow { transform: rotate(90deg); align-self: center; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 480px) {
  .review-hero-inner { grid-template-columns: 1fr; }
  .review-logo-wrap { width: 80px; height: 80px; }
}
