/* ==========================================================================
   IKER MAXIMILIANO · MIS XV AÑOS · DISCO NIGHT
   Design System & Responsive Stylesheet (Silver / Metallic / Cyan Theme)
   ========================================================================== */

:root {
  --bg-dark: #05030f;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  
  --cyan: #00e5ff;
  --cyan-glow: rgba(0, 229, 255, 0.5);
  
  --silver: #ffffff;
  --silver-glow: rgba(255, 255, 255, 0.7);
  --silver-dim: rgba(255, 255, 255, 0.65);
  
  --blue-accent: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.5);
  
  --text-main: rgba(255, 255, 255, 0.92);
  --text-dim: rgba(255, 255, 255, 0.52);
  --border-cyan: rgba(0, 229, 255, 0.22);
  --border-silver: rgba(255, 255, 255, 0.22);
  
  --serif: 'Playfair Display', Georgia, serif;
  --script: 'Great Vibes', cursive;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;

  --mobile-width: 480px;
}

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

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

/* ── COSMIC BACKGROUND & CANVAS ── */
.cosmos-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(1000px 700px at 15% 10%, rgba(59, 130, 246, 0.22), transparent 65%),
    radial-gradient(900px 700px at 85% 25%, rgba(0, 229, 255, 0.2), transparent 65%),
    radial-gradient(950px 800px at 50% 95%, rgba(255, 255, 255, 0.12), transparent 65%),
    var(--bg-dark);
}

#starfield-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* ── CENTERED MOBILE DIGITAL INVITATION WRAPPER ── */
.invitation-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Clean Vertical Mobile Column Card */
.invitation-card {
  width: 100%;
  max-width: var(--mobile-width);
  min-height: 100vh;
  background: #060412;
  position: relative;
  box-shadow: 
    0 0 60px rgba(0, 0, 0, 0.85),
    0 0 45px rgba(0, 229, 255, 0.15);
  border-left: 1px solid rgba(0, 229, 255, 0.12);
  border-right: 1px solid rgba(0, 229, 255, 0.12);
  overflow-x: hidden;
}

@media (max-width: 520px) {
  .invitation-card {
    border-left: none;
    border-right: none;
    box-shadow: none;
  }
}

/* ── SPLASH ENTRANCE SCREEN ── */
#splash {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #05030f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.splash-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

.splash-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 50% 40%, rgba(5, 3, 15, 0.45) 0%, rgba(5, 3, 15, 0.82) 80%);
  pointer-events: none;
}

#splash.fade-out {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.splash-badge {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.splash-name {
  font-family: var(--script);
  font-size: clamp(3.8rem, 16vw, 5.5rem);
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 25px rgba(0, 229, 255, 0.8);
}

.splash-date {
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 1.6rem 0 2.2rem;
}

.splash-btn {
  display: inline-block;
  padding: 0.9rem 2.8rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  color: #03121a;
  background: linear-gradient(90deg, var(--cyan), #82f9ff);
  box-shadow: 0 0 25px var(--cyan-glow);
  animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: scale(1); box-shadow: 0 0 20px var(--cyan-glow); }
  100% { transform: scale(1.04); box-shadow: 0 0 35px var(--cyan); }
}

.splash-sound-hint {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  margin-top: 1.2rem;
  text-transform: uppercase;
}

/* ── TYPOGRAPHY EFFECTS ── */
.chrome-text {
  background: linear-gradient(180deg, #ffffff 0%, #d7eeff 16%, #9fb6c9 38%, #ffffff 50%, #7e8a99 60%, #cfe6fb 80%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6)) drop-shadow(0 0 20px rgba(120,200,255,0.4));
}

.neon-white {
  color: #ffffff;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.9), 0 0 16px rgba(0, 229, 255, 0.7), 0 0 30px rgba(59, 130, 246, 0.5);
}

.neon-cyan {
  color: #dcfbff;
  text-shadow: 0 0 6px var(--cyan), 0 0 16px var(--cyan), 0 0 32px rgba(0, 229, 255, 0.6);
}

/* ── HERO SECTION WITH BOLA.MP4 BACKGROUND ── */
.hero-wrap {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.25rem 3rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, 
    rgba(5, 3, 15, 0.4) 0%, 
    rgba(5, 3, 15, 0.18) 45%, 
    rgba(6, 4, 18, 0.94) 100%);
  pointer-events: none;
}

