/* ============================================================
   ApuestasSeguras AR — Main Stylesheet
   Light-blue theme (sky + deep-navy accent)
   ============================================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root,
[data-theme="light"] {
  --navy:         #dbeafe;
  --navy-light:   #eff6ff;
  --navy-mid:     #bfdbfe;
  --navy-card:    #ffffff;
  --page-bg:      #f0f7ff;
  --gold:         #b45309;
  --gold-dark:    #92400e;
  --gold-light:   #d97706;
  --white:        #ffffff;
  --text:         #0c2d5e;
  --text-muted:   #3d6490;
  --accent:       #0369a1;
  --accent-muted: rgba(3,105,161,.7);
  --link:         #0369a1;
  --green:        #047857;
  --red:          #dc2626;
  --border:       rgba(3,105,161,.2);
  --radius:       12px;
  --radius-sm:    8px;
  --shadow:       0 4px 24px rgba(12,45,94,.1);
  --shadow-lg:    0 16px 56px rgba(12,45,94,.18);
  --glow:         0 0 32px rgba(3,105,161,.18);
  --glow-gold:    0 0 28px rgba(180,83,9,.22);
  --transition:   .22s ease;
  --font:         'Segoe UI', system-ui, -apple-system, sans-serif;
  --header-bg:    rgba(12,45,94,.96);
  --footer-bg:    #0c2d5e;
  --overlay-bg:   rgba(12,45,94,.93);
  --strip-bg:     rgba(12,45,94,.92);
  --nav-open-bg:  rgba(12,45,94,.98);
  --menores-bg:   radial-gradient(ellipse at center, #1e4f8c 0%, #0c2d5e 70%);
  --glass-bg:     rgba(255,255,255,.72);
  --glass-border: rgba(255,255,255,.65);
  --grad-accent:  linear-gradient(135deg, #0369a1 0%, #0ea5e9 100%);
  --grad-gold:    linear-gradient(135deg, #b45309 0%, #d97706 100%);
  --grad-page:    linear-gradient(160deg, #f0f7ff 0%, #e8f3ff 40%, #eef0ff 100%);
  /* Text on dark bars (header strip, footer — always navy background) */
  --on-inverse:           rgba(255, 255, 255, 0.93);
  --on-inverse-soft:      rgba(226, 232, 245, 0.95);
  --on-inverse-muted:     rgba(169, 196, 230, 0.98); /* WCAG AA vs #0c2d5e / header */
  --on-inverse-accent:    #7dd3fc; /* cyan for <strong> in strip */
}

