/* ===== PixelPlay - estilo arcade neon ===== */
:root {
  --bg: #070b1c;
  --bg2: #0d1230;
  --panel: #121a3a;
  --panel2: #182048;
  --magenta: #ff2e97;
  --cyan: #00f0ff;
  --purple: #9d4edd;
  --yellow: #ffd60a;
  --green: #39ff14;
  --text: #eae6ff;
  --muted: #9d92c4;
  --danger: #ff4d6d;
  --shadow-mag: 0 0 18px rgba(255, 46, 151, .55);
  --shadow-cy: 0 0 18px rgba(0, 240, 255, .45);
  --ease-smooth: cubic-bezier(.22, 1, .36, 1);
  --font-pixel: 'Press Start 2P', monospace;
  --font-body: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(157, 78, 221, .22), transparent),
    radial-gradient(750px 520px at 0% 8%, rgba(0, 240, 255, .16), transparent),
    radial-gradient(700px 600px at 50% 110%, rgba(255, 46, 151, .12), transparent),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}
body::after {
  content: '';
  position: fixed;
  inset: -20% auto auto 50%;
  width: min(760px, 92vw);
  height: 360px;
  transform: translateX(-50%) translateY(calc(var(--scroll-progress, 0) * 120px));
  background: radial-gradient(circle at center, rgba(0, 240, 255, .12), rgba(255, 46, 151, .08) 42%, transparent 72%);
  filter: blur(28px);
  opacity: .9;
  pointer-events: none;
  z-index: 0;
  transition: transform .22s linear;
}

/* rejilla de fondo */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(157, 78, 221, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 78, 221, .06) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: translateY(calc(var(--scroll-progress, 0) * -90px));
  transition: transform .22s linear;
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, .pixel { font-family: var(--font-pixel); line-height: 1.4; }
a { color: var(--cyan); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ===== NAV ===== */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 6, 18, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(157, 78, 221, .35);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.js-ready header.nav {
  opacity: 0;
  transform: translateY(-26px);
  animation: nav-enter .8s var(--ease-smooth) forwards;
}
body.is-scrolled header.nav {
  background: rgba(8, 9, 25, .92);
  border-bottom-color: rgba(0, 240, 255, .28);
  box-shadow: 0 12px 28px rgba(3, 5, 18, .35);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; max-width: 1140px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo .mark {
  font-family: var(--font-pixel); font-size: 18px;
  color: var(--magenta); text-shadow: var(--shadow-mag);
}
.logo .mark span { color: var(--cyan); text-shadow: var(--shadow-cy); }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--text); font-weight: 600; font-size: 1.05rem; letter-spacing: .5px; }
.nav-links a:hover { color: var(--cyan); }
.nav-links a.is-active {
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 240, 255, .7);
}
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.7rem; cursor: pointer; }