.hero-xv,
.hero-title,
.hero-name,
.hero-sub,
.hero-date,
.hero-cta,
.scroll-hint {
  position: relative;
  z-index: 2;
}

.hero-xv {
  font-size: 0.65rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.hero-name {
  font-family: var(--script);
  font-size: clamp(4.2rem, 16vw, 7rem);
  line-height: 0.95;
  margin: 0.3rem 0 0.2rem;
}

.hero-sub {
  font-family: var(--script);
  font-size: clamp(1.6rem, 6vw, 2.5rem);
  margin-top: 0.4rem;
}

.hero-date {
  font-size: 0.88rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 1.5rem;
}

.hero-cta {
  display: inline-block;
  margin-top: 2.2rem;
  padding: 0.88rem 2.6rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  color: #03121a;
  background: linear-gradient(90deg, var(--cyan), #82f9ff);
  box-shadow: 0 0 22px var(--cyan-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(0, 229, 255, 0.9);
}

.scroll-hint {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.3rem;
  text-decoration: none;
  animation: bounce 2.4s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── LAYOUT & CONTENT WRAPPERS ── */
.sec-wrap {
  padding: 4rem 1.35rem;
  position: relative;
}

/* Section 2 Presentation with 1.jpg Full Background (No contours/borders) */
.sec-presentation {
  position: relative;
  width: 100%;
  padding: 5rem 1.35rem 4.5rem;
  background-image: 
    linear-gradient(to bottom, 
      rgba(6, 4, 18, 0.78) 0%, 
      rgba(6, 4, 18, 0.52) 45%, 
      rgba(6, 4, 18, 0.95) 100%),
    url('1.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  margin: 0;
  border: none;
  border-radius: 0;
}

.sec-label {
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--cyan);
  text-align: center;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.sec-label.silver {
  color: #ffffff;
}

.sec-title {
  font-family: var(--script);
  font-size: clamp(2.8rem, 10vw, 4rem);
  line-height: 1.05;
  text-align: center;
}

.divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(0, 229, 255, 0.4), transparent);
  margin: 0 auto;
}

/* ── GLASS CARD BASE ── */
.glass-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-cyan);
  border-radius: 1.2rem;
  box-shadow: inset 0 0 25px rgba(0, 229, 255, 0.05), 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s;
}

.glass-card.silver-border {
  border-color: var(--border-silver);
  box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.05), 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ── COUNTDOWN SECTION WITH BOLA2.MP4 BACKGROUND ── */
.sec-countdown {
  position: relative;
  width: 100%;
  padding: 5rem 1.35rem 4.5rem;
  overflow: hidden;
  isolation: isolate;
  margin: 0;
  border: none;
}

.sec-countdown .sec-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}

.sec-countdown .sec-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, 
    rgba(6, 4, 18, 0.76) 0%, 
    rgba(6, 4, 18, 0.58) 50%, 
    rgba(6, 4, 18, 0.88) 100%);
  pointer-events: none;
}

.cd-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0.65rem;
  margin-top: 2rem;
}

.cd-item {
  flex: 1;
  min-width: 68px;
  padding: 1rem 0.4rem;
  text-align: center;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.12);
}

.cd-num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1;
  display: block;
}

.cd-lbl {
  font-size: 0.54rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.4rem;
  display: block;
}

.cd-sub {
  font-family: var(--script);
  font-size: 2rem;
  text-align: center;
  margin-top: 1.8rem;
}

.cal-btns {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.cal-btn {
  flex: 1;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 1rem;
  border-radius: 0.7rem;
  font-size: 0.72rem;
  text-decoration: none;
  color: #ffffff;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.35);
  transition: all 0.2s;
  font-weight: 500;
}

.cal-btn:hover {
  background: rgba(0, 229, 255, 0.2);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.3);
}

