/* ============================================================
   ONLINE CASINO CANADA — 2026 DESIGN
   Modern, dark, premium feel with gold accents
   ============================================================ */

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

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* ---------- VARIABLES ---------- */
:root {
  /* Background layers (darkest -> lightest) */
  --bg-0: #0a0d18;
  --bg-1: #11152a;
  --bg-2: #181d38;
  --bg-3: #212847;
  --bg-4: #2a3258;

  /* Brand accents */
  --gold: #f5c518;
  --gold-hi: #ffd84a;
  --gold-dim: #c79c0e;

  /* Status colors */
  --green: #22c55e;
  --green-soft: rgba(34, 197, 94, 0.12);
  --red: #ef4444;
  --red-soft: rgba(239, 68, 68, 0.12);
  --blue: #60a5fa;
  --blue-soft: rgba(96, 165, 250, 0.12);
  --purple: #a78bfa;

  /* Text */
  --text: #ffffff;
  --text-2: #c9d1e3;
  --text-3: #8892ac;
  --text-4: #5a6481;

  /* Borders */
  --border: rgba(255, 255, 255, 0.07);
  --border-2: rgba(255, 255, 255, 0.14);
  --border-3: rgba(255, 255, 255, 0.22);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Shadows */
  --sh-sm: 0 2px 6px rgba(0, 0, 0, 0.25);
  --sh-md: 0 10px 28px rgba(0, 0, 0, 0.35);
  --sh-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --sh-gold: 0 8px 32px rgba(245, 197, 24, 0.35);

  /* Easing */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- BASE ---------- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  background: var(--bg-0);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Atmospheric background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% -10%, rgba(245, 197, 24, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 110%, rgba(96, 165, 250, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(167, 139, 250, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

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

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  background: linear-gradient(135deg, #ffffff 0%, #b8c0d4 70%, #f5c518 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.5rem);
  font-weight: 700;
}

h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1.02rem; color: var(--text); }

p { color: var(--text-2); }
strong { color: var(--text); font-weight: 600; }
em { color: var(--text); font-style: italic; }

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

ul, ol { color: var(--text-2); padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }
li::marker { color: var(--gold); }

/* ---------- LAYOUT ---------- */
.main-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
}

.section {
  margin: 5rem 0;
  padding: 3rem 2.5rem;
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-2), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  background: rgba(245, 197, 24, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(245, 197, 24, 0.25);
  margin-bottom: 1.25rem;
}

.section-eyebrow.danger {
  color: var(--red);
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.25);
}

.section-intro {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-3);
  margin-top: 1rem;
}

.subsection-title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  margin: 3rem 0 1.5rem;
  text-align: center;
  position: relative;
}

.subsection-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi));
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

.block-subtitle {
  font-size: 1.15rem;
  margin: 2rem 0 1.25rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.block-subtitle::before {
  content: '';
  width: 4px;
  height: 1.1em;
  background: var(--gold);
  border-radius: 2px;
}

/* ---------- HERO ---------- */
.hero-section {
  margin: 1.5rem 0 5rem;
  padding: 5rem 2.5rem;
  background:
    radial-gradient(ellipse at top, rgba(245, 197, 24, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245, 197, 24, 0.08);
  border: 1px solid rgba(245, 197, 24, 0.3);
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}

.lead {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.75;
  color: var(--text-2);
  max-width: 720px;
  margin: 1.5rem auto 2.5rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.08);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
}

.badge i {
  font-style: normal;
  width: 18px;
  height: 18px;
  background: var(--green);
  color: var(--bg-0);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 640px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-4);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- CASINO CARDS (TOP 3) ---------- */
.casino-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.casino-card {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
}

.casino-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-3);
  box-shadow: var(--sh-lg);
}

.casino-card.featured {
  border-color: rgba(245, 197, 24, 0.4);
  background: linear-gradient(180deg, rgba(245, 197, 24, 0.06) 0%, var(--bg-1) 100%);
  box-shadow: 0 0 0 1px rgba(245, 197, 24, 0.15), 0 20px 60px rgba(0, 0, 0, 0.4);
}

