/* ---------- Base Experience — design tokens ---------- */
:root{
  --bg: #080b13;
  --bg-elevated: #0f1524;
  --bg-card: #131b2e;
  --line: rgba(255,255,255,.08);

  --blue-deep: #18588C;
  --blue-main: #1F73B7;
  --blue-neon: #3DA8FF;
  --purple-neon: #7B4DFF;
  --teal-logo: #3ddcc0;
  --red-arcade: #D62828;
  --orange: #FF8C32;

  --text: #EAF1FB;
  --text-dim: #93A3BE;
  --white: #FFFFFF;

  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Exo 2', sans-serif;

  --radius: 14px;
  --wrap: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; min-width:0; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 24px; }

h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--white);
  margin:0 0 .5em;
  line-height:1.15;
  letter-spacing:.01em;
}
h1{ font-size:clamp(2.1rem, 5.5vw, 3.6rem); font-weight:800; text-wrap:balance; }
h2{ font-size:clamp(1.6rem, 3.4vw, 2.4rem); font-weight:700; }
h3{ font-size:1.15rem; font-weight:700; }
p{ margin:0 0 1em; color:var(--text-dim); }
.center{ text-align:center; margin-left:auto; margin-right:auto; }

.eyebrow{
  font-family:var(--font-display);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.72rem;
  color:var(--blue-neon);
  margin-bottom:.6em;
}

.glow-text{
  color:var(--blue-neon);
  text-shadow:0 0 12px rgba(61,168,255,.7), 0 0 28px rgba(123,77,255,.4);
}

/* ---------- scroll reveal (retro power-on feel) ---------- */
.reveal{
  opacity:0; transform:translateY(28px);
  transition:opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal.in{ opacity:1; transform:translateY(0); }
@keyframes neonFlicker{
  0%{ opacity:0; filter:brightness(2.2) blur(2px); }
  8%{ opacity:1; filter:brightness(.3); }
  16%{ opacity:.15; filter:brightness(2); }
  24%{ opacity:1; filter:brightness(.6); }
  38%{ opacity:.4; }
  50%{ opacity:1; filter:brightness(1.4); }
  70%{ opacity:1; filter:brightness(1); }
  100%{ opacity:1; filter:brightness(1); transform:translateY(0); }
}
.reveal.flicker{ transform:none; }
.reveal.flicker.in{ animation:neonFlicker 1s ease-out forwards; }

.reveal-stagger > *{
  opacity:0; transform:translateY(24px);
  transition:opacity .6s ease, transform .6s ease;
}
.reveal-stagger.in > *{ opacity:1; transform:translateY(0); }
.reveal-stagger.in > *:nth-child(1){ transition-delay:.04s; }
.reveal-stagger.in > *:nth-child(2){ transition-delay:.11s; }
.reveal-stagger.in > *:nth-child(3){ transition-delay:.18s; }
.reveal-stagger.in > *:nth-child(4){ transition-delay:.25s; }

/* ---------- arcade card: neon border + light sweep ---------- */
.arcade-card{ position:relative; isolation:isolate; }
.arcade-card::before{
  content:''; position:absolute; inset:0; border-radius:inherit; padding:1.5px;
  background:linear-gradient(120deg, var(--blue-neon), var(--purple-neon), var(--teal-logo), var(--blue-neon));
  background-size:300% 300%;
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  opacity:0; transition:opacity .35s ease; pointer-events:none; z-index:2;
  animation:borderFlow 7s linear infinite;
}
.arcade-card:hover::before{ opacity:1; }
.arcade-card .shine{ position:absolute; inset:0; overflow:hidden; border-radius:inherit; pointer-events:none; z-index:3; }
.arcade-card .shine::after{
  content:''; position:absolute; top:-60%; left:-40%; width:35%; height:220%;
  background:linear-gradient(115deg, transparent, rgba(255,255,255,.28), transparent);
  transform:rotate(15deg) translateX(-160%); transition:transform .8s ease;
}
.arcade-card:hover .shine::after{ transform:rotate(15deg) translateX(320%); }
@keyframes borderFlow{ to{ background-position:300% 0; } }

/* ---------- shared pac-man chomp keyframe (used by .pac-wipe and .mg-pac) ---------- */
@keyframes chomp{
  0%,100%{ clip-path:polygon(100% 74%, 44% 46%, 100% 20%, 100% 0, 0 0, 0 100%, 100% 100%); }
  50%{ clip-path:polygon(100% 50%, 100% 50%, 100% 50%, 100% 0, 0 0, 0 100%, 100% 100%); }
}

/* scanlines / crt texture overlay */
.scanlines{
  pointer-events:none;
  position:fixed; inset:0; z-index:9999;
  background:repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0px,
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,.035) 3px
  );
  mix-blend-mode:overlay;
  opacity:.5;
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.5em;
  font-family:var(--font-display);
  font-weight:700;
  font-size:.85rem;
  letter-spacing:.03em;
  text-transform:uppercase;
  padding:.95em 1.6em;
  border-radius:999px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{
  background:linear-gradient(135deg, var(--blue-neon), var(--purple-neon));
  color:var(--white);
  box-shadow:0 4px 24px rgba(61,168,255,.35);
}
.btn-primary:hover{ box-shadow:0 8px 32px rgba(123,77,255,.5); }
.btn-ghost{
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.22);
  color:var(--white);
}
.btn-ghost:hover{ border-color:var(--blue-neon); background:rgba(61,168,255,.08); }
.btn-outline{
  background:transparent;
  border-color:var(--blue-neon);
  color:var(--blue-neon);
}
.btn-outline:hover{ background:rgba(61,168,255,.1); }
.btn-small{ padding:.7em 1.3em; font-size:.75rem; }
.btn-large{ padding:1.05em 1.8em; font-size:.9rem; width:100%; justify-content:center; }

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(8,11,19,.75);
  backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  height:76px;
}
.logo{ display:flex; align-items:center; }
.logo-img{
  height:30px; width:auto; display:block;
  filter:drop-shadow(0 0 10px rgba(61,220,192,.35));
}
.nav{ display:flex; gap:2.1rem; }
.nav a{
  font-family:var(--font-display);
  font-size:.78rem;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--text-dim);
  transition:color .15s ease;
}
.nav a:hover{ color:var(--blue-neon); }
.header-actions{ display:flex; align-items:center; gap:.9rem; }