/* ── INTERACTIVE BACKGROUND & FLOATING ORBS ── */
.sec-interactive {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  pointer-events: none;
  opacity: 0.35;
  will-change: transform;
  z-index: 0;
}

.orb-1 {
  top: 5%;
  left: -40px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  animation: orbPulse1 9s ease-in-out infinite alternate;
}

.orb-2 {
  bottom: 10%;
  right: -50px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.65), transparent 70%);
  animation: orbPulse2 11s ease-in-out infinite alternate;
}

.orb-3 {
  top: 15%;
  right: -30px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45), transparent 70%);
  animation: orbPulse1 10s ease-in-out infinite alternate;
}

.orb-4 {
  bottom: 5%;
  left: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  animation: orbPulse2 12s ease-in-out infinite alternate;
}

@keyframes orbPulse1 {
  0% { transform: translateY(0) scale(0.9); }
  100% { transform: translateY(-35px) scale(1.12); }
}

@keyframes orbPulse2 {
  0% { transform: translateY(0) scale(1.08); }
  100% { transform: translateY(40px) scale(0.92); }
}

/* ── MOVING BACKGROUND PARTICLES ── */
.particle-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.p-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan), 0 0 20px var(--cyan);
  opacity: 0.7;
}

.dot1  { width: 6px; height: 6px; left: 8%;  top: 92%; animation: floatParticle1 8.5s infinite linear; animation-delay: 0s; }
.dot2  { width: 4px; height: 4px; left: 24%; top: 88%; animation: floatParticle2 11s infinite linear; animation-delay: 1.8s; background: #ffffff; box-shadow: 0 0 10px #ffffff; }
.dot3  { width: 8px; height: 8px; left: 38%; top: 96%; animation: floatParticle1 9s infinite linear; animation-delay: 0.6s; }
.dot4  { width: 5px; height: 5px; left: 52%; top: 84%; animation: floatParticle3 12s infinite linear; animation-delay: 3.2s; background: #3b82f6; box-shadow: 0 0 12px #3b82f6; }
.dot5  { width: 7px; height: 7px; left: 66%; top: 90%; animation: floatParticle2 10s infinite linear; animation-delay: 2.1s; }
.dot6  { width: 4px; height: 4px; left: 82%; top: 95%; animation: floatParticle1 7.5s infinite linear; animation-delay: 1.2s; background: #ffffff; box-shadow: 0 0 10px #ffffff; }
.dot7  { width: 9px; height: 9px; left: 94%; top: 86%; animation: floatParticle3 13s infinite linear; animation-delay: 4.5s; background: #00e5ff; }
.dot8  { width: 5px; height: 5px; left: 16%; top: 94%; animation: floatParticle2 9.5s infinite linear; animation-delay: 2.7s; background: #a5f3fc; box-shadow: 0 0 12px #a5f3fc; }
.dot9  { width: 7px; height: 7px; left: 32%; top: 89%; animation: floatParticle1 10.5s infinite linear; animation-delay: 0.9s; }
.dot10 { width: 4px; height: 4px; left: 48%; top: 97%; animation: floatParticle3 8s infinite linear; animation-delay: 3.8s; background: #ffffff; box-shadow: 0 0 8px #ffffff; }
.dot11 { width: 8px; height: 8px; left: 60%; top: 82%; animation: floatParticle2 11.5s infinite linear; animation-delay: 1.5s; }
.dot12 { width: 6px; height: 6px; left: 78%; top: 91%; animation: floatParticle1 9.8s infinite linear; animation-delay: 4.1s; background: #3b82f6; box-shadow: 0 0 14px #3b82f6; }
.dot13 { width: 5px; height: 5px; left: 90%; top: 93%; animation: floatParticle3 7.8s infinite linear; animation-delay: 0.4s; }
.dot14 { width: 7px; height: 7px; left: 4%;  top: 87%; animation: floatParticle2 12.2s infinite linear; animation-delay: 5s; background: #ffffff; box-shadow: 0 0 10px #ffffff; }

@keyframes floatParticle1 {
  0% { transform: translateY(0) translateX(0) scale(0.5); opacity: 0; }
  15% { opacity: 0.85; }
  85% { opacity: 0.85; }
  100% { transform: translateY(-460px) translateX(50px) scale(1.3); opacity: 0; }
}

@keyframes floatParticle2 {
  0% { transform: translateY(0) translateX(0) scale(0.6); opacity: 0; }
  20% { opacity: 0.9; }
  80% { opacity: 0.9; }
  100% { transform: translateY(-480px) translateX(-45px) scale(1.2); opacity: 0; }
}

@keyframes floatParticle3 {
  0% { transform: translateY(0) translateX(0) scale(0.4); opacity: 0; }
  25% { opacity: 0.8; }
  75% { opacity: 0.8; }
  100% { transform: translateY(-420px) translateX(30px) scale(1.4); opacity: 0; }
}

/* ── EVENT DETAILS SECTION ── */
.detail-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.35rem 1.4rem;
  margin-top: 1.1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-cyan);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s, box-shadow 0.35s, background 0.35s;
}

.detail-card:hover {
  transform: translateY(-4px) scale(1.01);
  background: rgba(255, 255, 255, 0.065);
  border-color: var(--cyan);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.35), inset 0 0 15px rgba(0, 229, 255, 0.12);
}

.detail-card:hover .detail-ic {
  transform: scale(1.18) rotate(8deg);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.55);
  background: rgba(0, 229, 255, 0.22);
}

.detail-ic {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.detail-k {
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.3rem;
}

.detail-v {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.3;
}

/* ── ENHANCED ITINERARY TIMELINE & HOVER ANIMATIONS ── */
.itin-timeline {
  position: relative;
  z-index: 2;
  margin-top: 2.8rem;
  padding-left: 2rem;
}

.itin-line {
  position: absolute;
  left: 9px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, 
    var(--cyan) 0%, 
    rgba(255, 255, 255, 0.8) 50%, 
    var(--cyan) 100%);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.6);
}

.itin-card-item {
  position: relative;
  margin-bottom: 1.8rem;
}

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

.itin-node {
  position: absolute;
  left: -2rem;
  top: 1.25rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  border: 2px solid #060412;
  box-shadow: 0 0 14px var(--cyan);
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.itin-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-cyan);
  border-radius: 1.1rem;
  padding: 1.25rem 1.4rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s, box-shadow 0.35s, background 0.35s;
  cursor: pointer;
}

.itin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.itin-time-pill {
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  transition: all 0.3s ease;
}

.itin-icon-badge {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.itin-event {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.3;
}

.itin-detail {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.3rem;
  line-height: 1.5;
}

/* ITINERARY HOVER & TOUCH NEON ANIMATIONS */
.itin-card-item:hover .itin-card,
.itin-card-item:active .itin-card {
  transform: translateX(10px) translateY(-3px);
  background: rgba(255, 255, 255, 0.065);
  border-color: var(--cyan);
  box-shadow: 
    0 0 30px rgba(0, 229, 255, 0.35),
    inset 0 0 15px rgba(0, 229, 255, 0.15);
}

.itin-card-item:hover .itin-node,
.itin-card-item:active .itin-node {
  transform: scale(1.5);
  background: #ffffff;
  box-shadow: 0 0 20px var(--cyan), 0 0 30px var(--cyan);
}

.itin-card-item:hover .itin-time-pill,
.itin-card-item:active .itin-time-pill {
  background: rgba(0, 229, 255, 0.25);
  border-color: var(--cyan);
  color: #ffffff;
  box-shadow: 0 0 15px var(--cyan-glow);
}

.itin-card-item:hover .itin-icon-badge,
.itin-card-item:active .itin-icon-badge {
  transform: scale(1.22) rotate(12deg);
}

/* ── VENUE & LOCATION ── */
.venue-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: #fff;
  text-align: center;
  margin-top: 0.4rem;
}

.venue-addr {
  font-size: 0.84rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.7;
  margin: 0.6rem 0 1.4rem;
}

.map-embed {
  width: 100%;
  height: 210px;
  border: none;
  border-radius: 0.8rem;
  margin-bottom: 1rem;
  opacity: 0.85;
  filter: invert(90%) hue-rotate(180deg) contrast(1.2);
}

.map-btns {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.map-btn {
  flex: 1;
  min-width: 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 0.8rem;
  border-radius: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  color: #dcfbff;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.35);
  transition: background 0.2s;
}

.map-btn:hover {
  background: rgba(0, 229, 255, 0.2);
}

/* ── DRESS CODE SECTION (FORMAL) ── */
.dress-glam {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.5rem, 10vw, 3.8rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
  margin: 0.4rem 0;
}

.dress-tag {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-main);
  text-align: center;
}

.dress-feats {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin: 2rem 0 1.6rem;
}

.feat {
  text-align: center;
  min-width: 84px;
}

.feat-ic {
  font-size: 1.8rem;
}

.feat-t {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.5rem;
  line-height: 1.4;
}

.color-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.chip {
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-size: 0.64rem;
  border: 1px solid;
  font-weight: 500;
}

.chip-cyan {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.4);
  color: var(--cyan);
}

.chip-silver {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

/* ── COMBINED VENUE & DRESS CODE WRAPPER WITH BOLA3.MP4 BACKGROUND ── */
.sec-video-section-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  margin: 0;
  border: none;
}

.sec-video-section-wrap .sec-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}