.casino-card.featured::before {
  content: '★ TOP PICK';
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-hi));
  color: var(--bg-0);
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-sm);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  z-index: 2;
}

.casino-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.5rem 1.5rem 1rem;
  flex-wrap: wrap;
}

.rank-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--bg-0);
  box-shadow: var(--sh-sm);
}

.rank-badge.gold {
  background: linear-gradient(135deg, #f5c518, #ffd84a);
  box-shadow: 0 4px 14px rgba(245, 197, 24, 0.45);
}

.rank-badge.silver {
  background: linear-gradient(135deg, #c0c5d3, #e8edf5);
}

.rank-badge.bronze {
  background: linear-gradient(135deg, #cd7f32, #e09956);
}

.casino-meta {
  flex: 1;
  min-width: 0;
}

.casino-meta h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.casino-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-2);
  background: var(--bg-3);
  color: var(--text-2);
  white-space: nowrap;
}

.tag-fire { background: rgba(239, 68, 68, 0.12); color: #fca5a5; border-color: rgba(239, 68, 68, 0.25); }
.tag-bolt { background: rgba(96, 165, 250, 0.12); color: var(--blue); border-color: rgba(96, 165, 250, 0.25); }
.tag-mobile { background: rgba(167, 139, 250, 0.12); color: var(--purple); border-color: rgba(167, 139, 250, 0.25); }
.tag-slot { background: rgba(34, 197, 94, 0.12); color: var(--green); border-color: rgba(34, 197, 94, 0.25); }

.rating {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.rating-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.rating-stars {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.casino-card-body {
  padding: 0 1.5rem 1rem;
  flex: 1;
}

.bonus-block {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.bonus-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-4);
  margin-bottom: 0.4rem;
}

.bonus-amount {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.01em;
}

.casino-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.casino-points li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.casino-points li:last-child { border-bottom: none; }

.casino-points span {
  color: var(--text-4);
  font-size: 0.85rem;
}

.casino-points strong {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

.casino-card-footer {
  padding: 0 1.5rem 1.5rem;
}

/* ---------- BUTTONS ---------- */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--bg-3);
  color: var(--text);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  width: 100%;
  text-align: center;
  white-space: nowrap;
  font-family: inherit;
}

.cta-button:hover {
  background: var(--bg-4);
  border-color: var(--border-3);
  color: var(--text);
  transform: translateY(-2px);
}

.cta-button.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-hi));
  color: var(--bg-0);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(245, 197, 24, 0.35);
}

.cta-button.primary:hover {
  color: var(--bg-0);
  box-shadow: 0 12px 30px rgba(245, 197, 24, 0.5);
}

.cta-button.small {
  width: auto;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* ---------- TABLES ---------- */
.table-responsive {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg-2);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.93rem;
}

thead {
  background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 100%);
}

th {
  padding: 1rem 1.1rem;
  text-align: left;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--border-2);
  white-space: nowrap;
}

td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  vertical-align: middle;
}

tbody tr {
  transition: background 0.2s var(--ease);
}

tbody tr:hover {
  background: var(--bg-3);
}

tbody tr:last-child td {
  border-bottom: none;
}

.row-good {
  background: rgba(34, 197, 94, 0.04);
}

.row-bad {
  background: rgba(239, 68, 68, 0.04);
}

.bonus-pill {
  display: inline-block;
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* ---------- FACTOR CARDS ---------- */
.factors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.factor-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  transition: all 0.3s var(--ease);
  position: relative;
}

.factor-card:hover {
  border-color: rgba(245, 197, 24, 0.3);
  background: var(--bg-3);
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.factor-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  display: block;
}

.factor-card h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--text);
}