/* ===== BOTONES ===== */
.btn {
  display: inline-block; cursor: pointer; border: 0;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  letter-spacing: .6px; padding: 12px 24px; border-radius: 10px;
  transition: transform .12s ease, box-shadow .2s ease, filter .2s;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: '';
  position: absolute;
  inset: -120% auto auto -35%;
  width: 52%;
  height: 260%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .34), transparent);
  transform: rotate(22deg) translateX(-220%);
  opacity: .42;
  pointer-events: none;
}
.btn:hover::before {
  transform: rotate(22deg) translateX(420%);
  transition: transform .85s var(--ease-smooth);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: linear-gradient(135deg, var(--magenta), var(--purple)); color: #fff; box-shadow: var(--shadow-mag); }
.btn-primary:hover { transform: translateY(-3px); filter: brightness(1.12); box-shadow: 0 0 26px rgba(255, 46, 151, .8), 0 16px 30px rgba(157, 78, 221, .25); }
.btn-cyan { background: linear-gradient(135deg, var(--cyan), #0096ff); color: #04121a; box-shadow: var(--shadow-cy); }
.btn-cyan:hover { transform: translateY(-3px); filter: brightness(1.1); box-shadow: 0 0 24px rgba(0, 240, 255, .5), 0 16px 30px rgba(0, 150, 255, .2); }
.btn-ghost { background: transparent; border: 1.5px solid var(--purple); color: var(--text); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 18px rgba(0, 240, 255, .14); }
.btn-sm { padding: 8px 14px; font-size: .82rem; border-radius: 8px; }
.btn-danger { background: transparent; border: 1.5px solid var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ===== HERO ===== */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: clip;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
}
.hero .container {
  transform: translate3d(0, var(--hero-shift, 0px), 0);
  transition: transform .28s ease-out;
}
.hero .container::before,
.hero .container::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}
.hero .container::before {
  inset: 14% 10% auto;
  height: 220px;
  background: radial-gradient(circle at center, rgba(255, 46, 151, .18), transparent 68%);
  filter: blur(24px);
  opacity: .85;
  animation: hero-orbit 9s ease-in-out infinite;
}
.hero .container::after {
  width: 240px;
  height: 240px;
  right: 8%;
  top: 10%;
  background: radial-gradient(circle at center, rgba(0, 240, 255, .17), transparent 70%);
  filter: blur(18px);
  animation: hero-orbit 11s ease-in-out infinite reverse;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  inset: -12% auto auto 50%;
  width: min(720px, 86vw);
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(circle at center, rgba(0, 240, 255, .2), rgba(157, 78, 221, .14) 45%, transparent 72%);
  filter: blur(22px);
  animation: hero-aurora 8.5s ease-in-out infinite;
}
.hero::after {
  inset: 18% -16% auto;
  height: 160px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent);
  transform: translateX(-140%) rotate(-7deg);
  opacity: .22;
  animation: hero-sheen 5.8s ease-in-out infinite 1s;
}
.hero h1 {
  font-size: clamp(1.8rem, 6vw, 3.4rem);
  color: #fff;
  text-shadow: 0 0 14px var(--magenta), 0 0 30px rgba(157, 78, 221, .8);
  margin-bottom: 22px;
}
.hero h1 .cy { color: var(--cyan); text-shadow: 0 0 14px var(--cyan); }
.hero p.lead { font-size: 1.35rem; color: var(--muted); max-width: 620px; margin: 0 auto 32px; }
.hero .cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero .cta .btn:nth-child(1) { animation: cta-float 4.2s ease-in-out infinite; }
.hero .cta .btn:nth-child(2) { animation: cta-float 4.2s ease-in-out infinite .45s; }
.badge-live {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(57, 255, 20, .12); border: 1px solid var(--green);
  color: var(--green); padding: 6px 14px; border-radius: 30px;
  font-weight: 700; font-size: .85rem; margin-bottom: 24px;
}
.badge-off {
  background: rgba(157, 146, 196, .1); border-color: var(--muted); color: var(--muted);
}
.blink { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: blink 1.1s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ===== SECCIONES ===== */
section {
  padding: 56px 0;
  position: relative;
  z-index: 1;
  transition: transform .55s var(--ease-smooth), filter .55s var(--ease-smooth);
  scroll-margin-top: 96px;
}
section::before {
  content: '';
  position: absolute;
  inset: 14px 6% auto;
  height: 140px;
  background: radial-gradient(circle at center, rgba(0, 240, 255, .08), transparent 72%);
  filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}
section.section-in-view::before { opacity: 1; }
section::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  border: 1px solid transparent;
  box-shadow: 0 0 0 rgba(0, 240, 255, 0);
  opacity: 0;
  pointer-events: none;
}
.section-landing::after {
  animation: section-landing 1.35s var(--ease-smooth);
}
.section-title { text-align: center; margin-bottom: 12px; font-size: clamp(1.1rem, 3.2vw, 1.7rem); color: #fff; text-shadow: 0 0 12px var(--purple); }
.section-title::after {
  content: '';
  display: block;
  width: min(160px, 42vw);
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
  box-shadow: 0 0 18px rgba(0, 240, 255, .22);
}
.section-in-view .section-title::after {
  width: min(230px, 60vw);
  box-shadow: 0 0 24px rgba(0, 240, 255, .34), 0 0 30px rgba(255, 46, 151, .2);
}
.section-in-view .section-sub { color: #c7bfff; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 40px; font-size: 1.15rem; }

/* tarjetas */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: linear-gradient(160deg, var(--panel), var(--panel2));
  border: 1px solid rgba(157, 78, 221, .3);
  border-radius: 16px; padding: 24px;
  transition: transform .2s, border-color .2s, box-shadow .2s, background .25s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.card::before {
  content: '';
  position: absolute;
  inset: -35% 30%;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .14) 50%, transparent 80%);
  transform: translate3d(-170%, 0, 0) rotate(12deg);
  opacity: 0;
  pointer-events: none;
}
.card.reveal-visible::before {
  opacity: .9;
  transform: translate3d(170%, 0, 0) rotate(12deg);
  transition: transform 1s var(--ease-smooth), opacity .35s ease;
  transition-delay: calc(var(--reveal-delay, 0ms) + 120ms);
}
.card::after {
  content: '';
  position: absolute;
  inset: auto 12% -45% auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at center, rgba(0, 240, 255, .16), transparent 70%);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  transform: translateY(24px);
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: var(--shadow-cy); background: linear-gradient(160deg, #16204a, #1b2553); }
.card:hover::after { opacity: 1; transform: translateY(0); }
.section-in-view .card:hover { transform: translateY(-8px) scale(1.01); }
.game-card { text-align: center; }
.game-card .emoji { font-size: 2.6rem; margin-bottom: 10px; }
.game-card h3 { font-size: .9rem; color: var(--cyan); margin-bottom: 10px; }
.game-card p { color: var(--muted); }

/* ===== TORNEOS ===== */
.t-card { display: flex; flex-direction: column; gap: 12px; }
.t-card .t-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.t-card h3 { font-size: .95rem; color: var(--magenta); }
.tag { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px; }
.tag-1v1 { background: rgba(255, 46, 151, .15); color: var(--magenta); border: 1px solid var(--magenta); }
.tag-ffa { background: rgba(0, 240, 255, .12); color: var(--cyan); border: 1px solid var(--cyan); }
.tag-groups { background: rgba(255, 214, 10, .12); color: var(--yellow); border: 1px solid var(--yellow); }
.t-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: .95rem; }
.t-meta b { color: var(--text); }
.cupos-bar { height: 8px; background: rgba(255,255,255,.08); border-radius: 6px; overflow: hidden; }
.cupos-bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--cyan)); }
.t-thumb { margin: -24px -24px 6px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px 16px 0 0; }
.t-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-img-preview { margin-top: 12px; }
.t-img-preview img { width: 100%; max-width: 320px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid rgba(157,78,221,.4); }