.sec-video-section-wrap .sec-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, 
    rgba(6, 4, 18, 0.82) 0%, 
    rgba(6, 4, 18, 0.6) 50%, 
    rgba(6, 4, 18, 0.92) 100%);
  pointer-events: none;
}

/* ── ANIMATED 3D NEON ENVELOPE (LLUVIA DE SOBRES) ── */
.neon-gift-card {
  position: relative;
  border: 1px solid var(--border-cyan) !important;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.18), inset 0 0 20px rgba(0, 229, 255, 0.06);
  transition: border-color 0.4s, box-shadow 0.4s;
}

.neon-gift-card:hover {
  border-color: var(--cyan) !important;
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.35), inset 0 0 25px rgba(0, 229, 255, 0.12);
}

.envelope-3d-stage {
  perspective: 800px;
  width: 110px;
  height: 80px;
  margin: 0 auto;
  cursor: pointer;
}

.envelope-3d-box {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: envFloat 4s ease-in-out infinite alternate;
}

@keyframes envFloat {
  0% { transform: translateY(0) rotateY(-8deg) rotateX(5deg); }
  100% { transform: translateY(-8px) rotateY(8deg) rotateX(-5deg); }
}

.envelope-3d-stage:hover .envelope-3d-box,
.envelope-3d-stage:active .envelope-3d-box {
  transform: rotateY(360deg) scale(1.12);
}