.factor-card p { font-size: 0.95rem; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.check-list li {
  padding: 0.5rem 0 0.5rem 1.6rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}

.check-list li:last-child { border-bottom: none; }

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* ---------- TIP BOXES ---------- */
.tip-box {
  margin: 1.25rem 0 0;
  padding: 0.95rem 1.1rem;
  background: rgba(245, 197, 24, 0.08);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.6;
}

.tip-box.success {
  background: rgba(34, 197, 94, 0.08);
  border-color: var(--green);
}

.tip-box.warning {
  background: rgba(239, 68, 68, 0.08);
  border-color: var(--red);
}

.tip-box.highlight {
  background: rgba(96, 165, 250, 0.08);
  border-color: var(--blue);
}

/* ---------- NOTE BLOCKS ---------- */
.note-block {
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-md);
  margin: 1.75rem 0;
  background: var(--bg-2);
  border-left: 4px solid var(--blue);
  font-size: 0.95rem;
}

.note-block.tip { border-color: var(--gold); background: rgba(245, 197, 24, 0.05); }
.note-block.info { border-color: var(--blue); background: rgba(96, 165, 250, 0.05); }
.note-block.warning { border-color: var(--red); background: rgba(239, 68, 68, 0.05); }
.note-block.success { border-color: var(--green); background: rgba(34, 197, 94, 0.05); }

.note-block ul {
  margin: 0.75rem 0 0 1.25rem;
  padding: 0;
}

/* ---------- GAME BLOCK ---------- */
.game-block {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 2rem 2.5rem;
  margin-bottom: 2.5rem;
}

.game-block-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.game-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-block-header h3 {
  margin-bottom: 0.3rem;
  color: var(--text);
}

.game-sub {
  font-size: 0.92rem;
  color: var(--text-4);
  margin: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.stat-box {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1rem 0.85rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
}

/* ---------- GAME CARDS (sub) ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.25rem 0;
}

.game-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.5rem;
  transition: all 0.3s var(--ease);
}

.game-card:hover {
  background: var(--bg-4);
  border-color: var(--border-2);
  transform: translateY(-3px);
}

.game-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.game-card-header h5 {
  font-size: 1.05rem;
  color: var(--text);
}

.game-tag {
  background: rgba(245, 197, 24, 0.1);
  color: var(--gold);
  border: 1px solid rgba(245, 197, 24, 0.25);
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  white-space: nowrap;
}

.game-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  margin: 1rem 0;
  font-size: 0.85rem;
}

.game-specs div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border);
  padding: 0.3rem 0;
}

.game-specs dt {
  color: var(--text-4);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.game-specs dd {
  color: var(--text);
  font-weight: 600;
}

.game-card p {
  font-size: 0.88rem;
  color: var(--text-3);
  line-height: 1.6;
  margin: 0;
}

/* ---------- VARIANT CARDS ---------- */
.variants-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.variant-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem;
  transition: all 0.2s var(--ease);
}

.variant-card:hover {
  background: var(--bg-4);
}

.variant-card.best {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.05);
}

.variant-card h5 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.variant-edge {
  font-size: 0.85rem;
  color: var(--text-4);
  margin-bottom: 0.75rem;
}

.variant-edge strong { color: var(--gold); }

.variant-card p {
  font-size: 0.88rem;
  color: var(--text-3);
  margin: 0;
  line-height: 1.55;
}

/* ---------- COMPARISON TABLES (small) ---------- */
.comparison-table { font-size: 0.92rem; }

.picker-table td:first-child { color: var(--text-4); }
.picker-table td:nth-child(2) { color: var(--text); }

.small-note {
  font-size: 0.82rem;
  color: var(--text-4);
  text-align: center;
  margin: 0.5rem 0 1rem;
  font-style: italic;
}

.game-picker {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.game-picker h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ---------- STEPS ---------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: border-color 0.2s var(--ease);
}

.step:hover {
  border-color: rgba(245, 197, 24, 0.3);
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-hi));
  color: var(--bg-0);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 6px 16px rgba(245, 197, 24, 0.35);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.step-content { flex: 1; min-width: 0; }

