/* ==========================================================================
   VARIABLES & GLOBALS - EGRESADOS 2026
   ========================================================================== */
:root {
  /* Dark mode / Neon Palette */
  --bg-dark: #0A0A0A;
  --bg-card: rgba(20, 20, 25, 0.7);
  --neon-cyan: #00F0FF; /* Neon Cyan */
  --neon-purple: #FF00E6; /* Neon Pink */
  --text-main: #FFFFFF;
  --text-muted: #A0A0A0;
  
  --font-main: 'Inter', sans-serif;
  --font-display: 'Syncopate', sans-serif;
  
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(10, 10, 15, 0.6);
  --shadow-neon-cyan: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan);
  --shadow-neon-purple: 0 0 10px var(--neon-purple), 0 0 20px var(--neon-purple);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: var(--font-main); color: var(--text-main); background: var(--bg-dark); }
body { overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
li { list-style: none; }
button { font-family: var(--font-main); cursor: pointer; border: none; background: none; }
section, footer { position: relative; z-index: 1; }

#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.container { width: 90%; max-width: 1000px; margin: 0 auto; text-align: center; }

/* ==========================================================================
   TYPOGRAPHY & UTILS
   ========================================================================== */
.section-eyebrow { font-family: var(--font-display); font-size: 0.85rem; color: var(--neon-cyan); letter-spacing: 3px; margin-bottom: 0.5rem; text-transform: uppercase; }
.section-title { font-family: var(--font-display); font-size: 2.5rem; margin-bottom: 2rem; color: #FFF; text-transform: uppercase; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: var(--neon-cyan);
  border: 2px solid var(--neon-cyan);
  padding: 1rem 2rem; border-radius: 50px;
  font-size: 1.1rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}
.btn-primary:hover { background: var(--neon-cyan); color: #000; box-shadow: var(--shadow-neon-cyan); }
.btn-text { color: var(--text-muted); font-size: 0.9rem; text-decoration: underline; margin-top: 1rem; transition: color 0.3s; }
.btn-text:hover { color: #FFF; }

/* ==========================================================================
   MUSIC OVERLAY
   ========================================================================== */
.music-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--bg-dark); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s;
}
.music-overlay.hidden { opacity: 0; visibility: hidden; }
.overlay-content {
  text-align: center; padding: 3rem; background: var(--glass-bg);
  border: 1px solid var(--glass-border); border-radius: 20px;
  backdrop-filter: blur(10px); box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  position: relative; overflow: hidden;
}
.scan-line {
  position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: var(--neon-cyan); opacity: 0.5; box-shadow: var(--shadow-neon-cyan);
  animation: scan 3s linear infinite;
}
@keyframes scan { 0% { top: 0; } 100% { top: 100%; } }
.overlay-title { font-family: var(--font-display); font-size: 2.5rem; margin-bottom: 1rem; color: var(--text-main); }
.overlay-content p { color: var(--text-muted); margin-bottom: 2rem; max-width: 300px; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 1.5rem 0; transition: all 0.3s ease;
}
nav.scrolled { background: rgba(10, 10, 15, 0.9); backdrop-filter: blur(10px); padding: 1rem 0; border-bottom: 1px solid var(--glass-border); }
.nav-inner { width: 90%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #FFF; }
.nav-logo span { color: var(--neon-cyan); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: 0.9rem; font-weight: 600; color: var(--text-main); text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s; }
.nav-links a:hover { color: var(--neon-cyan); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 3px; background: #FFF; transition: 0.3s; }

.mobile-nav { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; z-index: 2000; display: flex; justify-content: flex-end; transition: right 0.4s ease; }
.mobile-nav.open { right: 0; }
.mobile-nav-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); opacity: 0; transition: opacity 0.4s; }
.mobile-nav.open .mobile-nav-backdrop { opacity: 1; }
.mobile-nav-panel { position: relative; width: 80%; max-width: 300px; height: 100%; background: var(--bg-dark); border-left: 1px solid var(--glass-border); padding: 3rem 2rem; display: flex; flex-direction: column; }
.mobile-close { align-self: flex-end; color: #FFF; margin-bottom: 2rem; }
.mobile-logo { font-family: var(--font-display); font-size: 1.5rem; color: var(--neon-cyan); margin-bottom: 2rem; }
.mobile-nav-panel ul { display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-nav-panel a { font-size: 1.2rem; color: #FFF; text-transform: uppercase; letter-spacing: 1px; }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative; height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; background: transparent;
}
.hero-bg-effect {
  position: absolute; inset: 0; background-image: radial-gradient(rgba(0, 240, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px; opacity: 0.3;
}
.hero-content { position: relative; z-index: 2; padding: 2rem; }
.hero-eyebrow { font-family: var(--font-display); color: var(--neon-purple); letter-spacing: 5px; font-size: 0.9rem; margin-bottom: 1rem; }
.hero-name {
  font-family: var(--font-display); font-size: 5rem; font-weight: 700;
  color: #FFF; line-height: 1; margin-bottom: 0.5rem; text-shadow: 0 0 20px rgba(255,255,255,0.3);
}
.hero-year { font-family: var(--font-main); font-size: 2rem; font-weight: 300; color: var(--neon-cyan); margin-bottom: 2rem; letter-spacing: 10px; }

.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.glitch::before { left: 2px; text-shadow: -2px 0 var(--neon-cyan); clip: rect(24px, 550px, 90px, 0); animation: glitch-anim-2 3s infinite linear alternate-reverse; }
.glitch::after { left: -2px; text-shadow: -2px 0 var(--neon-purple); clip: rect(85px, 550px, 140px, 0); animation: glitch-anim 2.5s infinite linear alternate-reverse; }

@keyframes glitch-anim { 0% { clip: rect(10px, 9999px, 80px, 0); } 100% { clip: rect(50px, 9999px, 30px, 0); } }
@keyframes glitch-anim-2 { 0% { clip: rect(60px, 9999px, 10px, 0); } 100% { clip: rect(20px, 9999px, 90px, 0); } }

.hero-divider { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.hero-divider span { display: block; height: 1px; width: 50px; }
.line-cyan { background: var(--neon-cyan); box-shadow: var(--shadow-neon-cyan); }
.line-purple { background: var(--neon-purple); box-shadow: var(--shadow-neon-purple); }
.hero-divider i { color: #FFF; font-size: 1.5rem; }
.hero-date { font-size: 1.2rem; letter-spacing: 3px; font-weight: 600; margin-bottom: 3rem; }
.hero-cta { display: inline-block; padding: 1rem 3rem; background: #FFF; color: #000; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; border-radius: 5px; transition: 0.3s; box-shadow: 0 0 15px rgba(255,255,255,0.5); }
.hero-cta:hover { background: var(--neon-cyan); box-shadow: var(--shadow-neon-cyan); }

/* ==========================================================================
   COUNTDOWN
   ========================================================================== */
.countdown-section { padding: 6rem 0; background: var(--bg-dark); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.countdown { display: flex; justify-content: center; gap: 1.5rem; font-family: var(--font-display); }
.cd-item { display: flex; flex-direction: column; align-items: center; background: var(--bg-card); padding: 1.5rem; border: 1px solid var(--glass-border); border-radius: 10px; min-width: 100px; box-shadow: inset 0 0 20px rgba(0,0,0,0.5); }
.cd-num { font-size: 3rem; font-weight: 700; color: var(--neon-cyan); text-shadow: var(--shadow-neon-cyan); }
.cd-label { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 2px; margin-top: 0.5rem; }
.cd-sep { font-size: 3rem; color: var(--neon-purple); display: flex; align-items: center; }

/* ==========================================================================
   EVENT (LOCATION)
   ========================================================================== */
.evento { padding: 8rem 0; position: relative; }
.evento-grid.single-card { display: flex; justify-content: center; }
.evento-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 20px;
  padding: 3rem; text-align: center; max-width: 400px; backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: transform 0.3s;
}
.evento-card:hover { transform: translateY(-10px); border-color: var(--neon-purple); box-shadow: var(--shadow-neon-purple); }
.evento-icon { font-size: 3rem; color: var(--neon-purple); margin-bottom: 1.5rem; }
.evento-card h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1rem; color: #FFF; }
.evento-time, .evento-place, .evento-address { color: var(--text-muted); margin-bottom: 0.5rem; }
.evento-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 1.5rem; color: var(--neon-cyan); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; }
.evento-link:hover { color: #FFF; text-shadow: 0 0 10px #FFF; }

/* ==========================================================================
   VIP PASS / QR SECTION
   ========================================================================== */
.vip-pass-section { padding: 6rem 0; background: linear-gradient(180deg, var(--bg-dark) 0%, #111 100%); }
.ticket-wrapper { display: flex; justify-content: center; margin-bottom: 4rem; perspective: 1000px; }
.ticket {
  background: #111; border: 2px solid var(--glass-border); border-radius: 15px;
  width: 100%; max-width: 350px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  position: relative; transition: transform 0.5s ease;
}
.ticket:hover { transform: rotateY(10deg) rotateX(5deg); border-color: var(--neon-cyan); box-shadow: -20px 20px 30px rgba(0,240,255,0.1); }
.ticket::after {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(to bottom right, rgba(255,255,255,0.1), transparent);
  transform: rotate(45deg); pointer-events: none;
}
.ticket-header { background: var(--neon-purple); color: #FFF; padding: 1rem; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-weight: 700; letter-spacing: 2px; }
.ticket-body { padding: 2rem; display: flex; flex-direction: column; align-items: center; background: #1a1a24; }
.ticket-info { text-align: center; margin-bottom: 2rem; width: 100%; }
.ticket-info h3 { font-family: var(--font-display); font-size: 1.8rem; color: #FFF; margin-bottom: 0.5rem; }
.ticket-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.ticket-details { display: flex; justify-content: space-between; border-top: 1px dashed var(--glass-border); border-bottom: 1px dashed var(--glass-border); padding: 1rem 0; }
.ticket-details div { display: flex; flex-direction: column; font-size: 1.2rem; font-weight: 700; color: #FFF; }
.ticket-details span { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 1px; font-weight: 400; }
.ticket-qr { background: #FFF; padding: 10px; border-radius: 10px; width: 170px; height: 170px; margin: 0 auto; display: flex; justify-content: center; align-items: center; }
.ticket-qr img { width: 100%; height: auto; display: block; }
.ticket-footer { background: #000; padding: 1rem; text-align: center; font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 3px; color: var(--text-muted); border-top: 2px dashed var(--glass-border); }

.dresscode-note { display: flex; align-items: center; justify-content: center; gap: 1rem; max-width: 600px; margin: 0 auto; background: var(--bg-card); padding: 1.5rem; border-radius: 10px; border-left: 4px solid var(--neon-cyan); }
.dresscode-note i { font-size: 2rem; color: var(--neon-cyan); }
.dresscode-note p { color: var(--text-muted); text-align: left; }
.dresscode-note strong { color: #FFF; }

/* ==========================================================================
   RSVP
   ========================================================================== */
.rsvp { padding: 8rem 0; position: relative; }
.rsvp-bg { position: absolute; inset: 0; background: transparent; }
.rsvp .container { position: relative; z-index: 2; max-width: 600px; }
.rsvp-sub { color: var(--text-muted); margin-bottom: 3rem; }
.rsvp-form { background: var(--glass-bg); padding: 3rem; border-radius: 20px; border: 1px solid var(--glass-border); backdrop-filter: blur(10px); text-align: left; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.form-row { margin-bottom: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--text-main); letter-spacing: 0.5px; }
.form-group input, .form-group select { padding: 1rem; border-radius: 8px; border: 1px solid var(--glass-border); background: rgba(0,0,0,0.5); color: #FFF; font-family: var(--font-main); font-size: 1rem; transition: border-color 0.3s; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--neon-cyan); box-shadow: 0 0 10px rgba(0, 240, 255, 0.2); }
.rsvp-btn { width: 100%; padding: 1.2rem; background: var(--neon-purple); color: #FFF; border: none; border-radius: 8px; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: all 0.3s; display: flex; justify-content: center; align-items: center; gap: 10px; }
.rsvp-btn:hover { background: #9b4dff; box-shadow: var(--shadow-neon-purple); transform: translateY(-2px); }

/* ==========================================================================
   FOOTER & MUSIC BTN
   ========================================================================== */
.footer { text-align: center; padding: 4rem 2rem; background: #050505; border-top: 1px solid var(--glass-border); }
.footer-icon { font-size: 2.5rem; color: var(--neon-cyan); margin-bottom: 1rem; }
.footer-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #FFF; margin-bottom: 0.5rem; }
.footer-date { color: var(--text-muted); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 2rem; }
.footer-quote { font-style: italic; color: #FFF; margin-bottom: 2rem; }
.footer-credit { font-size: 0.8rem; color: #555; }
.footer-credit strong { color: var(--neon-purple); }

.music-toggle-btn { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 50%; color: #FFF; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 1000; backdrop-filter: blur(10px); transition: 0.3s; opacity: 0; visibility: hidden; }
.music-toggle-btn.visible { opacity: 1; visibility: visible; }
.music-toggle-btn:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); box-shadow: var(--shadow-neon-cyan); transform: scale(1.1); }

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-name { font-size: 2.5rem; }
  .hero-year { font-size: 1.5rem; letter-spacing: 5px; }
  .countdown { flex-wrap: wrap; gap: 1rem; }
  .cd-item { min-width: 70px; padding: 0.8rem; }
  .cd-num { font-size: 1.8rem; }
  .cd-sep { display: none; }
  .ticket { max-width: 100%; }
  .ticket-body { padding: 1.5rem 1rem; }
  .ticket-qr { width: 140px; height: 140px; }
  .rsvp-form { padding: 1.5rem; }
  .evento-card { padding: 2rem 1rem; }
  .section-title { font-size: 1.8rem; }
  .overlay-content { padding: 2rem 1rem; width: 90%; }
  .overlay-title { font-size: 1.5rem; }
}