.env-body {
  position: absolute;
  inset: 0;
  background: rgba(5, 3, 15, 0.85);
  border: 2px solid var(--cyan);
  border-radius: 10px;
  box-shadow: 
    0 0 20px var(--cyan-glow),
    inset 0 0 15px rgba(0, 229, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 3;
}

.env-svg {
  width: 80%;
  height: 80%;
  filter: drop-shadow(0 0 8px var(--cyan));
}

.env-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: rgba(0, 229, 255, 0.25);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 0.5s ease;
  z-index: 4;
  border-top: 2px solid var(--cyan);
}

.envelope-3d-stage:hover .env-flap,
.envelope-3d-stage:active .env-flap {
  transform: rotateX(180deg);
}

.env-letter {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 10%;
  height: 75%;
  background: linear-gradient(135deg, #ffffff, #d7eeff);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: #03121a;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  transition: transform 0.5s ease 0.2s;
  z-index: 2;
}

.envelope-3d-stage:hover .env-letter,
.envelope-3d-stage:active .env-letter {
  transform: translateY(-28px);
}

.gift-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.gift-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto;
}

/* ── GALLERY SECTION ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 2rem;
}

.gallery-item {
  aspect-ratio: 3/4;
  border-radius: 0.8rem;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(0, 229, 255, 0.2);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

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

.gallery-item::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  background: rgba(5, 3, 15, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ── RSVP FORM SECTION (MATCHING SCREENSHOT WITH WHATSAPP) ── */
.rsvp-sub {
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-dim);
  font-size: 1.05rem;
  text-align: center;
  line-height: 1.8;
}