[data-theme="dark"] {
  --navy:         #0d1b2a;
  --navy-light:   #132236;
  --navy-mid:     #1a2f45;
  --navy-card:    #162030;
  --page-bg:      #0d1b2a;
  --gold:         #f0a500;
  --gold-dark:    #c88800;
  --gold-light:   #ffc233;
  --white:        #ffffff;
  --text:         #cbd5e1;
  --text-muted:   #8a9ab5;
  --accent:       #059669;
  --accent-muted: rgba(5,150,105,.75);
  --link:         #34d399;
  --green:        #22c55e;
  --red:          #ef4444;
  --border:       rgba(240,165,0,.18);
  --shadow:       0 4px 24px rgba(0,0,0,.45);
  --shadow-lg:    0 16px 56px rgba(0,0,0,.55);
  --glow:         0 0 32px rgba(5,150,105,.2);
  --glow-gold:    0 0 28px rgba(240,165,0,.25);
  --header-bg:    rgba(13,27,42,.95);
  --footer-bg:    #080f17;
  --overlay-bg:   rgba(8,15,23,.97);
  --strip-bg:     rgba(13,27,42,.92);
  --nav-open-bg:  rgba(13,27,42,.98);
  --menores-bg:   radial-gradient(ellipse at center, #132236 0%, #0d1b2a 70%);
  --radius:       12px;
  --radius-sm:    8px;
  --transition:   .22s ease;
  --font:         'Segoe UI', system-ui, -apple-system, sans-serif;
  --glass-bg:     rgba(22,32,48,.75);
  --glass-border: rgba(255,255,255,.08);
  --grad-accent:  linear-gradient(135deg, #059669 0%, #10b981 100%);
  --grad-gold:    linear-gradient(135deg, #c88800 0%, #f0a500 100%);
  --grad-page:    linear-gradient(160deg, #0d1b2a 0%, #0f2237 50%, #0d1b2a 100%);
  --on-inverse:           rgba(255, 255, 255, 0.93);
  --on-inverse-soft:      rgba(226, 232, 245, 0.95);
  --on-inverse-muted:     rgba(148, 163, 184, 0.98); /* slate-400 on dark footer */
  --on-inverse-accent:    #6ee7b7;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--grad-page);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle mesh orbs — pinned to viewport */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 600px 500px at 10% 20%, rgba(3,105,161,.07) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 85% 75%, rgba(147,197,253,.1) 0%, transparent 65%),
    radial-gradient(ellipse 300px 300px at 55% 10%, rgba(180,83,9,.05) 0%, transparent 60%);
}

body > * { position: relative; z-index: 1; }

a { color: var(--link); text-decoration: none; transition: color var(--transition); }
a:hover:not(.site-logo):not(.btn-gold):not(.btn-header) { color: var(--accent); }

a.btn-gold,
a.btn-outline,
a.btn-header { color: inherit; }

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.site-logo img {
  height: 38px;
  width: auto;
  max-width: min(236px, 52vw);
  display: block;
}

.site-logo:hover img { opacity: .92; }

img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5 { color: var(--text); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
.gold { color: var(--gold); }

/* Gradient text utility */
.gradient-text {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="dark"] .gradient-text {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.text-muted { color: var(--text-muted); font-size: .9rem; }

/* ---------- Layout ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 64px 0; }

.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 { margin-bottom: 10px; }
.section-title p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 900;
  padding: 14px 0;
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 35%, var(--gold) 65%, transparent 100%);
  opacity: .45;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-header .site-nav a {
  color: var(--on-inverse-soft);
  font-size: .92rem;
  font-weight: 500;
  transition: color var(--transition);
}
.site-header .site-nav a:hover { color: var(--gold-light) !important; }

.btn-header {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .9rem;
}
.btn-header:hover { background: var(--gold-light) !important; color: var(--navy) !important; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); margin: 5px 0; border-radius: 2px; transition: var(--transition);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-gold {
  background: var(--grad-gold);
  color: #fff;
  box-shadow: 0 2px 12px rgba(180,83,9,.25);
  position: relative;
  overflow: hidden;
}
.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.15) 0%, transparent 60%);
  pointer-events: none;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--glow-gold), 0 8px 24px rgba(180,83,9,.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  position: relative;
  overflow: hidden;
}
.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-outline:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--glow);
}
.btn-outline:hover::before { opacity: 1; }
.btn-outline span, .btn-outline:hover span { position: relative; }

.btn-sm { padding: 9px 18px; font-size: .87rem; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../media/casino-hero.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(.28);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--overlay-bg) 0%, rgba(12,45,94,.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(240,165,0,.15);
  border: 1px solid rgba(240,165,0,.3);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 { margin-bottom: 18px; }
.hero p { color: var(--text); font-size: 1.1rem; margin-bottom: 32px; max-width: 520px; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
}
.hero-stat span { font-size: .82rem; color: var(--text-muted); }

/* ---------- Casino Cards ---------- */
.casino-list { display: flex; flex-direction: column; gap: 20px; }

.casino-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  align-items: center;
  gap: 20px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.casino-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  border-radius: 4px 0 0 4px;
}

.casino-card:hover {
  border-color: rgba(240,165,0,.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.casino-card.top-pick { border-color: rgba(240,165,0,.35); }

.card-rank {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  opacity: .5;
  text-align: center;
}

.card-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-logo { height: 32px; width: auto; max-width: 120px; object-fit: contain; }

.card-bonus {
  font-size: .88rem;
  color: var(--text);
}
.card-bonus strong { color: var(--gold); font-size: 1rem; }

.card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }

.tag {
  font-size: .73rem;
  padding: 3px 9px;
  border-radius: 99px;
  font-weight: 600;
}
.tag-green { background: rgba(4,120,87,.1);   color: var(--green); border: 1px solid rgba(4,120,87,.22); }
.tag-blue  { background: rgba(3,105,161,.1);  color: var(--accent); border: 1px solid rgba(3,105,161,.22); }
.tag-gold  { background: rgba(180,83,9,.1);   color: var(--gold); border: 1px solid rgba(180,83,9,.22); }
[data-theme="dark"] .tag-green { background: rgba(34,197,94,.12); color: #4ade80; border-color: rgba(34,197,94,.2); }
[data-theme="dark"] .tag-blue  { background: rgba(59,130,246,.12); color: #93c5fd; border-color: rgba(59,130,246,.2); }
[data-theme="dark"] .tag-gold  { background: rgba(240,165,0,.12); color: var(--gold); border-color: rgba(240,165,0,.2); }

.card-rating {
  text-align: center;
  min-width: 64px;
}
.rating-number {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.stars { color: var(--gold); font-size: .78rem; margin: 4px 0 2px; letter-spacing: 1px; }
.rating-label { font-size: .7rem; color: var(--text-muted); }

.card-action { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-size: .7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ---------- Evaluation Criteria ---------- */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.criteria-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.7);
}
.criteria-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--glow);
  border-color: rgba(3,105,161,.3);
}

.criteria-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(3,105,161,.12) 0%, rgba(14,165,233,.08) 100%);
  border: 1px solid rgba(3,105,161,.15);
}

.criteria-card h3 { margin-bottom: 8px; }
.criteria-card p { font-size: .88rem; color: var(--text-muted); }

/* ---------- How we rate section ---------- */
.rating-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.rating-item {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.rating-item-label {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rating-bar-wrap {
  background: rgba(3,105,161,.1);
  border-radius: 99px;
  height: 8px;
  overflow: hidden;
}
.rating-bar {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), #0ea5e9, var(--gold));
  background-size: 200% 100%;
  animation: shimmer-bar 3s linear infinite;
}
@keyframes shimmer-bar {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Payment Methods ---------- */
.payments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.payment-chip {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}
.payment-chip:hover { border-color: rgba(240,165,0,.4); color: var(--text); }
.payment-icon { font-size: 1.4rem; }

/* ---------- Info Sections ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.info-grid.reverse { direction: rtl; }
.info-grid.reverse > * { direction: ltr; }

.info-text h2 { margin-bottom: 16px; }
.info-text p { color: var(--text); margin-bottom: 16px; }
.info-text ul { display: flex; flex-direction: column; gap: 10px; }
.info-text ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .93rem;
}
.info-text ul li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.info-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.faq-item.open {
  border-color: rgba(3,105,161,.3);
  box-shadow: var(--shadow), var(--glow);
}
.faq-item.open .faq-question { color: var(--accent); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-size: .97rem;
  font-weight: 600;
  padding: 18px 22px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
  padding: 0 22px;
  color: var(--text-muted);
  font-size: .93rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 22px 18px; }

/* ---------- Brand Page Hero ---------- */
.brand-hero {
  background: linear-gradient(160deg, var(--navy-light) 0%, var(--navy-mid) 100%);
  border-bottom: none;
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.brand-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .4;
}
.brand-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3,105,161,.1) 0%, transparent 68%);
  pointer-events: none;
}

.brand-hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.brand-logo-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  flex-shrink: 0;
}
.brand-logo-wrap img { height: 48px; width: auto; }

.brand-meta { flex: 1; min-width: 280px; }
.brand-meta h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 8px; }
.brand-meta .brand-desc { color: var(--text); margin-bottom: 18px; font-size: 1rem; }

.brand-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.brand-badge {
  background: rgba(240,165,0,.1);
  border: 1px solid rgba(240,165,0,.25);
  color: var(--gold);
  padding: 5px 12px;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 600;
}
.brand-badge.green {
  background: rgba(34,197,94,.1);
  border-color: rgba(34,197,94,.25);
  color: #4ade80;
}

.brand-rating-big {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.brand-score {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.brand-score-label { font-size: .8rem; color: var(--text-muted); }
.brand-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }

/* ---------- Brand Content Sections ---------- */
.brand-content { padding: 48px 0; }

.brand-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

.brand-main { display: flex; flex-direction: column; gap: 28px; }

.brand-section {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.brand-section h2 { font-size: 1.2rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }

/* Bonus Table */
.bonus-table { width: 100%; border-collapse: collapse; }
.bonus-table td {
  padding: 10px 14px;
  font-size: .9rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.bonus-table td:first-child { color: var(--text-muted); width: 40%; }
.bonus-table td:last-child { color: var(--text); font-weight: 600; }
.bonus-table tr:last-child td { border-bottom: none; }

/* Pros Cons */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pros h3, .cons h3 { font-size: .9rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.pros h3 { color: #4ade80; }
.cons h3 { color: #f87171; }
.pros ul li, .cons ul li {
  font-size: .88rem;
  color: var(--text);
  padding: 5px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.pros ul li::before { content: '+'; color: #4ade80; font-weight: 700; flex-shrink: 0; }
.cons ul li::before { content: '–'; color: #f87171; font-weight: 700; flex-shrink: 0; }

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.game-chip {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: center;
  font-size: .8rem;
  color: var(--text);
  transition: all var(--transition);
}
.game-chip:hover { border-color: rgba(240,165,0,.3); color: var(--text); }
.game-chip .game-icon { font-size: 1.6rem; margin-bottom: 4px; }

/* Brand Sidebar */
.brand-sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-box {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.sidebar-box h3 { font-size: 1rem; margin-bottom: 16px; color: var(--text); }

.cta-box {
  background: linear-gradient(135deg, rgba(3,105,161,.1), rgba(3,105,161,.05));
  border-color: rgba(3,105,161,.3);
  text-align: center;
}
[data-theme="dark"] .cta-box {
  background: linear-gradient(135deg, rgba(240,165,0,.12), rgba(200,136,0,.08));
  border-color: rgba(240,165,0,.3);
}
.cta-box .btn { width: 100%; justify-content: center; margin-top: 12px; }
.cta-box .cta-bonus { font-size: 1.3rem; font-weight: 800; color: var(--gold); }
.cta-box .cta-sub { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }

.license-list { display: flex; flex-direction: column; gap: 8px; }
.license-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text);
}
.license-item::before { content: '🛡'; font-size: .9rem; }

.method-list { display: flex; flex-direction: column; gap: 8px; }
.method-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.method-item:last-child { border-bottom: none; }
.method-name { color: var(--text); display: flex; align-items: center; gap: 6px; }
.method-detail { color: var(--text-muted); font-size: .78rem; }

/* ---------- Disclaimer Bar ---------- */
.disclaimer-bar {
  background: rgba(240,165,0,.06);
  border-top: 1px solid rgba(240,165,0,.15);
  border-bottom: 1px solid rgba(240,165,0,.15);
  padding: 14px 0;
  text-align: center;
}
.disclaimer-bar p {
  font-size: .78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 900;
  font-size: .75rem;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  border-top: none;
  padding: 64px 0 28px;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 25%, var(--gold) 50%, #0ea5e9 75%, transparent 100%);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .site-logo { margin-bottom: 14px; }
.footer-brand p {
  font-size: .85rem;
  color: var(--on-inverse-muted);
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  color: var(--on-inverse);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  color: var(--on-inverse-soft);
  font-size: .85rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); }

.footer-responsible {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 32px 0;
  margin-bottom: 28px;
}
.footer-responsible h4 {
  color: var(--on-inverse);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  text-align: center;
}
.responsible-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.responsible-logos a {
  opacity: .8;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
}
.responsible-logos a:hover { opacity: 1; }
.responsible-logos img { height: 44px; width: auto; object-fit: contain; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.footer-bottom p { font-size: .8rem; color: var(--on-inverse-muted); }
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--on-inverse-soft); font-size: .8rem; }
.footer-bottom-links a:hover { color: var(--gold-light); }

/* ---------- Age Gate Modal ---------- */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.age-gate-overlay.hidden { display: none; }

.age-gate {
  background: var(--navy-card);
  border: 1px solid rgba(240,165,0,.35);
  border-radius: 18px;
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 60px rgba(240,165,0,.12);
}

.age-gate-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}
.age-gate h2 { margin-bottom: 10px; }
.age-gate p { color: var(--text-muted); font-size: .92rem; margin-bottom: 32px; line-height: 1.6; }

.age-gate-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  margin: 0 auto 24px;
}

.age-gate-btns { display: flex; gap: 14px; justify-content: center; }
.age-gate-btns .btn { min-width: 140px; justify-content: center; }

.age-gate-disclaimer {
  margin-top: 24px;
  font-size: .73rem;
  color: var(--text-muted);
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(22,32,48,.98);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
  padding: 16px 0;
  z-index: 8000;
  transform: translateY(0);
  transition: transform .35s ease;
}
.cookie-banner.hidden { transform: translateY(110%); }

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cookie-text { font-size: .85rem; color: var(--on-inverse-soft); flex: 1; min-width: 220px; }
.cookie-text a { color: var(--gold-light); }
.cookie-text a:hover { text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- Policy Pages ---------- */
.policy-hero {
  background: var(--navy-light);
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.policy-hero h1 { margin-bottom: 8px; }
.policy-hero p { color: var(--text-muted); }

.policy-body { padding: 56px 0 80px; }
.policy-content { max-width: 800px; }
.policy-content h2 {
  font-size: 1.25rem;
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content p { color: var(--text); font-size: .94rem; line-height: 1.75; margin-bottom: 14px; }
.policy-content ul {
  list-style: disc;
  padding-left: 22px;
  color: var(--text);
  font-size: .94rem;
  line-height: 1.75;
  margin-bottom: 14px;
}
.policy-content ul li { margin-bottom: 6px; }
.policy-content a { color: var(--gold); }
.policy-content strong { color: var(--text); }

/* ---------- Menores Page ---------- */
.menores-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  background: var(--menores-bg);
}
.menores-icon { font-size: 4rem; margin-bottom: 20px; }
.menores-page h1 { margin-bottom: 14px; color: #ffffff; }
.menores-page p { color: rgba(255,255,255,.72); max-width: 520px; margin: 0 auto 28px; font-size: .95rem; }
.menores-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
  margin: 0 auto 32px;
}
.menores-link {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  color: var(--text);
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition);
}
.menores-link:hover { border-color: rgba(240,165,0,.35); color: var(--white); }

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: var(--navy-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.stats-inner {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}
.stat-item strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--gold); }
.stat-item span { font-size: .8rem; color: var(--text-muted); }

/* ---------- Ticker Banner ---------- */
.ticker-wrap {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  overflow: hidden;
  padding: 10px 0;
}
.ticker-inner {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}
.ticker-text {
  color: var(--navy);
  font-size: .82rem;
  font-weight: 700;
  padding: 0 40px;
  flex-shrink: 0;
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--text-muted);
  padding: 14px 0 0;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: .4; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .brand-grid { grid-template-columns: 1fr; }
  .brand-sidebar { flex-direction: row; flex-wrap: wrap; }
  .sidebar-box { flex: 1; min-width: 240px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }

  .info-grid { grid-template-columns: 1fr; }
  .info-grid.reverse { direction: ltr; }
}

@media (max-width: 720px) {
  .casino-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .casino-card::before { width: 100%; height: 3px; right: 0; bottom: auto; border-radius: 4px 4px 0 0; }
  .card-rank { font-size: 1rem; }
  .card-action { align-items: center; }
  .card-tags { justify-content: center; }

  .hero-stats { gap: 20px; }
  .pros-cons { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 540px) {
  .site-nav { display: none; }
  .hamburger { display: block; }

  .age-gate { padding: 36px 24px; }
  .age-gate-btns { flex-direction: column; }
  .age-gate-btns .btn { width: 100%; }

  section { padding: 44px 0; }
  .brand-hero-inner { flex-direction: column; }
  .brand-logo-wrap { min-width: 0; width: 100%; }
}

/* Mobile nav open */
.site-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 0; right: 0;
  background: var(--nav-open-bg);
  backdrop-filter: blur(12px);
  padding: 20px;
  border-bottom: 1px solid var(--border);
  z-index: 850;
  gap: 16px;
}
.site-nav.open a {
  color: var(--on-inverse-soft);
}
.site-nav.open a:hover {
  color: var(--gold-light) !important;
}

[data-theme="dark"] .section-alt {
  background: rgba(19,34,54,.65);
}

/* ---------- Home redesign (composition + rhythm) ---------- */

.header-top-strip {
  background: var(--strip-bg);
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .72rem;
  letter-spacing: .06em;
  color: rgba(255,255,255,.65);
  padding: 6px 12px;
  text-align: center;
}

.header-top-strip-inner {
  max-width: 960px;
  margin: 0 auto;
}

.header-top-strip strong { color: var(--on-inverse-accent); font-weight: 700; }

.meta-bar-home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px 0 16px;
  border-bottom: 1px dashed rgba(12, 45, 94, 0.22);
  margin-bottom: 8px;
}
[data-theme="dark"] .meta-bar-home {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.meta-bar-home span {
  font-size: .74rem;
  color: var(--text-muted);
}

.section--airy { padding: 76px 0 !important; }
.section--tight { padding: 42px 0 !important; }
.section--dense p,
.section--dense li { line-height: 1.52; font-size: .92rem; }

.section--editorial .editorial-max {
  max-width: 640px;
  margin: 0 auto;
}

.section--editorial .editorial-max h2 {
  margin-bottom: 22px;
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.section--editorial .pull-quote {
  border-left: none;
  padding: 18px 24px 18px 28px;
  margin: 28px 0;
  font-style: italic;
  color: var(--text);
  font-size: 1.05rem;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  position: relative;
}
.section--editorial .pull-quote::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
  background: var(--grad-accent);
}

.checklist-steps {
  max-width: 760px;
  margin: 0 auto;
}

.checklist-steps ol {
  counter-reset: step;
  list-style: none;
}

.checklist-steps li {
  counter-increment: step;
  position: relative;
  padding: 14px 0 22px 48px;
  border-bottom: 1px solid var(--border);
}

.checklist-steps li:last-child { border-bottom: none; }

.checklist-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 18px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-weight: 900;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(240,165,0,.14);
  color: var(--gold);
}

.checklist-steps li:nth-child(odd)::before {
  border-radius: 999px;
  background: rgba(3,105,161,.14);
  color: var(--accent);
}
[data-theme="dark"] .checklist-steps li:nth-child(odd)::before {
  background: rgba(5,150,105,.14);
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.branch-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.branch-card.branch-a { background: rgba(59,130,246,.06); }
.branch-card.branch-b { background: rgba(247,147,51,.06); }

.branch-card h3 {
  margin-bottom: 14px;
  font-size: 1.08rem;
}

/* ---------- Uniform brand cards grid ---------- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.brand-card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.8);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.brand-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-accent);
  border-radius: 18px 18px 0 0;
  opacity: 0;
  transition: opacity var(--transition);
}
.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--glow), inset 0 1px 0 rgba(255,255,255,.9);
  border-color: rgba(3,105,161,.35);
}
.brand-card:hover::before { opacity: 1; }

.brand-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-card-logo {
  background: var(--navy-light);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
}

.brand-card-logo img { height: 32px; width: auto; display: block; }

.brand-card-rating {
  text-align: center;
  flex-shrink: 0;
}

.brand-card-rating .rating-number {
  font-size: 1.6rem;
  font-weight: 900;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.brand-card-rating .stars {
  color: var(--gold);
  font-size: .8rem;
  letter-spacing: 1px;
  margin-top: 3px;
}

.brand-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.brand-card-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex-grow: 1;
}

.brand-card-bonus {
  background: linear-gradient(135deg, rgba(3,105,161,.07) 0%, rgba(14,165,233,.04) 100%);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 10px 14px;
  font-size: .85rem;
  color: var(--text);
}

.brand-card-bonus strong { color: var(--gold); }

.brand-card-actions {
  display: flex;
  gap: 10px;
}

.brand-card-actions .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
  padding-left: 12px;
  padding-right: 12px;
}

[data-theme="dark"] .brand-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 36px rgba(240,165,0,.1);
}

[data-theme="dark"] .brand-card-rating .rating-number { color: var(--gold-light); }

.btn--short { padding: 9px 16px !important; font-size: .82rem !important; min-width: auto !important; }

.btn--wide { padding-left: 32px !important; padding-right: 32px !important; min-width: 200px !important; }

.footer-logos-intro {
  max-width: 720px;
  margin: 0 auto 26px;
  text-align: center;
  font-size: .91rem;
  line-height: 1.68;
  color: var(--on-inverse-muted);
}
.footer-logos-intro strong {
  color: var(--on-inverse-accent);
  font-weight: 600;
}

.responsible-logos--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 16px;
  justify-items: center;
}

.responsible-logos--chaos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 14px;
  justify-items: center;
}

@media (max-width: 780px) {
  .responsible-logos--chaos {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
    gap: 20px;
  }
}

.footer-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: .78rem;
  color: var(--on-inverse-muted);
}

.footer-theme-toggle button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--on-inverse-soft);
  border-radius: 99px;
  padding: 4px 12px;
  cursor: pointer;
  font-size: .75rem;
}

.footer-theme-toggle button:hover {
  border-color: var(--on-inverse-accent);
  color: var(--on-inverse);
}

.hero-split {
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Decorative orbs */
.hero-split::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3,105,161,.13) 0%, transparent 68%);
  pointer-events: none;
}
.hero-split::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,83,9,.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-split-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min(42%, 360px));
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-split-visual {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(3,105,161,.12);
  position: relative;
}
.hero-split-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  pointer-events: none;
}

