/* =============================================
   SAMUEL'S POKÉMON PARTY · PREMIUM INVITE
   Designed by duskyberry
   ============================================= */

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

:root {
  /* Color palette */
  --neon-green: #4ade80;
  --neon-green-2: #22c55e;
  --neon-green-dim: #16a34a;
  --neon-yellow: #facc15;
  --neon-blue: #38bdf8;
  --neon-purple: #c084fc;
  --red-poke: #ef4444;
  --dark-base: #030712;
  --dark-1: #0a0f1e;
  --dark-2: #0d1526;
  --dark-3: #111827;
  --glass-bg: rgba(13, 21, 38, 0.65);
  --glass-border: rgba(74, 222, 128, 0.18);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.55),
    0 2px 8px rgba(74, 222, 128, 0.08);
  --text-primary: #f0fdf4;
  --text-secondary: #a7f3d0;
  --text-dim: #6ee7b7;
  /* Typography */
  --font-pixel: "Press Start 2P", monospace;
  --font-display: "Orbitron", sans-serif;
  --font-body: "Montserrat", sans-serif;
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  /* Transitions */
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-body);
  background: var(--dark-base);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.6;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--dark-1);
}
::-webkit-scrollbar-thumb {
  background: var(--neon-green-dim);
  border-radius: 3px;
}

/* =============================================
   BACKGROUND FIJO
   ============================================= */
.bg-fixed {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("https://raw.githubusercontent.com/edvardoviedo/recursos/refs/heads/main/duskyberry/pokemon/bg.jpg");
  background-size: cover;
  background-position: center;
  /* position:fixed ya lo ancla — NO usar background-attachment:fixed para evitar bugs móvil */
  filter: brightness(0.35) saturate(1.2);
}

/* Capa de gradiente encima del bg para profundidad */
.bg-fixed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 80% 50% at 50% 0%,
      rgba(74, 222, 128, 0.07) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 60% 60% at 80% 80%,
      rgba(56, 189, 248, 0.05) 0%,
      transparent 70%
    ),
    linear-gradient(180deg, rgba(3, 7, 18, 0.3) 0%, rgba(3, 7, 18, 0.7) 100%);
}

/* =============================================
   CAPA DE POKÉMONES FLOTANTES
   ============================================= */
.pokemon-layer {
  position: fixed;
  inset: 0;
  z-index: 1; /* encima del bg, debajo del contenido */
  pointer-events: none;
  overflow: hidden;
}

.pk {
  position: absolute;
  object-fit: contain;
  opacity: 1;
  filter: drop-shadow(0 0 28px rgba(74, 222, 128, 0.35));
  will-change: transform;
}

/* Pokémon 1 — esquina inferior izquierda, grande */
.pk-1 {
  width: min(380px, 58vw);
  bottom: -50px;
  left: -70px;
  animation: floatA 7s ease-in-out infinite;
}

/* Pokémon 2 — esquina superior derecha, mediano */
.pk-2 {
  width: min(300px, 46vw);
  top: 60px;
  right: -60px;
  animation: floatB 9s ease-in-out infinite;
}

/* Pokémon 3 — mitad izquierda */
.pk-3 {
  width: min(240px, 38vw);
  top: 45%;
  left: -50px;
  animation: floatC 8s ease-in-out infinite;
}

/* Pokémon 4 — esquina inferior derecha */
.pk-4 {
  width: min(320px, 50vw);
  bottom: 8%;
  right: -65px;
  animation: floatD 10s ease-in-out infinite;
}

@keyframes floatA {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-22px) rotate(3deg);
  }
}
@keyframes floatB {
  0%,
  100% {
    transform: translateY(0) rotate(4deg);
  }
  50% {
    transform: translateY(18px) rotate(-2deg);
  }
}
@keyframes floatC {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-14px) rotate(4deg);
  }
}
@keyframes floatD {
  0%,
  100% {
    transform: translateY(0) rotate(3deg);
  }
  60% {
    transform: translateY(20px) rotate(-3deg);
  }
}