.step-content h4 {
  margin-bottom: 0.85rem;
  color: var(--text);
  font-size: 1.1rem;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.payment-option {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.1rem;
}

.payment-option strong {
  display: block;
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.payment-option ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
}

.payment-option li {
  margin-bottom: 0.3rem;
  color: var(--text-2);
}

/* ---------- CALLOUTS ---------- */
.callout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.callout {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.callout-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.85rem;
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.callout h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.callout p {
  font-size: 0.85rem;
  color: var(--text-3);
  margin: 0;
  line-height: 1.55;
}

/* ---------- ADVANTAGES ---------- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.advantage-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  transition: all 0.3s var(--ease);
}

.advantage-card:hover {
  background: var(--bg-3);
  border-color: var(--border-2);
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.advantage-icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.15), rgba(245, 197, 24, 0.05));
  border: 1px solid rgba(245, 197, 24, 0.2);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.advantage-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.advantage-card p {
  font-size: 0.9rem;
  color: var(--text-3);
  line-height: 1.6;
  margin: 0;
}

/* ---------- PLATFORM CARDS ---------- */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.platform-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  transition: all 0.3s var(--ease);
  text-align: center;
}

.platform-card:hover {
  border-color: rgba(245, 197, 24, 0.3);
  transform: translateY(-4px);
}

.platform-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.platform-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.platform-card p {
  font-size: 0.92rem;
  color: var(--text-3);
  line-height: 1.65;
  margin-bottom: 0.75rem;
  text-align: left;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-item[open] {
  border-color: rgba(245, 197, 24, 0.3);
}

.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 1.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.2s var(--ease);
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(245, 197, 24, 0.15);
  color: var(--gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.3s var(--ease), background 0.2s var(--ease);
}

.faq-item[open] .faq-question::after {
  content: '−';
  transform: rotate(180deg);
  background: var(--gold);
  color: var(--bg-0);
}

.faq-question:hover { color: var(--gold); }

.faq-answer {
  padding: 0 1.75rem 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  color: var(--text-2);
  line-height: 1.75;
  font-size: 0.95rem;
}

.faq-answer p { margin-bottom: 0.85rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul, .faq-answer ol { margin: 0.5rem 0 0.85rem 1.25rem; }

/* ---------- RESPONSIBLE GAMING ---------- */
.responsible-section {
  background: linear-gradient(180deg, var(--bg-1) 0%, rgba(239, 68, 68, 0.05) 100%);
  border-color: rgba(239, 68, 68, 0.2);
}

.warning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.warning-card {
  background: var(--bg-2);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--r-md);
  padding: 1.5rem 1.25rem;
}

.warning-card h4 {
  color: var(--red);
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(239, 68, 68, 0.15);
}

.warning-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.warning-card li {
  padding: 0.4rem 0 0.4rem 1.4rem;
  position: relative;
  font-size: 0.88rem;
  color: var(--text-2);
}

.warning-card li::before {
  content: '!';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 18px;
  height: 18px;
  background: rgba(239, 68, 68, 0.15);
  color: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.help-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(239, 68, 68, 0.04));
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--r-md);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  text-align: center;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.resource-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}

.resource-card h4 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.resource-card p {
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.resource-card p:last-child { margin-bottom: 0; }

.resource-card a {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  word-break: break-word;
}

.resource-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resource-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-2);
}

.resource-list li:last-child { border-bottom: none; }

.muted {
  color: var(--text-4);
  font-size: 0.82rem;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.tip-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-md);
  padding: 1.5rem 1.4rem;
  transition: all 0.2s var(--ease);
}

.tip-card:hover {
  background: var(--bg-3);
  transform: translateY(-3px);
}

.tip-card h4 {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.tip-card p {
  font-size: 0.92rem;
  color: var(--text-3);
  line-height: 1.6;
  margin: 0;
}

.pledge {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 2rem;
  margin-top: 3rem;
}

.pledge h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pledge-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.pledge-list li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}

.pledge-list li:last-child { border-bottom: none; }

.pledge-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 22px;
  height: 22px;
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
}