.rsvp-form {
  display: grid;
  gap: 1.2rem;
}

.f-group {
  display: grid;
  gap: 0.5rem;
}

.f-label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
}

.f-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(0, 229, 255, 0.25);
  padding: 0.85rem 1rem;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.95rem;
  width: 100%;
  outline: none;
  border-radius: 0.75rem;
  -webkit-appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.f-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.25);
}

.attending-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.attending-option input {
  display: none;
}

.attending-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.1rem 0.6rem;
  border-radius: 0.8rem;
  border: 1.5px solid rgba(0, 229, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
}

.attending-option input:checked + label {
  background: rgba(0, 229, 255, 0.12);
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
}

.attending-emoji {
  font-size: 1.5rem;
}

/* NÚMERO DE PERSONAS CARDS (5 PASES GRID) */
.guests-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
}

@media (max-width: 420px) {
  .guests-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guest-card-option input {
  display: none;
}

.guest-card-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 0.15rem;
  border-radius: 0.75rem;
  border: 1.5px solid rgba(0, 229, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.68rem;
  color: var(--text-dim);
  text-align: center;
  font-weight: 500;
}

.guest-card-option label .guest-emoji {
  font-size: 1.25rem;
}

.guest-card-option input:checked + label {
  background: rgba(0, 229, 255, 0.12);
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.25);
}

.f-textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(0, 229, 255, 0.25);
  padding: 0.9rem 1rem;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.95rem;
  width: 100%;
  outline: none;
  border-radius: 0.75rem;
  -webkit-appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
  min-height: 95px;
}

.f-textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.25);
}

.f-textarea::placeholder {
  color: var(--text-dim);
}

/* WHATSAPP CONFIRMATION PILL BUTTON */
.btn-submit {
  background: linear-gradient(90deg, #00e5ff 0%, #3b82f6 50%, #25d366 100%);
  border: none;
  color: #03121a;
  padding: 1.1rem 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  margin-top: 0.8rem;
  border-radius: 999px;
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 38px rgba(0, 229, 255, 0.75);
}

/* ── CONFIRMATION TICKET / BADGE ── */
.ticket-pass {
  background: radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.15), rgba(12, 8, 32, 0.95));
  border: 1px solid var(--cyan);
  border-radius: 1.2rem;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.25);
  animation: fadeIn 0.6s ease;
}

.qr-box {
  margin: 1.2rem auto;
  padding: 12px;
  background: #fff;
  border-radius: 14px;
  display: inline-block;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.qr-box canvas, .qr-box img {
  display: block;
  width: 180px;
  height: 180px;
}

/* ── ÁLBUM DIGITAL QR SECTION ── */
.album-card {
  padding: 3.2rem 1.6rem 3.4rem !important;
  margin-top: 2.2rem !important;
  border-radius: 1.4rem !important;
  border: 1px solid var(--border-cyan) !important;
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.22), inset 0 0 25px rgba(0, 229, 255, 0.08) !important;
}

.album-qr-wrapper {
  position: relative;
  width: 170px;
  height: 170px;
  margin: 0 auto;
  padding: 12px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
  overflow: hidden;
  border: 2px solid var(--cyan);
}

.album-qr-wrapper canvas, .album-qr-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
}