/* =============================================
   GLASSMORPHISM BASE
   ============================================= */
.glass-card {
  background: rgba(10, 18, 36, 0.55);
  backdrop-filter: blur(28px) saturate(1.8) brightness(1.05);
  -webkit-backdrop-filter: blur(28px) saturate(1.8) brightness(1.05);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 -1px 0 rgba(0, 0, 0, 0.3) inset,
    0 0 0 1px rgba(74, 222, 128, 0.06) inset, 0 2px 8px rgba(74, 222, 128, 0.06);
  position: relative;
}

/* Línea de brillo superior en cada card */
.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(74, 222, 128, 0.35),
    rgba(255, 255, 255, 0.15),
    rgba(74, 222, 128, 0.35),
    transparent
  );
  border-radius: 1px;
  pointer-events: none;
}

/* =============================================
   PANTALLA INTRO
   ============================================= */
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(
    ellipse at center,
    rgba(10, 15, 30, 0.97) 0%,
    rgba(3, 7, 18, 1) 100%
  );
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.intro-screen.fade-out {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.intro-card {
  width: 100%;
  max-width: 460px;
  padding: clamp(28px, 6vw, 48px);
  text-align: center;
  position: relative;
  z-index: 2;
  border-color: rgba(74, 222, 128, 0.25);
  animation: cardIn 0.8s var(--ease-bounce) both;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.intro-badge {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--neon-green);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 50px;
  padding: 6px 14px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.5),
      0 0 40px rgba(74, 222, 128, 0.2);
  }
}

.intro-pre {
  font-family: var(--font-body);
  font-size: clamp(13px, 3.5vw, 15px);
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 600;
}

.intro-title {
  font-family: var(--font-pixel);
  font-size: clamp(18px, 5vw, 28px);
  color: var(--neon-green);
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.6),
    0 0 40px rgba(74, 222, 128, 0.3);
  line-height: 1.5;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.intro-sub {
  font-size: clamp(13px, 3.5vw, 15px);
  color: var(--text-dim);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Input group */
.input-wrapper {
  margin-bottom: 24px;
  text-align: left;
}

.input-label {
  display: block;
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--neon-green);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  font-size: 16px;
  z-index: 1;
  pointer-events: none;
}

.trainer-input {
  width: 100%;
  font-size: 16px; /* ≥16px evita zoom en iOS */
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(74, 222, 128, 0.06);
  border: 1.5px solid rgba(74, 222, 128, 0.25);
  border-radius: var(--radius-sm);
  padding: 14px 16px 14px 42px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  -webkit-appearance: none;
}

.trainer-input::placeholder {
  color: rgba(110, 231, 183, 0.4);
}

.trainer-input:focus {
  border-color: var(--neon-green);
  background: rgba(74, 222, 128, 0.1);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15),
    0 0 20px rgba(74, 222, 128, 0.1);
}

/* Mensaje de aceptación */
.accept-msg {
  margin-top: 16px;
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--neon-green);
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.6);
  min-height: 24px;
  letter-spacing: 0.5px;
}

/* Partículas decorativas intro */
.intro-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  color: var(--neon-green);
  opacity: 0.4;
  font-size: 12px;
  animation: particleFloat 6s ease-in-out infinite;
}
.p1 {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
  font-size: 10px;
}
.p2 {
  top: 25%;
  right: 12%;
  animation-delay: 1.2s;
  font-size: 8px;
  color: var(--neon-yellow);
}
.p3 {
  bottom: 20%;
  left: 8%;
  animation-delay: 2.4s;
  font-size: 14px;
}
.p4 {
  bottom: 30%;
  right: 10%;
  animation-delay: 0.8s;
  font-size: 9px;
  color: var(--neon-blue);
}
.p5 {
  top: 60%;
  left: 50%;
  animation-delay: 1.8s;
  font-size: 11px;
  color: var(--neon-purple);
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-16px) rotate(180deg);
    opacity: 0.6;
  }
}