.hamburger{
  display:none;
  flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px;
  background:transparent; border:1px solid var(--line); border-radius:8px;
  cursor:pointer;
}
.hamburger span{ height:2px; width:18px; background:var(--text); margin:0 auto; transition:.2s; }
.hamburger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ---------- whatsapp flutuante ---------- */
.wa-float{
  position:fixed; right:22px; bottom:22px; z-index:900;
  width:58px; height:58px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, var(--blue-neon), var(--purple-neon));
  color:var(--white);
  box-shadow:0 6px 24px rgba(61,168,255,.4);
  animation:waPulse 2.8s ease-out infinite;
  transition:transform .18s ease, box-shadow .18s ease;
}
.wa-float:hover{
  transform:translateY(-3px) scale(1.06);
  box-shadow:0 10px 32px rgba(123,77,255,.55);
}
@keyframes waPulse{
  0%{ box-shadow:0 6px 24px rgba(61,168,255,.4), 0 0 0 0 rgba(61,168,255,.4); }
  70%{ box-shadow:0 6px 24px rgba(61,168,255,.4), 0 0 0 14px rgba(61,168,255,0); }
  100%{ box-shadow:0 6px 24px rgba(61,168,255,.4), 0 0 0 0 rgba(61,168,255,0); }
}
@media (max-width:560px){
  .wa-float{ width:52px; height:52px; right:16px; bottom:16px; }
}

/* ---------- hero ---------- */
.hero{
  position:relative;
  min-height:92vh;
  display:flex; align-items:center;
  padding-top:76px;
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:0;
  background-size:cover; background-position:center 30%;
  transform:scale(1.02);
}
.hero-fade{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(8,11,19,.55) 0%, rgba(8,11,19,.75) 55%, var(--bg) 100%),
    linear-gradient(90deg, rgba(8,11,19,.92) 0%, rgba(8,11,19,.35) 55%, rgba(8,11,19,.75) 100%);
}
.hero-grid{
  position:absolute; left:0; right:0; bottom:0; height:45%;
  background-image:
    linear-gradient(rgba(61,168,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,168,255,.18) 1px, transparent 1px);
  background-size:48px 48px;
  -webkit-mask-image:linear-gradient(to top, rgba(0,0,0,.6), transparent);
  mask-image:linear-gradient(to top, rgba(0,0,0,.6), transparent);
  transform:perspective(300px) rotateX(55deg);
  transform-origin:bottom;
}
.hero-content{ position:relative; z-index:2; width:100%; padding-top:2rem; padding-bottom:3rem; }
.hero-columns{ display:grid; grid-template-columns:1.15fr .85fr; gap:3rem; align-items:center; }
.hero-sub{ font-size:1.05rem; max-width:560px; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:1rem; margin:1.6rem 0 2.6rem; }
.hero-stats{ display:flex; flex-wrap:wrap; gap:2.2rem; border-top:1px solid var(--line); padding-top:1.6rem; }
.hero-stats .stat strong{
  display:block; font-family:var(--font-display); font-size:1.4rem; color:var(--white);
}
.hero-reserva-eyebrow{
  font-family:var(--font-display); font-size:.72rem; letter-spacing:.08em; text-transform:uppercase;
  color:var(--blue-neon); margin:0 0 .3rem;
}
.hero-reserva-title{ font-size:1.35rem; margin:0 0 1.2rem; }
.hero-reserva-form{ padding:1.7rem; gap:1rem; }
.hero-stats .stat span{ font-size:.78rem; color:var(--text-dim); text-transform:uppercase; letter-spacing:.04em; }