/* ===== PLANES ===== */
.plan-card { display: flex; flex-direction: column; }
.plan-card.featured { border-color: var(--magenta); box-shadow: var(--shadow-mag); position: relative; }
.plan-card.featured::after {
  content: 'POPULAR'; position: absolute; top: 14px; right: -34px;
  background: var(--magenta); color: #fff; font-family: var(--font-pixel); font-size: .55rem;
  padding: 5px 40px; transform: rotate(45deg);
}
.plan-card h3 { color: var(--yellow); font-size: 1rem; margin-bottom: 6px; }
.price { font-family: var(--font-pixel); font-size: 1.6rem; color: #fff; margin: 8px 0; }
.price small { font-family: var(--font-body); font-size: .85rem; color: var(--muted); }
.plan-card ul { list-style: none; margin: 16px 0; flex: 1; }
.plan-card li { padding: 7px 0 7px 26px; position: relative; color: var(--text); border-bottom: 1px dashed rgba(157,78,221,.2); }
.plan-card li::before { content: '▸'; position: absolute; left: 4px; color: var(--green); }
.plan-meta { display: flex; gap: 16px; color: var(--muted); font-size: .95rem; margin-bottom: 6px; }

/* ===== FORM ===== */
.form-wrap { background: linear-gradient(160deg, var(--panel), var(--panel2)); border: 1px solid rgba(157,78,221,.3); border-radius: 18px; padding: 30px; }
.section-in-view .form-wrap {
  box-shadow: 0 0 0 1px rgba(0, 240, 255, .08), 0 18px 48px rgba(8, 11, 34, .32);
}
label { display: block; font-weight: 600; margin: 14px 0 6px; color: var(--text); letter-spacing: .3px; }
label .req { color: var(--magenta); }
input, select, textarea {
  width: 100%; background: #0e0820; border: 1.5px solid rgba(157,78,221,.4);
  color: var(--text); padding: 12px 14px; border-radius: 10px; font-family: var(--font-body); font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: var(--shadow-cy); }
textarea { resize: vertical; min-height: 80px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.file-input { padding: 10px; }
.help { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.pay-box { background: #0e0820; border: 1px dashed var(--purple); border-radius: 10px; padding: 14px; margin-top: 8px; font-size: .95rem; color: var(--cyan); white-space: pre-wrap; }

/* notificaciones */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120px);
  background: var(--panel2); border: 1px solid var(--cyan); color: var(--text);
  padding: 14px 22px; border-radius: 12px; box-shadow: var(--shadow-cy); z-index: 200;
  transition: transform .3s ease; max-width: 90vw; font-weight: 600;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.err { border-color: var(--danger); box-shadow: 0 0 18px rgba(255,77,109,.5); }
.toast.ok { border-color: var(--green); box-shadow: 0 0 18px rgba(57,255,20,.4); }

/* modal */
.modal-bg { position: fixed; inset: 0; background: rgba(4,2,10,.8); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 150; padding: 20px; }
.modal-bg.show { display: flex; }
.modal { background: linear-gradient(160deg, var(--panel), var(--panel2)); border: 1px solid var(--cyan); border-radius: 16px; padding: 28px; max-width: 480px; width: 100%; box-shadow: var(--shadow-cy); }
.modal h3 { color: var(--cyan); font-size: .95rem; margin-bottom: 16px; }
.modal-close { float: right; background: none; border: 0; color: var(--muted); font-size: 1.5rem; cursor: pointer; }

/* ===== FOOTER ===== */
footer { border-top: 1px solid rgba(157,78,221,.3); padding: 40px 0 30px; text-align: center; margin-top: 40px; position: relative; z-index: 1; }
footer .logo { justify-content: center; margin-bottom: 14px; }
.socials { display: flex; gap: 18px; justify-content: center; margin: 16px 0; }
.socials a { color: var(--text); font-weight: 700; }
.socials a:hover { color: var(--magenta); }

.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty .emoji { font-size: 3rem; margin-bottom: 12px; }

/* ===== LOGO IMG ===== */
.logo { text-decoration: none; }
.logo-img { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; box-shadow: 0 0 14px rgba(0,240,255,.35); }
.center-logo { justify-content: center; }
.hero-logo {
  width: clamp(140px, 26vw, 210px); height: auto; margin: 0 auto 22px;
  border-radius: 22px; filter: drop-shadow(0 0 30px rgba(0,240,255,.45));
  animation: floaty 4s ease-in-out infinite, logo-pulse 3.6s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-8px); } }
.hero-loc { margin-top: 22px; color: var(--cyan); font-weight: 700; letter-spacing: .5px; }

/* secciones alternas con leve fondo */
section.alt { background: linear-gradient(180deg, rgba(13,18,48,.55), rgba(7,11,28,0)); }
.mini-title { text-align: center; font-family: var(--font-pixel); font-size: .85rem; color: var(--magenta); text-shadow: var(--shadow-mag); margin: 34px 0 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== TARJETAS DE PRECIO (atracciones / combos) ===== */
.price-card { text-align: center; }
.price-card .emoji { font-size: 2.4rem; margin-bottom: 8px; }
.price-card h3 { font-size: .82rem; color: var(--cyan); margin-bottom: 10px; min-height: 2.4em; display: flex; align-items: center; justify-content: center; }
.price-tag { font-family: var(--font-pixel); font-size: 1.5rem; color: var(--yellow); text-shadow: 0 0 12px rgba(255,214,10,.5); }
.price-tag.sm { font-size: 1.2rem; }
.price-unit { color: var(--muted); font-size: .9rem; margin-top: 4px; }

/* créditos */
.credits-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.credit-chip {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(160deg, var(--panel), var(--panel2));
  border: 1px solid var(--cyan); border-radius: 14px; padding: 16px 26px;
  box-shadow: var(--shadow-cy);
  transition: transform .2s ease, box-shadow .25s ease;
}
.credit-chip:hover { transform: translateY(-3px); box-shadow: 0 0 24px rgba(0, 240, 255, .55); }
.credit-chip span { font-weight: 700; font-size: 1.1rem; }
.credit-chip b { font-family: var(--font-pixel); color: var(--green); font-size: 1.2rem; }

/* combos de bienvenida */
.combo-card { text-align: center; }
.combo-card h3 { color: var(--magenta); font-size: .85rem; margin-bottom: 8px; }
.combo-card ul { list-style: none; margin-top: 12px; text-align: left; }
.combo-card li { padding: 5px 0 5px 20px; position: relative; color: var(--text); font-size: .95rem; }
.combo-card li::before { content: '▹'; position: absolute; left: 2px; color: var(--cyan); }

/* promos semanales */
.promo-card { text-align: center; border-color: var(--magenta); }
.promo-card:hover { box-shadow: var(--shadow-mag); border-color: var(--magenta); }
.promo-day { font-family: var(--font-pixel); font-size: .9rem; color: var(--cyan); margin-bottom: 14px; }
.promo-title { font-family: var(--font-pixel); font-size: 2rem; color: #fff; text-shadow: 0 0 16px var(--magenta), 0 0 30px var(--purple); }
.promo-sub { color: var(--muted); margin-top: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; font-size: .9rem; }

/* menú */
.menu-grid { align-items: start; }
.menu-cat h3 { color: var(--yellow); font-size: .85rem; margin-bottom: 14px; }
.menu-list { list-style: none; }
.menu-list li { padding: 10px 0; border-bottom: 1px dashed rgba(157,78,221,.22); }
.menu-line { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.menu-name { font-weight: 600; }
.menu-price { font-family: var(--font-pixel); font-size: .85rem; color: var(--green); white-space: nowrap; }
.menu-detail { color: var(--muted); font-size: .85rem; margin-top: 4px; }

/* ===== WHATSAPP FLOTANTE ===== */
.wa-float {
  position: fixed; right: 20px; bottom: 22px; z-index: 120;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c4b);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(37,211,102,.5); font-size: 1.7rem;
  transition: transform .15s ease, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 8px 28px rgba(37,211,102,.7); }
.wa-ico { line-height: 1; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 220;
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress, 0));
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--yellow));
  box-shadow: 0 0 18px rgba(0, 240, 255, .45);
  pointer-events: none;
}