/* =============================================
   BOTONES
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(12px, 3.5vw, 14px);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--dark-base);
  background: linear-gradient(
    135deg,
    var(--neon-green) 0%,
    var(--neon-green-2) 100%
  );
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s var(--ease-bounce),
    box-shadow 0.3s var(--ease-smooth), filter 0.2s;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(74, 222, 128, 0.5),
    0 0 60px rgba(74, 222, 128, 0.2);
}
.btn-primary:hover::before {
  opacity: 1;
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-glow {
  box-shadow: 0 4px 20px rgba(74, 222, 128, 0.35);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 12px;
  width: auto;
  margin-top: 16px;
}

.btn-full {
  width: 100%;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-bounce);
}
.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: clamp(12px, 3.5vw, 13px);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--neon-green);
  background: rgba(74, 222, 128, 0.08);
  border: 1.5px solid rgba(74, 222, 128, 0.35);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease-smooth);
}

.btn-secondary:hover {
  background: rgba(74, 222, 128, 0.15);
  border-color: var(--neon-green);
  box-shadow: 0 4px 20px rgba(74, 222, 128, 0.25);
  transform: translateY(-2px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(13px, 3.5vw, 14px);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* =============================================
   TIPOGRAFÍA HELPERS
   ============================================= */
.pixel-text {
  font-family: var(--font-pixel);
  text-rendering: pixelated;
  image-rendering: pixelated;
}

.pixel-text-sm {
  font-family: var(--font-pixel);
  font-size: 9px;
  letter-spacing: 1px;
  text-rendering: pixelated;
}

/* =============================================
   MAIN CONTENT
   ============================================= */
.main-content {
  position: relative;
  z-index: 10;
  padding-top: 0;
}

.main-content.hidden {
  display: none;
  opacity: 0;
}

.main-content.reveal {
  display: block;
  animation: mainReveal 1s var(--ease-out) both;
}

@keyframes mainReveal {
  from {
    opacity: 0;
    transform: scale(0.98) translateY(20px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

/* ── SECCIONES BASE ── */
.section {
  position: relative;
  z-index: 10;
  padding: clamp(60px, 10vw, 100px) clamp(16px, 5vw, 24px);
  max-width: 780px;
  margin: 0 auto;
}

.section-eyebrow {
  color: var(--neon-green);
  margin-bottom: 8px;
  display: block;
  text-align: center;
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.5);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 42px);
  font-weight: 900;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: -1px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* ── SEPARADORES POKÉBOLA ── */
.section-divider {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 24px;
  max-width: 600px;
  margin: 0 auto;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(74, 222, 128, 0.3),
    transparent
  );
}

.divider-pokeball {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.7;
  filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.4));
  transition: transform 0.5s var(--ease-smooth);
}

/* =============================================
   SECCIÓN HERO
   ============================================= */
.section-hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero-glow-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(800px, 140vw);
  height: min(800px, 140vw);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(74, 222, 128, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
  animation: heroGlow 4s ease-in-out infinite;
}

@keyframes heroGlow {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Gradiente de texto en la parte inferior del hero */
.section-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(
    to top,
    rgba(3, 7, 18, 0.92) 0%,
    rgba(3, 7, 18, 0.5) 50%,
    transparent 100%
  );
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 4;
  width: 100%;
  padding-bottom: clamp(36px, 6vw, 64px);
}

.hero-badge {
  color: var(--neon-green);
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.5);
  margin-bottom: 12px;
}

/* Imagen de Samuel: ocupa toda la pantalla, anclada al fondo */
.hero-image-wrap {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.hero-image-frame {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 80vw);
  height: min(700px, 100vh);
  background: radial-gradient(
    ellipse at 50% 80%,
    rgba(74, 222, 128, 0.2) 0%,
    rgba(56, 189, 248, 0.1) 40%,
    transparent 70%
  );
  filter: blur(30px);
  opacity: 0.8;
  animation: frameGlow 6s ease-in-out infinite;
}

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