.hero-split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.hero-split-visual:hover img { transform: scale(1.03); }

.hero-kicker {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .35em;
  color: var(--accent);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  background: rgba(3,105,161,.08);
  border: 1px solid rgba(3,105,161,.2);
  padding: 5px 14px;
  border-radius: 99px;
}

.hero-cta.hero-cta-single {
  margin-top: 28px;
}

.hero-cta-single .btn { margin-right: 0; }

.page-404-inner {
  min-height: calc(100vh - 220px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

@media (max-width: 960px) {
  .brands-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 760px) {
  .hero-split-inner { grid-template-columns: 1fr; }
  .hero-split-visual { aspect-ratio: 16/10; max-height: 260px; }
}

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

.section-dark {
  background: linear-gradient(160deg, var(--navy-light) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3,105,161,.07) 0%, transparent 70%);
  pointer-events: none;
}

.section-alt {
  background: linear-gradient(160deg, var(--navy-mid) 0%, rgba(191,219,254,.5) 100%);
}
[data-theme="dark"] .section-alt { background: rgba(19,34,54,.65); }
[data-theme="dark"] .section-dark { background: var(--navy-light); }

/* ============================================================
   Scroll-reveal animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s cubic-bezier(.4,0,.2,1), transform .55s cubic-bezier(.4,0,.2,1);
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ============================================================
   Extra polish: selection, focus, scrollbar
   ============================================================ */
::selection { background: rgba(3,105,161,.2); color: var(--text); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy-light); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), #0ea5e9);
  border-radius: 99px;
}

/* Shimmer loading skeleton (utility) */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

[data-theme="dark"] .brand-card-bonus {
  background: linear-gradient(135deg, rgba(240,165,0,.08) 0%, rgba(200,136,0,.04) 100%);
}

/* Footer theme toggle */