/* ---------- aviso ---------- */
.aviso{
  background:linear-gradient(90deg, rgba(255,140,50,.12), rgba(214,40,40,.1));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:1rem 0;
}
.aviso-inner{ display:flex; align-items:flex-start; gap:.9rem; }
.aviso-inner svg{ color:var(--orange); flex-shrink:0; margin-top:.15em; }
.aviso-inner p{ margin:0; color:var(--text); font-size:.92rem; }
.aviso-inner a{ color:var(--blue-neon); text-decoration:underline; }

/* ---------- sobre ---------- */
.sobre{ position:relative; padding:6rem 0; overflow:hidden; }
.sobre-pinball-bg{
  position:absolute; left:0; top:0; bottom:0; width:48%;
  background-size:cover; background-position:center 20%;
  opacity:.3; pointer-events:none;
}
.sobre-pinball-fade{
  position:absolute; left:0; top:0; bottom:0; width:48%;
  background:
    linear-gradient(90deg, rgba(8,11,19,.72) 0%, rgba(8,11,19,.72) 65%, var(--bg) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%);
  pointer-events:none;
}
.sobre-grid{ position:relative; z-index:1; display:grid; grid-template-columns:1.1fr .9fr; gap:3.5rem; align-items:center; }
.sobre-photos{ display:grid; gap:1rem; }
.photo-card{ position:relative; border-radius:var(--radius); border:1px solid var(--line); overflow:hidden; }
.photo-card img{ display:block; width:100%; height:100%; object-fit:cover; }

/* ---------- ambiente / features ---------- */
.ambiente{ padding:4rem 0 6rem; background:var(--bg-elevated); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.feature-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1.4rem; margin-top:2.8rem;
}
.feature-card{
  position:relative;
  background:var(--bg-card); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden;
  transition:transform .2s ease, border-color .2s ease;
}
.feature-card:hover{ transform:translateY(-4px); border-color:var(--blue-neon); }
.feature-card img{ height:150px; width:100%; object-fit:cover; }
.feature-card h3, .feature-card p{ padding:0 1.1rem; position:relative; z-index:1; }
.feature-card h3{ margin-top:1rem; }
.feature-card p{ font-size:.88rem; padding-bottom:1.2rem; }

/* one Pac-Man that progressively eats its way across the 4 cards as you hover them in order */
.ambiente-track{
  position:relative; height:22px; margin-top:1.4rem;
  display:grid; grid-template-columns:repeat(4,1fr); align-items:center;
}
.track-dot{
  justify-self:center; width:6px; height:6px; border-radius:50%; background:var(--blue-neon);
  box-shadow:0 0 6px rgba(61,168,255,.8);
  transition:opacity .2s ease, transform .2s ease;
}
.track-dot.eaten{ opacity:0; transform:scale(0); }
.track-pac{
  position:absolute; top:50%; left:0%; width:18px; height:18px; margin-top:-9px; margin-left:-9px;
  background:radial-gradient(circle at 35% 35%, #fff4c2, #ffb800 60%, #e69500);
  border-radius:50%;
  clip-path:polygon(100% 74%, 44% 46%, 100% 20%, 100% 0, 0 0, 0 100%, 100% 100%);
  transition:left .5s cubic-bezier(.3,0,.7,1);
  animation:chomp .16s steps(1) infinite;
}
@media (hover:none){ .ambiente-track{ display:none; } }

/* ---------- fliperama (3D cabinet + real mini-game + scroll reveal) ---------- */
.fliperama{ padding:6rem 0 7rem; position:relative; overflow:hidden; }
.fliperama::before{
  content:''; position:absolute; left:50%; top:50%; width:640px; height:640px;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle, rgba(123,77,255,.16), transparent 62%);
  pointer-events:none; z-index:0;
}
.fliperama .wrap{ position:relative; z-index:1; }
.fliperama-sub{ max-width:480px; margin:0 auto 1rem; }