.pledge-final {
  background: rgba(245, 197, 24, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-sm);
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-top: 1.5rem;
}

/* ---------- FOOTER ---------- */
.main-footer {
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  border-top: 1px solid var(--border-2);
  margin-top: 5rem;
  padding: 4rem 0 2rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand h4 {
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.92rem;
  color: var(--text-3);
  line-height: 1.7;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.social-links a {
  background: var(--bg-2);
  color: var(--text-2);
  padding: 0.55rem 1rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}

.social-links a:hover {
  background: var(--bg-3);
  border-color: var(--gold);
  color: var(--gold);
}

.footer-disclaimer {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: var(--r-md);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}

.footer-disclaimer h4 {
  color: var(--red);
  margin-bottom: 0.85rem;
  font-size: 1rem;
}

.footer-disclaimer p {
  font-size: 0.86rem;
  color: var(--text-3);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.footer-disclaimer p:last-child { margin-bottom: 0; }

.footer-bottom {
  text-align: center;
}

.footer-bottom > p:first-child {
  font-size: 0.86rem;
  color: var(--text-4);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.25rem;
  margin: 1rem 0;
}

.footer-links a {
  color: var(--text-3);
  font-size: 0.86rem;
  transition: color 0.2s var(--ease);
}

.footer-links a:hover { color: var(--gold); }

.age-notice {
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* Menu wrapper inside footer */
.footer-menu nav,
.footer-menu .menu {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* ---------- MENU (top) — non-destructive enhancements ---------- */
nav, .menu, header.menu, .navigation, .nav-menu {
  background: var(--bg-1);
  border-bottom: 1px solid var(--border-2);
}

nav a, .menu a, .navigation a {
  color: var(--text-2);
  transition: color 0.2s var(--ease);
}

nav a:hover, .menu a:hover, .navigation a:hover {
  color: var(--gold);
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-0);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-3);
  border-radius: 10px;
  border: 2px solid var(--bg-0);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--bg-4);
}

/* ---------- SELECTION ---------- */
::selection {
  background: var(--gold);
  color: var(--bg-0);
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-section, .section {
  animation: fadeUp 0.6s var(--ease) both;
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .section { padding: 2.5rem 2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .main-content { padding: 1rem 1rem 0; }

  .section {
    padding: 2rem 1.25rem;
    margin: 3rem 0;
    border-radius: var(--r-lg);
  }

  .hero-section {
    padding: 3rem 1.25rem;
    margin: 1rem 0 3rem;
  }

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

  .step {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 1.25rem;
  }

  .game-block { padding: 1.5rem 1.25rem; }

  .game-block-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .casino-card-header {
    padding: 1.25rem 1.25rem 0.85rem;
  }

  .casino-card-body { padding: 0 1.25rem 0.85rem; }
  .casino-card-footer { padding: 0 1.25rem 1.25rem; }

  .factor-card {
    padding: 1.75rem 1.25rem;
  }

  table { font-size: 0.85rem; }
  th, td { padding: 0.75rem 0.7rem; }

  .faq-question {
    padding: 1.1rem 1.25rem;
    font-size: 0.98rem;
  }

  .faq-answer {
    padding: 1rem 1.25rem 1.25rem;
  }

  .footer-links { gap: 0.4rem 0.85rem; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }

  .section { padding: 1.5rem 1rem; }
  .hero-section { padding: 2.5rem 1rem; }

  .badge { font-size: 0.78rem; padding: 0.45rem 0.85rem; }

  .casino-cards { gap: 1rem; }

  .factors-grid,
  .advantages-grid,
  .platforms-grid,
  .games-grid,
  .variants-list,
  .tips-grid,
  .warning-grid,
  .resources-grid,
  .callout-grid {
    grid-template-columns: 1fr;
  }

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

/* ---------- PRINT ---------- */
@media print {
  body::before, .hero-section::before { display: none; }
  .cta-button, .hero-stats { display: none; }
  .section { break-inside: avoid; }
}