.hero-image {
  /* Imagen grande que llene verticalmente la pantalla */
  height: min(95vh, 900px);
  width: auto;
  max-width: 90vw;
  object-fit: contain;
  object-position: bottom center;
  position: relative;
  z-index: 2;
  /* Esquinas redondeadas premium */
  border-radius: clamp(20px, 4vw, 40px);
  /* Sombra de neón suave en el contorno redondeado */
  filter: drop-shadow(0 0 50px rgba(74, 222, 128, 0.5))
    drop-shadow(0 20px 80px rgba(56, 189, 248, 0.25))
    drop-shadow(0 -8px 30px rgba(74, 222, 128, 0.2));
  animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* HUD tag superpuesto — posicionado relativo al hero-content */
.hero-hud-tag {
  position: absolute;
  top: clamp(16px, 4vw, 28px);
  right: clamp(16px, 4vw, 32px);
  background: rgba(13, 21, 38, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  z-index: 5;
  min-width: 110px;
}

.hud-lv {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--neon-yellow);
  display: block;
  margin-bottom: 5px;
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.6);
}

.hud-hp {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-hp-label {
  font-family: var(--font-pixel);
  font-size: 7px;
  color: var(--neon-green);
}

.hud-hp-bar {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.hud-hp-fill {
  height: 100%;
  width: 88%;
  background: linear-gradient(90deg, var(--neon-green-2), var(--neon-green));
  border-radius: 3px;
  animation: hpPulse 2s ease-in-out infinite;
}

@keyframes hpPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Texto hero — anclado al fondo */
.hero-name {
  font-size: clamp(36px, 10vw, 72px);
  color: var(--neon-green);
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.8),
    0 0 60px rgba(74, 222, 128, 0.4), 0 4px 0 rgba(0, 0, 0, 0.6);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.hero-age {
  font-family: var(--font-display);
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 6px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.age-number {
  font-size: clamp(42px, 12vw, 88px);
  color: var(--neon-yellow);
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.7),
    0 0 60px rgba(250, 204, 21, 0.35), 0 4px 0 rgba(0, 0, 0, 0.5);
  display: inline-block;
  line-height: 0.9;
  vertical-align: middle;
}

.hero-invite {
  font-family: var(--font-body);
  font-size: clamp(16px, 4.5vw, 22px);
  color: var(--text-secondary);
  font-weight: 700;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-trainer-name {
  margin-top: 10px;
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--neon-blue);
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
  min-height: 20px;
}

/* =============================================
   SECCIÓN FRASE
   ============================================= */
.frase-card {
  text-align: center;
  padding: clamp(32px, 6vw, 56px) clamp(24px, 5vw, 48px);
  border-color: rgba(74, 222, 128, 0.2);
}

.frase-icon {
  font-size: 36px;
  margin-bottom: 20px;
  display: block;
  animation: spinSlow 6s linear infinite;
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

.frase-text {
  font-family: var(--font-body);
  font-size: clamp(18px, 5vw, 26px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 16px;
}

.frase-sub {
  font-family: var(--font-display);
  font-size: clamp(14px, 3.5vw, 18px);
  color: var(--neon-green);
  font-weight: 700;
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.4);
}

/* =============================================
   SECCIÓN COUNTDOWN
   ============================================= */
.section-countdown {
  text-align: center;
}

.countdown-label {
  color: var(--neon-green);
  margin-bottom: 24px;
  display: block;
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.5);
}

.countdown-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2.5vw, 20px);
  margin-bottom: 20px;
  flex-wrap: nowrap;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

.cd-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 9vw, 72px);
  font-weight: 900;
  color: var(--neon-green);
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.7),
    0 0 50px rgba(74, 222, 128, 0.3), 0 4px 0 rgba(0, 0, 0, 0.5);
  line-height: 1;
  transition: transform 0.3s var(--ease-bounce);
  display: block;
}