/* ===== REVEALS ===== */
.reveal-on-scroll {
  --reveal-delay: 0ms;
  animation-duration: .95s;
  animation-timing-function: var(--ease-smooth);
  animation-fill-mode: both;
  animation-delay: var(--reveal-delay);
  will-change: opacity, transform, filter;
}
.js-ready .reveal-on-scroll {
  opacity: 0;
  filter: blur(14px) saturate(.75);
}
.js-ready .reveal-fade-up { transform: translate3d(0, 56px, 0) scale(.985); }
.js-ready .reveal-fade-down { transform: translate3d(0, -46px, 0) scale(.985); }
.js-ready .reveal-fade-left { transform: translate3d(-70px, 0, 0) scale(.98); }
.js-ready .reveal-fade-right { transform: translate3d(70px, 0, 0) scale(.98); }
.js-ready .reveal-zoom { transform: translate3d(0, 34px, 0) scale(.86); }
.js-ready .reveal-visible {
  opacity: 1;
  transform: none;
  filter: none;
}
.js-ready .reveal-visible.reveal-fade-up { animation-name: reveal-up; }
.js-ready .reveal-visible.reveal-fade-down { animation-name: reveal-down; }
.js-ready .reveal-visible.reveal-fade-left { animation-name: reveal-left; }
.js-ready .reveal-visible.reveal-fade-right { animation-name: reveal-right; }
.js-ready .reveal-visible.reveal-zoom { animation-name: reveal-zoom-in; }
.js-ready .section-title.reveal-visible { animation-name: title-rise; animation-duration: 1.05s; }
.js-ready .section-sub.reveal-visible { animation-name: subtitle-rise; animation-duration: 1.05s; }
.js-ready .card.reveal-visible,
.js-ready .form-wrap.reveal-visible,
.js-ready .credit-chip.reveal-visible {
  animation-name: card-rise;
  animation-duration: .9s;
}
body.js-ready > section.reveal-on-scroll:not(.reveal-visible) {
  transform: translate3d(0, 80px, 0);
}

