/* ===== LOTTO 5-90 — Estilos ===== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --font-head: "Fredoka", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --bg: #061a4e;
  --bg-alt: #0a2465;
  --card: #10307e;
  --card-2: #173d99;
  --text: #f4f8ff;
  --muted: #aec2f0;
  --gold: #ffc61a;
  --gold-2: #ff9800;
  --green: #3ecf5c;
  --green-2: #23a943;
  --red: #e5342f;
  --blue: #2f7bff;
  --purple: #ff8c1a;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(2, 10, 40, .5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
h1, h2, h3, .btn, .logo-text, .pozo-monto, .pozo-monto-mayor, .stat-num {
  font-family: var(--font-head);
}
button, [role="button"], select { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
section[id] { scroll-margin-top: 84px; }
.stat-num { font-variant-numeric: tabular-nums; }
.ico {
  width: 1.15em; height: 1.15em; vertical-align: -0.2em; display: inline-block;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.container { width: min(1140px, 92%); margin-inline: auto; }
img { max-width: 100%; }

.grad-gold { background: linear-gradient(90deg, var(--gold), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-green { background: linear-gradient(90deg, var(--green), var(--green-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Botones ===== */
.btn {
  display: inline-block; border: none; cursor: pointer; text-decoration: none;
  font-weight: 700; font-size: 1rem; border-radius: 999px; padding: .8rem 1.7rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #341a00; box-shadow: 0 6px 24px rgba(255, 198, 26, .35);
  position: relative; overflow: hidden;
}
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg); transition: left .45s ease;
}
.btn-gold:hover::after { left: 130%; }
.btn-gold:hover { box-shadow: 0 10px 32px rgba(255, 198, 26, .5); }
.btn-outline { background: transparent; color: var(--text); border: 2px solid rgba(255,255,255,.35); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-sm { padding: .45rem 1rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.1rem; }
.btn-block { width: 100%; text-align: center; }

/* ===== Navbar ===== */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 16, 50, .88); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner { display: flex; align-items: center; gap: 1.5rem; padding: .8rem 0; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); }
.logo-img { display: none; height: 52px; width: auto; filter: drop-shadow(0 3px 8px rgba(2,10,40,.5)); }
.logo.has-img .logo-img { display: block; }
.logo.has-img .logo-ball, .logo.has-img .logo-text { display: none; }
.footer .logo-img { height: 72px; }
.logo-ball {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; font-size: 1.2rem; color: #341a00;
  background: radial-gradient(circle at 30% 30%, #fff3c4, var(--gold) 55%, var(--gold-2));
  box-shadow: 0 4px 14px rgba(255, 198, 26, .5);
}
.logo-text { font-size: 1.15rem; letter-spacing: 1px; }
.logo-text strong { color: #fff; background: linear-gradient(160deg, #ff5a4d, var(--red)); padding: .05rem .5rem; border-radius: 9px; box-shadow: 0 2px 8px rgba(229,52,47,.45); }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; transition: color .15s; }
.nav-links a:hover { color: var(--gold); }
.hamburger { display: none; background: none; border: none; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ===== Hero ===== */
.hero { position: relative; padding: 5rem 0 0; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 130%;
  background:
    radial-gradient(600px 400px at 15% 20%, rgba(255,198,26,.20), transparent 70%),
    radial-gradient(700px 500px at 85% 30%, rgba(47,123,255,.28), transparent 70%),
    radial-gradient(500px 400px at 60% 90%, rgba(62,207,92,.14), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; padding-bottom: 4rem; }
.hero-kicker { color: var(--gold); font-weight: 700; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.12; margin-bottom: 1.2rem; }
.hero-sub { color: var(--muted); font-size: 1.12rem; max-width: 34rem; margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.hero-stats { display: flex; gap: 2.4rem; flex-wrap: wrap; }
.stat-num { display: block; font-size: 1.9rem; font-weight: 900; color: var(--gold); }
.stat-label { color: var(--muted); font-size: .85rem; }

/* Video del logo */
.hero-visual { position: relative; }
.video-orb {
  border-radius: 34px; overflow: hidden; margin: 1rem auto; max-width: 430px;
  box-shadow: 0 24px 70px rgba(2, 10, 40, .6), 0 0 90px rgba(255, 198, 26, .28);
  border: 1px solid rgba(255, 198, 26, .35);
}
.video-orb video { width: 100%; display: block; }
/* Bolas decorativas de fondo distribuidas en toda la página */
.section, .hero, .responsible { position: relative; overflow: hidden; }
.section > .container, .hero > .container, .responsible > .container { position: relative; z-index: 1; }
.bg-ball {
  position: absolute; z-index: 0; pointer-events: none;
  opacity: .3; filter: blur(.6px);
}

/* Lluvia de billetes */
.money-rain { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.bill {
  position: absolute; top: -18vh; will-change: transform;
  animation: bill-fall var(--dur) linear var(--delay) forwards;
}
.bill img {
  display: block; width: 100%; border-radius: 4px;
  filter: drop-shadow(0 8px 14px rgba(2, 10, 40, .45));
  animation: bill-flutter var(--flut) ease-in-out infinite alternate;
}
@keyframes bill-fall {
  to { transform: translateY(135vh) translateX(var(--drift)) rotate(var(--spin)); }
}
@keyframes bill-flutter {
  from { transform: perspective(600px) rotate3d(1, .3, .2, -35deg); }
  to   { transform: perspective(600px) rotate3d(1, .3, .2, 50deg); }
}

/* Aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Separador de ola entre secciones */
.wave-top { position: absolute; top: -1px; left: 0; right: 0; height: 46px; z-index: 0; pointer-events: none; }
.wave-top svg { display: block; width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bill, .bill img, .float-1, .float-2, .float-3, .float-4, .float-5, .marquee-track,
  .pozo-mayor::after, .pozo-sube { animation: none !important; }
}

/* Bolas flotantes */
.ball-cluster { position: relative; height: 380px; }
.big-ball {
  position: absolute; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.35);
  box-shadow: inset -8px -10px 24px rgba(0,0,0,.35), 0 16px 40px rgba(0,0,0,.5);
}
.big-ball::after {
  content: ""; position: absolute; top: 12%; left: 16%; width: 30%; height: 22%;
  background: radial-gradient(ellipse, rgba(255,255,255,.75), transparent 70%);
  border-radius: 50%;
}
.ball-red    { width: 120px; height: 120px; font-size: 2.4rem; top: 6%;  left: 8%;  background: radial-gradient(circle at 32% 28%, #ff8a94, var(--red) 60%, #b31226); }
.ball-gold   { width: 150px; height: 150px; font-size: 3rem;   top: 28%; left: 44%; background: radial-gradient(circle at 32% 28%, #ffe58a, var(--gold) 60%, #c77700); }
.ball-green  { width: 100px; height: 100px; font-size: 2rem;   top: 66%; left: 16%; background: radial-gradient(circle at 32% 28%, #8df5c0, var(--green) 60%, #058a4e); }
.ball-blue   { width: 90px;  height: 90px;  font-size: 1.8rem; top: 4%;  left: 66%; background: radial-gradient(circle at 32% 28%, #9cdcff, var(--blue) 60%, #0b6ca8); }
.ball-purple { width: 110px; height: 110px; font-size: 2.1rem; top: 68%; left: 62%; background: radial-gradient(circle at 32% 28%, #ffd9a8, var(--purple) 60%, #c85f00); }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-18px) rotate(3deg); } }
.float-1 { animation: floaty 5.2s ease-in-out infinite; }
.float-2 { animation: floaty 6.4s ease-in-out .4s infinite; }
.float-3 { animation: floaty 4.6s ease-in-out .9s infinite; }
.float-4 { animation: floaty 5.8s ease-in-out .2s infinite; }
.float-5 { animation: floaty 5s ease-in-out 1.2s infinite; }

/* Marquee ganadores */
.marquee { position: relative; background: linear-gradient(90deg, var(--gold), var(--gold-2)); overflow: hidden; padding: .55rem 0; }
.marquee-label {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: .4rem; padding: 0 1.1rem;
  background: var(--red); color: #fff; font-weight: 800; font-size: .8rem;
  letter-spacing: 1.5px; font-family: var(--font-head);
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.marquee-track { display: flex; gap: 3rem; white-space: nowrap; width: max-content; animation: scroll 30s linear infinite; font-weight: 700; color: #341a00; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== Secciones ===== */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-kicker { color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: .82rem; margin-bottom: .4rem; }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: .8rem; }
.section-sub { color: var(--muted); max-width: 40rem; margin-bottom: 2.4rem; }

/* ===== Pozos acumulados ===== */
.pozos { background: radial-gradient(900px 500px at 50% 0%, rgba(255,198,26,.12), transparent 70%), var(--bg); }
.pozo-mayor {
  position: relative; text-align: center; padding: 2.6rem 1.5rem 2.2rem;
  background: linear-gradient(150deg, #ffdf6b, var(--gold) 45%, var(--gold-2));
  border-radius: 24px; box-shadow: 0 18px 60px rgba(255, 165, 0, .35), inset 0 2px 0 rgba(255,255,255,.55);
  overflow: hidden;
}
.pozo-mayor::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.55), transparent);
  animation: brillo 3.2s ease-in-out infinite;
}
@keyframes brillo { 0% { left: -60%; } 60%, 100% { left: 120%; } }
.pozo-badge {
  display: inline-block; font-weight: 900; letter-spacing: 2px; font-size: .95rem;
  color: #fff; background: rgba(90, 40, 0, .8); padding: .4rem 1.2rem; border-radius: 999px;
}
.pozo-monto-mayor {
  display: block; font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 900; color: #3a1d00;
  margin: .8rem 0 .4rem; text-shadow: 0 2px 0 rgba(255,255,255,.4); font-variant-numeric: tabular-nums;
}
.pozo-mayor .pozo-nota { color: #5a3300; font-weight: 600; font-size: .92rem; max-width: 34rem; margin-inline: auto; }
.pozo-countdown {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem;
  background: rgba(90, 40, 0, .85); color: #ffe9a8; font-family: var(--font-head);
  font-weight: 700; font-size: 1.05rem; padding: .5rem 1.3rem; border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.pozo-countdown strong { color: #fff; font-size: 1.2rem; letter-spacing: 1px; }
.pozos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.4rem; }
.pozo-card {
  text-align: center; padding: 1.6rem 1.2rem;
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid rgba(255,198,26,.35); border-radius: var(--radius); box-shadow: var(--shadow);
}
.pozo-badge-sec { font-weight: 800; letter-spacing: 1.5px; font-size: .8rem; color: var(--gold); }
.pozo-monto {
  display: block; font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 900; color: var(--text);
  margin: .5rem 0 .4rem; font-variant-numeric: tabular-nums;
}
.pozo-card .pozo-nota { color: var(--muted); font-size: .8rem; }
.pozo-sube { animation: pozo-pulso .6s ease; }
@keyframes pozo-pulso { 30% { transform: scale(1.045); color: #2fe08a; } }
.pozo-mayor .pozo-sube { animation: pozo-pulso-mayor .6s ease; }
@keyframes pozo-pulso-mayor { 30% { transform: scale(1.03); } }
@media (max-width: 900px) { .pozos-grid { grid-template-columns: 1fr; } }

/* ===== Resultados ===== */
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; }
.result-card {
  background: linear-gradient(160deg, var(--card), var(--card-2));
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.result-card.latest { border-color: var(--gold); position: relative; }
.result-badge {
  position: absolute; top: -12px; right: 16px; background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #341a00; font-size: .72rem; font-weight: 800; padding: .2rem .7rem; border-radius: 999px;
}
.result-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.result-draw { font-weight: 800; }
.result-date { color: var(--muted); font-size: .85rem; }
.result-balls { display: flex; gap: .55rem; flex-wrap: wrap; }
.mini-ball {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem; color: #341a00;
  background: radial-gradient(circle at 32% 28%, #fff3c4, var(--gold) 60%, var(--gold-2));
  box-shadow: inset -3px -4px 10px rgba(0,0,0,.25), 0 4px 12px rgba(0,0,0,.4);
}
.mini-ball.mb-0 { background: radial-gradient(circle at 32% 28%, #ff8a94, var(--red) 60%, #b31226); color: #fff; }
.mini-ball.mb-1 { background: radial-gradient(circle at 32% 28%, #fff3c4, var(--gold) 60%, var(--gold-2)); }
.mini-ball.mb-2 { background: radial-gradient(circle at 32% 28%, #8df5c0, var(--green) 60%, #0e7a35); color: #fff; }
.mini-ball.mb-3 { background: radial-gradient(circle at 32% 28%, #9cdcff, var(--blue) 60%, #0b4fa8); color: #fff; }
.mini-ball.mb-4 { background: radial-gradient(circle at 32% 28%, #ffd9a8, #ff8c1a 60%, #c85f00); color: #fff; }
.result-card { transition: transform .2s ease, border-color .2s ease; }
.result-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.results-note { color: var(--muted); font-size: .85rem; margin-top: 1.6rem; }

/* ===== Cómo jugar ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; margin-top: 1rem; }
.step-card {
  background: var(--card); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 1.8rem 1.5rem; transition: transform .2s, border-color .2s;
}
.step-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; font-size: 1.2rem; color: #06281a; margin-bottom: 1rem;
  background: radial-gradient(circle at 32% 28%, #8df5c0, var(--green) 60%, var(--green-2));
}
.step-card h3 { margin-bottom: .5rem; }
.step-card p { color: var(--muted); font-size: .95rem; }

/* ===== Jugar en línea ===== */
.play-panel { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.6rem; align-items: start; }
.play-board {
  background: var(--card); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow);
}
.play-board-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; font-weight: 700; }
.board-actions { display: flex; gap: .5rem; }
.number-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: .45rem; }
.num-cell {
  aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05); color: var(--text); font-weight: 700; font-size: .95rem;
  cursor: pointer; transition: all .12s ease;
}
.num-cell:hover { border-color: var(--gold); color: var(--gold); transform: scale(1.08); }
.num-cell.selected {
  background: radial-gradient(circle at 32% 28%, #fff3c4, var(--gold) 60%, var(--gold-2));
  color: #341a00; border-color: transparent; transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(255,198,26,.45);
}

.ticket {
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px dashed rgba(255,198,26,.5); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow); position: sticky; top: 90px;
}
.ticket-title { margin-bottom: 1rem; }
.ticket-balls { display: flex; gap: .5rem; justify-content: center; margin-bottom: 1.2rem; min-height: 46px; }
.ticket-slot {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.25); display: grid; place-items: center;
}
.ticket-slot.filled {
  border: none; font-weight: 800; color: #341a00;
  background: radial-gradient(circle at 32% 28%, #fff3c4, var(--gold) 60%, var(--gold-2));
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
}
.field { display: block; margin-bottom: 1rem; }
.field span { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .35rem; font-weight: 600; }
.field select, .field input, .field textarea {
  width: 100%; padding: .7rem .9rem; border-radius: 10px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  color: var(--text); font-size: .95rem; font-family: inherit;
}
.field select:focus, .field input:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.field select option { background: var(--card); color: var(--text); }
.ticket-summary { border-top: 1px solid rgba(255,255,255,.12); margin: 1.1rem 0; padding-top: .9rem; }
.ticket-summary .row { display: flex; justify-content: space-between; margin-bottom: .45rem; color: var(--muted); font-size: .95rem; }
.ticket-summary .row strong { color: var(--text); }
.ticket-summary .row.highlight strong { color: var(--gold); font-size: 1.15rem; }
.ticket-note { font-size: .76rem; color: var(--muted); margin-top: .9rem; text-align: center; }

/* ===== Premios ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.prize-table { width: 100%; border-collapse: collapse; background: var(--card); min-width: 560px; }
.prize-table th, .prize-table td { padding: 1rem 1.2rem; text-align: left; }
.prize-table thead { background: linear-gradient(90deg, var(--gold), var(--gold-2)); color: #341a00; }
.prize-table tbody tr { border-top: 1px solid rgba(255,255,255,.08); }
.prize-table tbody tr:hover { background: rgba(255,255,255,.04); }
.jackpot-row { background: rgba(255,198,26,.1); font-weight: 800; }
.jackpot-row td { color: var(--gold); }

/* ===== Nosotros ===== */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.about-grid p { color: var(--muted); margin-bottom: 1rem; }
.checks { list-style: none; margin-top: 1.2rem; }
.checks li { padding: .35rem 0; font-weight: 600; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.about-card {
  background: var(--card); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 1.5rem; text-align: center; transition: transform .2s, border-color .2s;
}
.about-card:hover { transform: translateY(-5px); border-color: var(--green); }
.about-emoji { font-size: 2rem; color: var(--gold); }
.about-emoji .ico { width: 38px; height: 38px; }
.check-ico { color: var(--green); stroke-width: 3; }
.contact-ico { color: var(--gold); }
.contact-ico .ico { width: 26px; height: 26px; }
.about-card h3 { margin: .5rem 0 .3rem; }
.about-card p { color: var(--muted); font-size: .88rem; margin: 0; }

/* ===== Testimonios ===== */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.testi-card {
  margin: 0; background: var(--card); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 1.8rem 1.5rem; box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.testi-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.testi-quote { width: 30px; height: 30px; color: var(--gold); margin-bottom: .8rem; }
.testi-card blockquote { margin: 0 0 1rem; font-size: 1.02rem; line-height: 1.6; }
.testi-card figcaption { color: var(--muted); font-size: .9rem; }
.testi-card figcaption strong { color: var(--gold); }

/* ===== FUNDE ===== */
.funde-grid { display: grid; grid-template-columns: auto 1fr; gap: 2.4rem; align-items: center; }
.funde-sello {
  width: 130px; height: 130px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 2px solid var(--green); box-shadow: 0 0 50px rgba(62,207,92,.25);
  color: var(--green);
}
.funde-sello .ico { width: 64px; height: 64px; }
.funde-grid p { color: var(--muted); margin-bottom: 1rem; max-width: 46rem; }
@media (max-width: 700px) { .funde-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* ===== Juego responsable ===== */
.responsible { background: linear-gradient(135deg, #4a1210, #0a2465); text-align: center; padding: 3.4rem 0; }
.responsible .section-sub { margin-inline: auto; margin-bottom: 0; }

/* ===== Contacto ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.6rem; margin-top: 1rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-item > span { font-size: 1.5rem; }
.contact-item p { color: var(--muted); }
.contact-form {
  background: var(--card); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow);
}
.form-status { margin-top: .8rem; text-align: center; color: var(--green); font-weight: 700; min-height: 1.4em; }

/* ===== Footer ===== */
.footer { border-top: 1px solid rgba(255,255,255,.08); padding: 2.6rem 0; background: #030f30; }
.footer-inner { display: grid; gap: 1.4rem; justify-items: center; text-align: center; }
.footer-tag { color: var(--muted); margin-top: .5rem; font-size: .9rem; }
.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: var(--gold); }
.footer-legal { color: var(--muted); font-size: .8rem; max-width: 40rem; }

/* ===== Modal ===== */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(4px);
  display: grid; place-items: center; z-index: 100; padding: 1rem;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--gold); border-radius: var(--radius);
  padding: 2rem; max-width: 420px; width: 100%; text-align: center; box-shadow: var(--shadow);
}
.modal h3 { margin-bottom: 1.2rem; font-size: 1.4rem; }
.modal p { color: var(--muted); margin-bottom: .8rem; }
.modal .ticket-balls { justify-content: center; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .play-panel, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .ticket { position: static; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: rgba(4,16,50,.97); padding: 1.2rem 6%;
    border-bottom: 1px solid rgba(255,255,255,.1); gap: 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .hamburger { display: block; margin-left: auto; }
  .number-grid { grid-template-columns: repeat(9, 1fr); }
}
@media (max-width: 520px) {
  .number-grid { grid-template-columns: repeat(6, 1fr); }
  .hero-stats { gap: 1.4rem; }
}