.cd-num.tick {
  transform: scale(1.15);
}

.cd-lbl {
  font-family: var(--font-pixel);
  font-size: 7px;
  color: var(--text-dim);
  margin-top: 6px;
  letter-spacing: 0.5px;
}

.cd-sep {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 52px);
  font-weight: 900;
  color: rgba(74, 222, 128, 0.4);
  line-height: 1;
  margin-bottom: 18px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

.countdown-date {
  font-family: var(--font-display);
  font-size: clamp(14px, 3.5vw, 18px);
  color: var(--text-secondary);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 28px;
}

/* =============================================
   SECCIÓN EVENTO
   ============================================= */
.evento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .evento-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.evento-info-card {
  padding: clamp(20px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.evento-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.evento-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.evento-item-label {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--neon-green);
  display: block;
  margin-bottom: 4px;
}

.evento-item-value {
  font-family: var(--font-body);
  font-size: clamp(14px, 3.5vw, 16px);
  font-weight: 700;
  color: var(--text-primary);
}

.evento-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 260px;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
}

.evento-map {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
  filter: saturate(0.6) brightness(0.8);
  transition: filter 0.3s;
}

.evento-map-wrap:hover .evento-map {
  filter: saturate(0.9) brightness(0.95);
}

/* =============================================
   SECCIÓN SPOTIFY
   ============================================= */
.spotify-wrap {
  padding: clamp(16px, 4vw, 24px);
  border-color: rgba(30, 215, 96, 0.2);
}

/* =============================================
   GALERÍA (CSS-only scroll-snap)
   ============================================= */
.gallery-scroll-wrap {
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 16px;
  /* Ocultar scrollbar nativa pero mantener funcionalidad */
  scrollbar-width: thin;
  scrollbar-color: rgba(74, 222, 128, 0.3) transparent;
}

.gallery-scroll-wrap::-webkit-scrollbar {
  height: 4px;
}
.gallery-scroll-wrap::-webkit-scrollbar-thumb {
  background: rgba(74, 222, 128, 0.3);
  border-radius: 2px;
}

.gallery-track {
  display: flex;
  gap: 16px;
  padding: 8px 4px 8px;
  width: max-content;
}

.gallery-item {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: min(300px, 75vw);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: transform 0.4s var(--ease-bounce), box-shadow 0.4s;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(74, 222, 128, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-smooth);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item figcaption {
  padding: 12px 16px;
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--neon-green);
  letter-spacing: 0.5px;
}

.gallery-hint {
  text-align: center;
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--text-dim);
  margin-top: 12px;
  opacity: 0.7;
  animation: hintPulse 2.5s ease-in-out infinite;
}

@keyframes hintPulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* =============================================
   ITINERARIO TIMELINE
   ============================================= */
.timeline {
  list-style: none;
  position: relative;
  padding-left: 0;
}

/* Línea vertical */
.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--neon-green) 0%,
    var(--neon-blue) 50%,
    var(--neon-purple) 100%
  );
  opacity: 0.3;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 2px solid rgba(74, 222, 128, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.2);
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.2);
  box-shadow: 0 0 30px rgba(74, 222, 128, 0.4);
}

.timeline-emoji {
  font-size: 22px;
  flex-shrink: 0;
  display: none; /* Solo en timeline-content */
}

.timeline-content {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s;
}

.timeline-content:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(74, 222, 128, 0.1);
}

.timeline-content strong {
  font-family: var(--font-display);
  font-size: clamp(13px, 3.5vw, 15px);
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  margin-bottom: 3px;
}

.timeline-content p {
  font-size: clamp(12px, 3vw, 13px);
  color: var(--text-dim);
}

/* =============================================
   RSVP
   ============================================= */