@keyframes nav-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes reveal-up {
  0% {
    opacity: 0;
    transform: translate3d(0, 56px, 0) scale(.985);
    filter: blur(14px) saturate(.75);
  }
  65% {
    opacity: 1;
    transform: translate3d(0, -6px, 0) scale(1.01);
    filter: blur(0) saturate(1);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
  }
}
@keyframes reveal-down {
  0% {
    opacity: 0;
    transform: translate3d(0, -46px, 0) scale(.985);
    filter: blur(14px) saturate(.75);
  }
  65% {
    opacity: 1;
    transform: translate3d(0, 4px, 0) scale(1.01);
    filter: blur(0) saturate(1);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
  }
}
@keyframes reveal-left {
  0% {
    opacity: 0;
    transform: translate3d(-70px, 0, 0) scale(.98);
    filter: blur(14px) saturate(.75);
  }
  65% {
    opacity: 1;
    transform: translate3d(6px, 0, 0) scale(1.005);
    filter: blur(0) saturate(1);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
  }
}
@keyframes reveal-right {
  0% {
    opacity: 0;
    transform: translate3d(70px, 0, 0) scale(.98);
    filter: blur(14px) saturate(.75);
  }
  65% {
    opacity: 1;
    transform: translate3d(-6px, 0, 0) scale(1.005);
    filter: blur(0) saturate(1);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
  }
}
@keyframes reveal-zoom-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 34px, 0) scale(.86);
    filter: blur(14px) saturate(.75);
  }
  68% {
    opacity: 1;
    transform: translate3d(0, -3px, 0) scale(1.02);
    filter: blur(0) saturate(1);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
  }
}
@keyframes hero-aurora {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: .85; }
  50% { transform: translateX(-50%) scale(1.08) translateY(14px); opacity: 1; }
}
@keyframes hero-sheen {
  0%, 20% { transform: translateX(-145%) rotate(-7deg); opacity: 0; }
  38% { opacity: .28; }
  62% { transform: translateX(135%) rotate(-7deg); opacity: .12; }
  100% { transform: translateX(135%) rotate(-7deg); opacity: 0; }
}
@keyframes hero-orbit {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .7; }
  50% { transform: translate3d(24px, 16px, 0) scale(1.08); opacity: 1; }
}
@keyframes cta-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes section-landing {
  0% {
    opacity: 0;
    border-color: rgba(0, 240, 255, 0);
    box-shadow: 0 0 0 rgba(0, 240, 255, 0);
  }
  30% {
    opacity: 1;
    border-color: rgba(0, 240, 255, .45);
    box-shadow: 0 0 0 1px rgba(0, 240, 255, .15), 0 0 42px rgba(0, 240, 255, .18);
  }
  100% {
    opacity: 0;
    border-color: rgba(255, 46, 151, 0);
    box-shadow: 0 0 0 rgba(255, 46, 151, 0);
  }
}
@keyframes title-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 46px, 0) scale(.96);
    letter-spacing: 0;
    filter: blur(12px);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, -2px, 0) scale(1.01);
    filter: blur(0);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    letter-spacing: normal;
    filter: none;
  }
}
@keyframes subtitle-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    filter: blur(12px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: none;
  }
}
@keyframes card-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 38px, 0) scale(.95);
    filter: blur(14px) saturate(.8);
  }
  70% {
    opacity: 1;
    transform: translate3d(0, -4px, 0) scale(1.01);
    filter: blur(0) saturate(1);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
  }
}
@keyframes logo-pulse {
  0%, 100% { filter: drop-shadow(0 0 26px rgba(0, 240, 255, .34)) drop-shadow(0 0 18px rgba(255, 46, 151, .18)); }
  50% { filter: drop-shadow(0 0 34px rgba(0, 240, 255, .55)) drop-shadow(0 0 26px rgba(255, 46, 151, .3)); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links { position: absolute; top: 100%; right: 0; left: 0; flex-direction: column; background: var(--bg2); padding: 18px; gap: 14px; border-bottom: 1px solid var(--purple); display: none; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  section { padding: 40px 0; }
  .hero { padding: 40px 0 30px; }
  .hero .container::before,
  .hero .container::after { display: none; }
  .wa-float { width: 52px; height: 52px; font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js-ready header.nav,
  .js-ready .reveal-on-scroll,
  .js-ready .reveal-visible {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .scroll-progress { transition: none; }
}