.qr-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00e5ff, #ffffff, #00e5ff, transparent);
  box-shadow: 0 0 12px #00e5ff, 0 0 20px #00e5ff;
  z-index: 5;
  animation: scanLaser 2.4s ease-in-out infinite alternate;
}

@keyframes scanLaser {
  0% { top: 5%; }
  100% { top: 90%; }
}

.btn-album-digital {
  display: inline-block;
  margin-top: 1.4rem;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  color: #03121a;
  background: linear-gradient(90deg, #00e5ff 0%, #3b82f6 100%);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.5);
  transition: transform 0.25s, box-shadow 0.25s;
}

.btn-album-digital:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.85);
}

/* ── FLOATING CONTROLS: MUSIC & BACK TO TOP ── */
#music-btn {
  position: fixed;
  bottom: 1.4rem;
  right: 1.4rem;
  z-index: 350;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), #3b82f6);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
  transition: transform 0.2s;
}

#music-btn:hover {
  transform: scale(1.1);
}

#music-btn svg {
  width: 20px;
  height: 20px;
  fill: #03121a;
}

.equalizer {
  display: none;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.music-playing .equalizer {
  display: flex;
}

.music-playing .i-play {
  display: none;
}

.eq-bar {
  width: 3px;
  background: #03121a;
  border-radius: 2px;
  animation: eqPulse 1s ease-in-out infinite alternate;
}

.eq-bar:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.eq-bar:nth-child(2) { height: 100%; animation-delay: 0.3s; }
.eq-bar:nth-child(3) { height: 40%; animation-delay: 0.2s; }

@keyframes eqPulse {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

/* FLOATING BACK TO TOP BUTTON (BOTTOM-LEFT) */
#back-top-btn {
  position: fixed;
  bottom: 1.4rem;
  left: 1.4rem;
  z-index: 350;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(12, 8, 32, 0.85);
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#back-top-btn.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#back-top-btn:hover {
  background: var(--cyan);
  color: #03121a;
  box-shadow: 0 0 28px var(--cyan-glow);
  transform: translateY(-3px);
}

/* ── ENHANCED LIGHTBOX MODAL WITH ARROWS & CLOSE BUTTON ── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 3, 15, 0.96);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lb-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#lightbox-img {
  max-width: 88vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 0.9rem;
  border: 1px solid var(--cyan);
  box-shadow: 0 0 45px rgba(0, 229, 255, 0.4);
  transition: transform 0.3s ease;
}

.lb-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10001;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
  transition: all 0.25s ease;
}

.lb-close:hover {
  background: var(--cyan);
  color: #03121a;
  transform: scale(1.1);
}

.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10001;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(12, 8, 32, 0.85);
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }

.lb-prev:hover, .lb-next:hover {
  background: var(--cyan);
  color: #03121a;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 30px var(--cyan-glow);
}

.lb-counter {
  margin-top: 0.8rem;
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
}

/* ── FOOTER & LOWERCASE AMBAR.LAT WITH NEON SOCIAL ICONS ── */
footer.app-footer {
  text-align: center;
  padding: 3.5rem 1.5rem 4rem;
  border-top: 1px solid rgba(0, 229, 255, 0.12);
}

.footer-name {
  font-family: var(--script);
  font-size: 2.8rem;
}

.footer-tag {
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.4rem;
}

.footer-credits-block {
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(0, 229, 255, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.ambar-lowercase-badge {
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  font-weight: 500;
  text-transform: lowercase;
  text-shadow: 0 0 12px var(--cyan-glow);
  transition: all 0.3s ease;
}

.ambar-lowercase-badge:hover {
  color: #ffffff;
  text-shadow: 0 0 20px #00e5ff, 0 0 30px #00e5ff;
}

.social-neon-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
}

.social-neon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.08);
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.3);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.social-neon-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease, transform 0.3s ease;
}

.social-neon-btn:hover {
  background: var(--cyan);
  color: #03121a;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.85);
}

.social-neon-btn:hover svg {
  stroke: #03121a;
  transform: scale(1.1);
}

/* ── REVEAL ON SCROLL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