.rsvp-card {
  padding: clamp(24px, 5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rsvp-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rsvp-label {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--neon-green);
  letter-spacing: 0.5px;
}

.rsvp-input {
  font-size: 16px; /* evita zoom iOS */
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(74, 222, 128, 0.05);
  border: 1.5px solid rgba(74, 222, 128, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  width: 100%;
  resize: none;
  -webkit-appearance: none;
}

.rsvp-input::placeholder {
  color: rgba(110, 231, 183, 0.35);
}
.rsvp-input:focus {
  border-color: var(--neon-green);
  background: rgba(74, 222, 128, 0.08);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.12);
}

/* Radio buttons personalizados */
.rsvp-radios {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.rsvp-radio-label {
  flex: 1;
  min-width: 140px;
  cursor: pointer;
}

.rsvp-radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.rsvp-radio-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1.5px solid rgba(74, 222, 128, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(74, 222, 128, 0.04);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  transition: all 0.3s var(--ease-smooth);
  text-align: center;
}

.rsvp-radio-label input:checked + .rsvp-radio-btn {
  background: rgba(74, 222, 128, 0.15);
  border-color: var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.2);
}

.rsvp-radio-label:hover .rsvp-radio-btn {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(74, 222, 128, 0.08);
}

.rsvp-output {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--neon-green);
  text-align: center;
  min-height: 20px;
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.5);
}

/* =============================================
   MESA DE REGALOS
   ============================================= */
.regalos-card {
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.regalos-quote {
  font-family: var(--font-body);
  font-size: clamp(16px, 4vw, 20px);
  font-style: italic;
  color: var(--text-secondary);
  font-weight: 600;
  line-height: 1.5;
}

.regalos-pokemon-row {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.regalos-pk {
  font-family: var(--font-display);
  font-size: clamp(14px, 4vw, 18px);
  font-weight: 700;
  color: var(--text-primary);
  padding: 8px 16px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 50px;
}

.regalos-amp {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--neon-green);
  font-weight: 900;
}

.regalos-sub {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--neon-green);
  letter-spacing: 1px;
}

/* =============================================
   CONTACTO
   ============================================= */
.contacto-card {
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contacto-text {
  font-size: clamp(15px, 4vw, 18px);
  color: var(--text-secondary);
  font-weight: 600;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  position: relative;
  z-index: 10;
  padding: 40px 24px 48px;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-ball {
  width: 28px;
  height: 28px;
  opacity: 0.6;
  filter: drop-shadow(0 0 6px rgba(74, 222, 128, 0.3));
  animation: footerSpin 8s linear infinite;
}

@keyframes footerSpin {
  to {
    transform: rotate(360deg);
  }
}

.footer-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-dim);
}

.footer-heart {
  color: var(--red-poke);
  display: inline-block;
  animation: heartBeat 1.4s ease-in-out infinite;
}

@keyframes heartBeat {
  0%,
  100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.3);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.2);
  }
  70% {
    transform: scale(1);
  }
}

.footer-year {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: rgba(110, 231, 183, 0.3);
}

/* =============================================
   POKÉBOLA CON SCROLL (sticky decorativa)
   ============================================= */
.pokeball-scroll-wrap {
  display: none; /* usamos divider-pokeball en su lugar */
}

/* =============================================
   ANIMACIONES DE ENTRADA (scroll-based via JS)
   ============================================= */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE REFINEMENTS
   ============================================= */
@media (max-width: 480px) {
  .hero-hud-tag {
    top: 12px;
    right: 12px;
    min-width: 90px;
    padding: 8px 10px;
  }
  .cd-num {
    font-size: 32px;
  }
  .cd-sep {
    font-size: 24px;
  }
  .cd-unit {
    min-width: 50px;
  }
  .timeline::before {
    left: 16px;
  }
  .timeline-dot {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
  .regalos-pokemon-row {
    flex-direction: column;
    gap: 8px;
  }
}

@media (min-width: 768px) {
  .intro-card {
    padding: 56px 60px;
  }
}

/* ── FOCUS STYLES (accesibilidad) ── */
:focus-visible {
  outline: 2px solid var(--neon-green);
  outline-offset: 3px;
  border-radius: 4px;
}