/* Mario-esque platformer motif in the background — pipes, blocks, a coin, clouds (original shapes, no character likeness) */
.mario-scene{ position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.mario-cloud{
  position:absolute; width:70px; height:26px; background:#eaf1fb; opacity:.22;
  border-radius:40% 40% 50% 50%/60% 60% 40% 40%;
}
.mario-cloud::before, .mario-cloud::after{ content:''; position:absolute; border-radius:50%; background:inherit; }
.mario-cloud::before{ width:34px; height:34px; top:-16px; left:6px; }
.mario-cloud::after{ width:26px; height:26px; top:-12px; left:38px; }
.mario-cloud-a{ top:6%; left:5%; }
.mario-cloud-b{ top:11%; right:7%; transform:scale(.8); }
.mario-block{
  position:absolute; width:30px; height:30px; background:linear-gradient(160deg,#ffb800,#e07f00);
  border:2px solid rgba(0,0,0,.35); border-radius:4px; opacity:.3;
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.25);
}
.mario-block-a{ top:20%; left:4%; }
.mario-block-b{ top:56%; right:5%; }
.mario-coin{
  position:absolute; top:34%; left:50%; margin-left:-8px; width:16px; height:16px; border-radius:50%;
  background:radial-gradient(circle at 35% 35%, #fff4c2, #ffcc33 60%, #b8860b);
  opacity:.42; animation:marioCoinSpin 1.6s linear infinite;
}
@keyframes marioCoinSpin{ 0%,100%{ transform:scaleX(1); } 50%{ transform:scaleX(.15); } }
.mario-pipe{
  position:absolute; bottom:0; width:46px; height:120px;
  background:linear-gradient(90deg,#1f9d55,#2ecc71 40%,#1f9d55);
  border-radius:6px 6px 0 0; opacity:.26;
}
.mario-pipe::before{ content:''; position:absolute; top:-14px; left:-6px; right:-6px; height:20px; background:inherit; border-radius:6px; }
.mario-pipe-left{ left:2%; }
.mario-pipe-right{ right:2%; }
@media (max-width:980px){ .mario-scene{ display:none; } }

/* iris reveal, opened by the pac-man rider as the section scrolls in */
.iris-reveal{
  clip-path:circle(0% at 50% 0%);
  transition:clip-path 1.3s cubic-bezier(.65,0,.35,1);
}
.iris-reveal.in{ clip-path:circle(150% at 50% 0%); }

.pac-wipe{
  position:absolute; top:-30px; left:50%; width:34px; height:34px; margin-left:-17px;
  background:radial-gradient(circle at 35% 35%, #fff4c2, #ffb800 60%, #e69500);
  border-radius:50%;
  clip-path:polygon(100% 74%, 44% 46%, 100% 20%, 100% 0, 0 0, 0 100%, 100% 100%);
  opacity:0; z-index:0; pointer-events:none;
  transition:top 1.1s cubic-bezier(.65,0,.35,1);
}
.pac-wipe.in{
  top:-2px;
  animation:chomp .16s steps(1) infinite, pacWipeFade 1.1s ease forwards;
}
@keyframes pacWipeFade{
  0%{ opacity:0; } 12%{ opacity:1; } 60%{ opacity:1; } 100%{ opacity:0; }
}

/* 3D cabinet */
.cabinet-wrap{ position:relative; max-width:300px; margin:2.6rem auto 0; perspective:750px; }
.cabinet-shadow{
  position:absolute; left:10%; right:10%; bottom:-18px; height:24px; border-radius:50%;
  background:radial-gradient(ellipse at center, rgba(0,0,0,.55), transparent 72%);
  transition:transform .15s ease; z-index:0;
}
.cabinet-tilt{
  transform-style:preserve-3d;
  transition:transform .25s ease-out;
}
@media (hover:none){
  .cabinet-tilt{ animation:idleTilt 7s ease-in-out infinite; }
}
@keyframes idleTilt{
  0%,100%{ transform:rotateY(-4deg) rotateX(2deg); }
  50%{ transform:rotateY(4deg) rotateX(-2deg); }
}
.cabinet-frame{
  position:relative;
  opacity:0; transform:scale(.85) translateY(40px);
  transition:opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
  transform-style:preserve-3d;
  padding:14px 14px 0;
  border-radius:18px 18px 8px 8px;
  background:linear-gradient(155deg, #131b2e, #080b13 70%);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 0 0 1px rgba(61,168,255,.08) inset, 0 30px 60px rgba(0,0,0,.55);
}
.cabinet-frame.in{ opacity:1; transform:scale(1) translateY(0); }

.cabinet-marquee{
  height:34px; border-radius:10px 10px 0 0;
  background:linear-gradient(160deg, rgba(61,168,255,.2), rgba(123,77,255,.16));
  border:1px solid rgba(61,168,255,.35);
  display:flex; align-items:center; justify-content:center;
  transform:translateZ(6px);
  box-shadow:0 0 18px rgba(61,168,255,.3);
}
.cabinet-marquee img{ height:13px; width:auto; filter:drop-shadow(0 0 6px rgba(61,220,192,.7)); }

.cabinet-bezel{
  margin-top:10px; padding:9px; border-radius:10px;
  background:#050810; border:1px solid rgba(255,255,255,.06);
  transform:translateZ(20px);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.6), 0 10px 24px rgba(0,0,0,.4);
}
.cabinet-screen{
  position:relative; width:100%; aspect-ratio:4/3;
  overflow:hidden; background:#000; border-radius:4px;
}

.cabinet-deck{
  margin:12px -14px 0; padding:16px 20px;
  display:flex; align-items:center; justify-content:space-between;
  background:linear-gradient(180deg, #171f33, #0d1220);
  border-top:1px solid rgba(255,255,255,.06);
  transform:translateZ(10px);
}
.deck-stick{
  width:16px; height:16px; border-radius:50%; position:relative;
  background:radial-gradient(circle at 35% 30%, #ff9fcc, #d6336c 70%);
  box-shadow:0 3px 0 #7a1f43, 0 4px 10px rgba(0,0,0,.5);
}
.deck-stick::before{
  content:''; position:absolute; left:50%; top:-11px; width:3px; height:13px;
  background:#2a2f3d; transform:translateX(-50%); border-radius:2px;
}
.deck-buttons{ display:flex; gap:7px; }
.deck-buttons i{ width:12px; height:12px; border-radius:50%; display:block; box-shadow:0 2px 0 rgba(0,0,0,.45); }
.deck-buttons i:nth-child(1){ background:#ff5d5d; }
.deck-buttons i:nth-child(2){ background:#ffd23f; }
.deck-buttons i:nth-child(3){ background:#3DA8FF; }

.cabinet-base{
  height:22px; margin:0 6px;
  background:linear-gradient(180deg, #0d1220, #050810);
  clip-path:polygon(8% 0, 92% 0, 100% 100%, 0 100%);
  transform:translateZ(-8px);
}

.screen-attract{ position:absolute; inset:0; }
.screen-attract .screen-slide{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0; transition:opacity 1.1s ease;
}
.screen-attract .screen-slide.active{ opacity:1; }
.screen-attract.hidden{ display:none; }
.screen-game{
  position:absolute; inset:0; width:100%; height:100%; display:none;
  image-rendering:pixelated;
}
.screen-game.active{ display:block; }
.screen-message{
  position:absolute; inset:0; display:none; align-items:center; justify-content:center; text-align:center;
  font-family:var(--font-display); color:var(--white); font-size:.7rem; padding:.5rem;
  background:rgba(0,0,0,.75); z-index:3; line-height:1.4;
}
.screen-message.active{ display:flex; }
.cabinet-screen .screen-scan{
  position:absolute; inset:0; pointer-events:none;
  background:repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0px, rgba(0,0,0,0) 2px, rgba(0,0,0,.3) 3px);
  mix-blend-mode:multiply; opacity:.65; z-index:4;
}
@keyframes crtFlicker{
  0%{ filter:brightness(1); } 15%{ filter:brightness(1.9); } 30%{ filter:brightness(.6); }
  45%{ filter:brightness(1.3); } 60%{ filter:brightness(.85); } 100%{ filter:brightness(1); }
}
.cabinet-screen.flicker{ animation:crtFlicker .35s ease; }

/* control panel below the cabinet */
.cabinet-panel{
  max-width:360px; margin:1.6rem auto 0;
  display:flex; align-items:center; justify-content:center; gap:1.8rem; flex-wrap:wrap;
}
.panel-main{ display:flex; align-items:center; justify-content:center; gap:1rem; }
.panel-score{ font-family:var(--font-display); font-size:.85rem; color:var(--text-dim); }
.panel-score strong{ color:var(--blue-neon); }

.dpad{ display:flex; gap:12px; }
.dpad button{
  width:52px; height:52px;
  background:var(--bg-card); border:1px solid var(--line); border-radius:10px; color:var(--text);
  font-size:1.2rem; cursor:pointer; touch-action:none; user-select:none;
}
.dpad button:active{ background:var(--blue-neon); color:var(--bg); }
.cabinet-hint{ font-size:.76rem; color:var(--text-dim); margin-top:.8rem; }

/* high score panel */
.highscore-panel{
  max-width:360px; margin:1.4rem auto 0; background:var(--bg-card); border:1px solid var(--line);
  border-radius:var(--radius); padding:1.4rem; display:none; text-align:center;
}
.highscore-panel.active{ display:block; }
.hs-title{ font-family:var(--font-display); font-size:.85rem; color:var(--white); margin-bottom:1rem; }
.hs-title span{ color:var(--blue-neon); }
.hs-form{ display:none; }
.hs-form.active{ display:block; }
.hs-form label{ display:block; margin-bottom:.5rem; }
.hs-input-row{ display:flex; gap:.6rem; justify-content:center; }
#hsInitials{
  width:90px; text-align:center; text-transform:uppercase; letter-spacing:.3em;
  font-family:var(--font-display); font-size:1.1rem;
}
.hs-list{ margin-top:1rem; text-align:left; font-family:var(--font-display); font-size:.82rem; }
.hs-list .hs-row{
  display:flex; justify-content:space-between; padding:.4rem .2rem; border-bottom:1px solid var(--line);
  color:var(--text-dim);
}
.hs-list .hs-row:last-child{ border-bottom:none; }
.hs-list .hs-row.mine{ color:var(--blue-neon); }

/* ---------- eventos ---------- */
.eventos{ padding:4.5rem 0 6rem; position:relative; overflow:hidden; border-top:1px solid var(--line); }
.eventos::before{
  content:''; position:absolute; top:0; left:15%; right:15%; height:1px;
  background:linear-gradient(90deg, transparent, var(--blue-neon), var(--purple-neon), transparent);
  opacity:.55; z-index:1;
}
.eventos .wrap{ position:relative; z-index:1; }

/* real Street Fighter II stage (Ken's boat dock) behind the fighters — static, dimmed down so the
   event cards stay the visual priority; fighters and effects are the only lively part of the scene */
.eventos-fighters{ position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.sf-stage-bg{
  position:absolute; inset:0;
  background-size:cover; background-position:center 70%;
  filter:saturate(.5) brightness(.42);
}
.sf-stage-fade{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 14%, transparent 32%, transparent 72%, var(--bg) 100%),
    linear-gradient(90deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%);
}

/* two fighters: left throws a hadouken, right blocks it — real game sprites, kept discreet so
   the event cards (which sit above, opaque) stay the thing people actually click on */
.fighter{ position:absolute; bottom:0; width:104px; height:112px; opacity:.85; filter:drop-shadow(0 10px 16px rgba(0,0,0,.6)); }
.fighter-left{ left:1%; transform:scaleX(-1); }
.fighter-right{ right:1%; }
.fs-frame{
  position:absolute; bottom:0; left:50%; transform:translateX(-50%);
  max-height:100%; width:auto; opacity:0;
  image-rendering:pixelated; image-rendering:-moz-crisp-edges; image-rendering:crisp-edges;
}
/* Ryu (left): guard -> chamber (kiai) -> thrust, fireball flies during the thrust window */
.fighter-left .fs-guard{ animation:ryuGuard 3.6s steps(1) infinite; }
.fighter-left .fs-chamber{ animation:ryuChamber 3.6s steps(1) infinite; }
.fighter-left .fs-thrust{ animation:ryuThrust 3.6s steps(1) infinite; }
@keyframes ryuGuard{ 0%,68%{ opacity:1; } 68.01%,92%{ opacity:0; } 92.01%,100%{ opacity:1; } }
@keyframes ryuChamber{ 0%,68%{ opacity:0; } 68.01%,76%{ opacity:1; } 76.01%,100%{ opacity:0; } }
@keyframes ryuThrust{ 0%,76%{ opacity:0; } 76.01%,92%{ opacity:1; } 92.01%,100%{ opacity:0; } }
/* Ken (right): guard -> block (raised on impact, brightness flash) */
.fighter-right .fs-guard{ animation:kenGuard 3.6s steps(1) infinite; }
.fighter-right .fs-block{ animation:kenBlock 3.6s steps(1) infinite; filter:brightness(1); }
@keyframes kenGuard{ 0%,84%{ opacity:1; } 84.01%,98%{ opacity:0; } 98.01%,100%{ opacity:1; } }
@keyframes kenBlock{
  0%,84%{ opacity:0; filter:brightness(1); }
  84.01%,98%{ opacity:1; filter:brightness(1.5); }
  98.01%,100%{ opacity:0; filter:brightness(1); }
}
.fireball{
  position:absolute; bottom:56px; left:14%; width:24px; height:24px; border-radius:50%;
  background:radial-gradient(circle at 35% 35%, #ffffff, #8fe1ff 40%, #3DA8FF 70%, #7B4DFF);
  box-shadow:0 0 34px 12px rgba(61,168,255,.9);
  opacity:0; pointer-events:none; z-index:1;
  animation:fireballFly 3.6s linear infinite;
}
@keyframes fireballFly{
  0%,73%{ opacity:0; left:14%; transform:scale(.4); }
  76%{ opacity:1; left:18%; transform:scale(1); }
  90%{ opacity:1; left:82%; transform:scale(1); }
  92%,100%{ opacity:0; left:86%; transform:scale(.4); }
}
/* cards sit above the fighters (opaque backgrounds occlude them wherever they'd overlap),
   so they're safe to show at any desktop width — only hide on the single-column mobile layout,
   where there's no side gutter left for them at all */
@media (max-width:980px){ .eventos-fighters{ display:none; } }

.eventos-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.6rem; margin-top:2.8rem; }
.evento-card{
  background:var(--bg-card); border:1px solid var(--line); border-radius:var(--radius);
  padding:1.8rem; display:flex; flex-direction:column; align-items:flex-start;
}
.evento-card.destaque{
  border-color:var(--blue-neon);
  background:linear-gradient(160deg, rgba(61,168,255,.1), rgba(123,77,255,.06));
  box-shadow:0 0 32px rgba(61,168,255,.12);
}
.evento-tag{
  font-family:var(--font-display); font-size:.68rem; letter-spacing:.08em; text-transform:uppercase;
  color:var(--purple-neon); background:rgba(123,77,255,.14); border:1px solid rgba(123,77,255,.4);
  padding:.35em .9em; border-radius:999px; margin-bottom:1rem;
}
.evento-card p{ font-size:.92rem; }
.evento-note{ font-size:.75rem; color:var(--text-dim); margin-top:.6rem; }

/* ---------- acervo de jogos (hover pulls the card forward/up, out of the grid) ---------- */
.games-section{ padding:5.5rem 0; }
.games-sub{ max-width:640px; margin:.9rem auto 0; color:var(--text-dim); }
.games-grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(130px, 1fr)); gap:1.1rem;
  margin-top:2.8rem;
}
.game-card{
  position:relative; border-radius:10px; overflow:hidden; aspect-ratio:3/4;
  background:var(--bg-card); border:1px solid var(--line);
  transform:translateY(0) scale(1); z-index:1;
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease, z-index 0s .35s;
  cursor:default;
}
.game-card img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .35s ease, filter .35s ease;
  filter:saturate(.85) brightness(.85);
}
.game-card .game-name{
  position:absolute; left:0; right:0; bottom:0; padding:.6rem .55rem .55rem;
  font-family:var(--font-display); font-size:.68rem; letter-spacing:.02em; line-height:1.2;
  color:var(--text); background:linear-gradient(180deg, transparent, rgba(8,11,19,.95) 65%);
  opacity:0; transform:translateY(8px);
  transition:opacity .3s ease, transform .3s ease;
}
.game-card:hover{
  transform:translateY(-14px) scale(1.22); z-index:5;
  border-color:var(--blue-neon);
  box-shadow:0 26px 44px rgba(0,0,0,.55), 0 0 0 1px rgba(61,168,255,.5), 0 0 24px rgba(61,168,255,.35);
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease, z-index 0s;
}
.game-card:hover img{ filter:saturate(1) brightness(1); }
.game-card:hover .game-name{ opacity:1; transform:translateY(0); }
.games-disclaimer{
  text-align:center; font-size:.72rem; color:var(--text-dim); opacity:.75;
  max-width:640px; margin:2.6rem auto 0;
}
@media (max-width:640px){
  .games-grid{ grid-template-columns:repeat(3, 1fr); gap:.7rem; }
  .game-card:hover{ transform:translateY(-6px) scale(1.1); }
}

/* ---------- por que reservar (photo-backed section, one shared marquee-light animation, not per-card gimmicks) ---------- */
.reasons{ position:relative; padding:4.5rem 0 3.5rem; overflow:hidden; }
.reasons-bg{
  position:absolute; inset:0; background-size:cover; background-position:center 35%;
}
.reasons-fade{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(8,11,19,.45) 0%, rgba(8,11,19,.65) 42%, var(--bg) 70%, var(--bg) 100%),
    linear-gradient(90deg, rgba(8,11,19,.35) 0%, transparent 50%, rgba(8,11,19,.35) 100%);
}
/* arcade-cabinet marquee light chase running along the top edge of the section */
.reasons-marquee{
  position:absolute; top:0; left:0; right:0; height:5px;
  display:flex; justify-content:space-between; padding:0 4%;
  z-index:1;
}
.reasons-marquee span{
  width:7px; height:5px; border-radius:2px; background:var(--blue-neon); opacity:.25;
  animation:marqueeChase 1.8s steps(1) infinite;
}
.reasons-marquee span:nth-child(3n+1){ background:var(--purple-neon); }
.reasons-marquee span:nth-child(3n+2){ background:var(--teal-logo); }
.reasons-marquee span:nth-child(1){ animation-delay:0s; }
.reasons-marquee span:nth-child(2){ animation-delay:.09s; }
.reasons-marquee span:nth-child(3){ animation-delay:.18s; }
.reasons-marquee span:nth-child(4){ animation-delay:.27s; }
.reasons-marquee span:nth-child(5){ animation-delay:.36s; }
.reasons-marquee span:nth-child(6){ animation-delay:.45s; }
.reasons-marquee span:nth-child(7){ animation-delay:.54s; }
.reasons-marquee span:nth-child(8){ animation-delay:.63s; }
.reasons-marquee span:nth-child(9){ animation-delay:.72s; }
.reasons-marquee span:nth-child(10){ animation-delay:.81s; }
.reasons-marquee span:nth-child(11){ animation-delay:.9s; }
.reasons-marquee span:nth-child(12){ animation-delay:.99s; }
.reasons-marquee span:nth-child(13){ animation-delay:1.08s; }
.reasons-marquee span:nth-child(14){ animation-delay:1.17s; }
.reasons-marquee span:nth-child(15){ animation-delay:1.26s; }
.reasons-marquee span:nth-child(16){ animation-delay:1.35s; }
.reasons-marquee span:nth-child(17){ animation-delay:1.44s; }
.reasons-marquee span:nth-child(18){ animation-delay:1.53s; }
.reasons-marquee span:nth-child(19){ animation-delay:1.62s; }
.reasons-marquee span:nth-child(20){ animation-delay:1.71s; }
@keyframes marqueeChase{
  0%,85%{ opacity:.25; box-shadow:none; }
  92%{ opacity:1; box-shadow:0 0 10px currentColor; }
  100%{ opacity:.25; box-shadow:none; }
}

.reasons .wrap{ position:relative; z-index:1; }
.reasons-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.6rem; margin-top:2.4rem; }
.reason-card{
  position:relative; background:rgba(19,27,46,.82); backdrop-filter:blur(6px);
  border:1px solid var(--line); border-radius:var(--radius);
  padding:1.8rem; overflow:hidden; transition:transform .2s ease, border-color .2s ease;
}
.reason-card:hover{ transform:translateY(-4px); border-color:var(--blue-neon); }
.reason-card h3{ margin-bottom:.6rem; }
.reason-card p{ font-size:.92rem; margin-bottom:0; }

/* ---------- reserva ---------- */
.reserva{ padding:6rem 0; background:var(--bg-elevated); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.reserva-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:3.5rem; align-items:start; }
.reserva-disclaimer{ font-size:.82rem; color:var(--orange); }

.reserva-form{
  background:var(--bg-card); border:1px solid var(--line); border-radius:var(--radius);
  padding:2rem;
  display:flex; flex-direction:column; gap:1.2rem;
}
.form-row{ display:flex; flex-direction:column; gap:.5rem; }
.form-row-split{ display:grid; grid-template-columns:1fr 1fr; gap:1.2rem; }
label{ font-size:.8rem; color:var(--text-dim); text-transform:uppercase; letter-spacing:.04em; }
input, select, textarea{
  font-family:var(--font-body);
  background:var(--bg-elevated);
  border:1px solid var(--line);
  color:var(--text);
  border-radius:8px;
  padding:.8em .9em;
  font-size:.95rem;
  width:100%;
}
input:focus, select:focus, textarea:focus{
  outline:none; border-color:var(--blue-neon); box-shadow:0 0 0 3px rgba(61,168,255,.15);
}
textarea{ resize:vertical; }
input::-webkit-calendar-picker-indicator{ filter:invert(1) opacity(.7); }

/* ---------- galeria ---------- */
.galeria{ padding:6rem 0; }
.galeria-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; margin-top:2.8rem;
}
.shot-card{
  position:relative; height:220px; border-radius:var(--radius); overflow:hidden;
  border:1px solid var(--line); transition:transform .2s ease, border-color .2s ease;
}
.shot-card:hover{ transform:scale(1.03); border-color:var(--blue-neon); }
.shot-card img{
  width:100%; height:100%; object-fit:cover; cursor:pointer; display:block;
}

.lightbox{
  position:fixed; inset:0; z-index:1000;
  background:rgba(5,7,12,.94);
  display:none; align-items:center; justify-content:center;
  padding:4vh 4vw;
}
.lightbox.open{ display:flex; }
.lightbox img{ max-width:100%; max-height:92vh; border-radius:8px; }
.lightbox-close{
  position:absolute; top:24px; right:32px;
  background:transparent; border:1px solid var(--line); color:var(--white);
  width:42px; height:42px; border-radius:50%; font-size:1.4rem; cursor:pointer; line-height:1;
}
.lightbox-close:hover{ border-color:var(--blue-neon); color:var(--blue-neon); }

/* ---------- footer ---------- */
.site-footer{ padding:4.5rem 0 0; border-top:1px solid var(--line); }
.footer-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:2.5rem;
  padding-bottom:3rem;
}
.footer-logo{ margin-bottom:.9rem; }
.footer-logo .logo-img{ height:42px; }
.footer-tagline{ font-size:.88rem; max-width:260px; }
.footer-col h4{
  font-family:var(--font-display); font-size:.78rem; text-transform:uppercase; letter-spacing:.06em;
  color:var(--text-dim); margin-bottom:.9rem;
}
.footer-col a{ display:block; margin-bottom:.6rem; font-size:.92rem; color:var(--text); }
.footer-col a:hover{ color:var(--blue-neon); }
.footer-small{ font-size:.82rem; }
.footer-bottom{
  border-top:1px solid var(--line);
  padding:1.4rem 0; margin-top:0;
}
.footer-bottom p{ margin:0; font-size:.76rem; color:var(--text-dim); }

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .nav{
    position:fixed; top:76px; left:0; right:0;
    background:rgba(8,11,19,.98); backdrop-filter:blur(14px);
    flex-direction:column; gap:0;
    border-bottom:1px solid var(--line);
    max-height:0; overflow:hidden; transition:max-height .25s ease;
  }
  .nav.open{ max-height:60vh; }
  .nav a{ padding:1.1rem 24px; border-top:1px solid var(--line); font-size:.9rem; }
  .hamburger{ display:flex; }

  .sobre-grid, .reserva-grid, .hero-columns{ grid-template-columns:1fr; gap:2.4rem; }
  .feature-grid{ grid-template-columns:repeat(2,1fr); }
  .eventos-grid{ grid-template-columns:1fr; }
  .reasons-grid{ grid-template-columns:1fr; }
  .galeria-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}

@media (max-width: 560px){
  .hero-stats{ gap:1.4rem; }
  .form-row-split{ grid-template-columns:1fr; }
  .feature-grid{ grid-template-columns:1fr; }
  .galeria-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
}
