/* =========================================================
   CUMPLEAÑOS JOSÉ — ULTRA PREMIUM STYLESHEET
   Design System: Dark Luxury, Glassmorphism, Gold & Neon
   Dual-Row Infinite Marquee + Sticky Stacking Cards (Estilo Congreso)
   ========================================================= */

:root {
  --bg-main: #070a12;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 158, 11, 0.35);
  
  --gold-primary: #f59e0b;
  --gold-glow: #fbbf24;
  --gold-dark: #d97706;
  --cyan-accent: #38bdf8;
  --purple-accent: #a855f7;
  --pink-accent: #ec4899;
  
  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --radius-pill: 9999px;
  
  --shadow-gold: 0 10px 30px -5px rgba(245, 158, 11, 0.3);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.5);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* AMBIENT GLOW EFFECTS */
.ambient-glow {
  position: fixed;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
  animation: floatGlow 12s ease-in-out infinite alternate;
}

.glow-gold {
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, var(--gold-primary), transparent 70%);
}

.glow-cyan {
  top: 40%;
  right: -150px;
  background: radial-gradient(circle, var(--cyan-accent), transparent 70%);
  animation-duration: 16s;
}

.glow-purple {
  bottom: 5%;
  left: 20%;
  background: radial-gradient(circle, var(--purple-accent), transparent 70%);
  animation-duration: 14s;
}

@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.15); }
}

/* FLOATING STARS */
.stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.star {
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
  opacity: 0.6;
  animation: twinkle var(--duration) ease-in-out infinite alternate;
}

@keyframes twinkle {
  0% { opacity: 0.2; transform: scale(0.8); }
  100% { opacity: 0.9; transform: scale(1.3); }
}

/* FLOATING MUSIC PLAYER */
.music-floating-card {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 100;
}

.music-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.music-btn:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

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

.music-bars .bar {
  width: 3px;
  height: 6px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.music-btn.playing .bar:nth-child(1) { animation: bounceBar 0.8s ease-in-out infinite alternate; }
.music-btn.playing .bar:nth-child(2) { animation: bounceBar 1.1s ease-in-out infinite alternate 0.2s; }
.music-btn.playing .bar:nth-child(3) { animation: bounceBar 0.7s ease-in-out infinite alternate 0.4s; }
.music-btn.playing .bar:nth-child(4) { animation: bounceBar 1.0s ease-in-out infinite alternate 0.1s; }

@keyframes bounceBar {
  0% { height: 4px; }
  100% { height: 16px; }
}

/* HEADER */
.main-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7, 10, 18, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-gold);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.crown-icon { font-size: 1.1rem; }
.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--gold-primary);
}

.btn-confetti-top {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
  transition: var(--transition-smooth);
}

.btn-confetti-top:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

/* HERO SECTION */
.hero-section {
  position: relative;
  z-index: 10;
  padding: 80px 24px 80px;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-gold);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--gold-primary);
  margin-bottom: 20px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-primary);
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-glow) 50%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 35px;
  max-width: 560px;
}

/* HERO STATS */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ACTION BUTTONS */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  color: #070a12;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-gold);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(245, 158, 11, 0.45);
}

.btn-secondary-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 26px;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-secondary-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

/* HERO 3D CARD */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card-3d {
  position: relative;
  width: 100%;
  max-width: 440px;
  perspective: 1000px;
}

.card-inner {
  position: relative;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  padding: 18px;
  box-shadow: var(--shadow-card), 0 0 50px rgba(245, 158, 11, 0.15);
  overflow: hidden;
  transition: transform 0.2s ease-out;
}

.featured-badge {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.image-wrapper {
  width: 100%;
  height: 460px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.hero-card-3d:hover .hero-main-img {
  transform: scale(1.04);
}

.card-footer-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 8px 6px;
}

.name-tag .title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-primary);
  letter-spacing: 0.5px;
}

.name-tag .sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.party-emoji {
  font-size: 1.8rem;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.party-emoji:hover {
  transform: scale(1.3) rotate(10deg);
}

/* =========================================================
   1. DUAL-ROW INFINITE PHOTO MARQUEE SECTION (ESTILO CONGRESO)
   ========================================================= */
.gallery-marquee-section {
  position: relative;
  padding: 90px 0 100px;
  background: radial-gradient(circle at 50% 30%, #111728 0%, #080c16 70%, #04060b 100%);
  border-top: 1px solid rgba(245, 158, 11, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  user-select: none;
}

.gallery-marquee-header {
  margin-bottom: 40px;
  position: relative;
  z-index: 5;
  padding: 0 24px;
}

.gallery-marquee-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 14px 0 10px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.gallery-marquee-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

.gallery-marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Gradient Fade Edges */
.gallery-marquee-wrap::before,
.gallery-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 10;
  pointer-events: none;
}

.gallery-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, #04060b 0%, transparent 100%);
}

.gallery-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, #04060b 0%, transparent 100%);
}

.gallery-marquee-row {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

.gallery-marquee-row.row-right {
  animation: marqueeScrollRight 40s linear infinite;
}

.gallery-marquee-row.row-left {
  animation: marqueeScrollLeft 40s linear infinite;
}

.gallery-marquee-wrap:hover .gallery-marquee-row {
  animation-play-state: paused;
}

@keyframes marqueeScrollRight {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeScrollLeft {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.marquee-gallery-card {
  position: relative;
  width: clamp(280px, 28vw, 400px);
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.marquee-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.marquee-gallery-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.35);
}

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

.marquee-card-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 4;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.marquee-card-badge span {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.5px;
}

/* =========================================================
   2. STICKY STACKING CARDS ON SCROLL (ESTILO CONGRESO)
   ========================================================= */
.pillars-stack-section {
  position: relative;
  z-index: 10;
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px 24px;
}

.pillars-stack-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 40px;
}

.pillar-stack-card {
  position: sticky;
  background: #0b1120;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
  transition: var(--transition-smooth);
}

.pillar-card-1 {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 30px rgba(56, 189, 248, 0.15);
}

.pillar-card-2 {
  border-color: rgba(248, 250, 252, 0.4);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 30px rgba(255, 255, 255, 0.12);
}

.pillar-card-3 {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 35px rgba(245, 158, 11, 0.2);
}

.pillar-card-4 {
  border-color: rgba(236, 72, 153, 0.45);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 35px rgba(236, 72, 153, 0.2);
}

/* Header inside Stacking Card */
.pillar-stack-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.pillar-header-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.pillar-stack-num {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--cyan-accent);
  letter-spacing: -0.02em;
}

.pillar-card-2 .pillar-stack-num { color: #f8fafc; }
.pillar-card-3 .pillar-stack-num { color: var(--gold-primary); }
.pillar-card-4 .pillar-stack-num { color: var(--pink-accent); }

.pillar-header-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pillar-stack-category {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan-accent);
}

.pillar-card-2 .pillar-stack-category { color: #f8fafc; }
.pillar-card-3 .pillar-stack-category { color: var(--gold-glow); }
.pillar-card-4 .pillar-stack-category { color: var(--pink-accent); }

.pillar-stack-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #FFFFFF;
  letter-spacing: 0.01em;
  margin: 0;
}

.pillar-stack-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--cyan-accent);
  color: var(--cyan-accent);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: var(--transition-smooth);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}

.pillar-stack-btn:hover {
  background: var(--cyan-accent);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4);
}

.pillar-card-2 .pillar-stack-btn { border-color: #f8fafc; color: #f8fafc; }
.pillar-card-2 .pillar-stack-btn:hover { background: #f8fafc; color: #000; }

.pillar-card-3 .pillar-stack-btn { border-color: var(--gold-primary); color: var(--gold-primary); }
.pillar-card-3 .pillar-stack-btn:hover { background: var(--gold-primary); color: #000; box-shadow: var(--shadow-gold); }

.pillar-card-4 .pillar-stack-btn { border-color: var(--pink-accent); color: var(--pink-accent); }
.pillar-card-4 .pillar-stack-btn:hover { background: var(--pink-accent); color: #fff; box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4); }

/* Grid inside Stacking Card */
.pillar-stack-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  align-items: stretch;
}

.pillar-stack-left-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar-mini-photo {
  position: relative;
  height: 165px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.pillar-mini-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pillar-mini-photo:hover img { transform: scale(1.08); }

.pillar-photo-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-glass);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.pillar-photo-badge span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-white);
}

.pillar-stack-right-col {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 350px;
  cursor: pointer;
}

.pillar-stack-right-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pillar-stack-right-col:hover img { transform: scale(1.06); }

.pillar-main-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(7, 10, 18, 0.95) 0%, rgba(7, 10, 18, 0.8) 60%, transparent 100%);
  z-index: 3;
}

.pillar-main-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 6px;
}

.pillar-main-overlay p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================================
   3. GALLERY SECTION WITH FILTERS & LIGHTBOX
   ========================================================= */
.gallery-section,
.wishes-section,
.toast-section {
  position: relative;
  z-index: 10;
  max-width: 1240px;
  margin: 0 auto;
  padding: 90px 24px;
}

.section-header {
  margin-bottom: 45px;
}

.text-center { text-align: center; }

.section-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--cyan-accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* FILTER TABS */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.tab-btn {
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  color: var(--text-white);
  border-color: var(--border-gold);
  background: rgba(30, 41, 59, 0.8);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #070a12;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* GALLERY GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.gallery-item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.2);
}

.item-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.item-img-box {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
  background: #111827;
}

.item-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.item-overlay {
  padding: 20px;
  background: linear-gradient(to top, rgba(11, 15, 25, 0.95), rgba(17, 24, 39, 0.8));
  border-top: 1px solid var(--border-glass);
}

.overlay-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.overlay-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-white);
}

.overlay-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================================
   4. WISHES WALL
   ========================================================= */
.wishes-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  align-items: start;
}

.wish-form-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--gold-primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(7, 10, 18, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.emoji-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.emoji-pick-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.emoji-pick-btn:hover,
.emoji-pick-btn.active {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--gold-primary);
  transform: scale(1.15);
}

.btn-submit-wish {
  width: 100%;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  border: none;
  color: #070a12;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: var(--transition-smooth);
}

.btn-submit-wish:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.45);
}

.wishes-feed {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 8px;
}

.wishes-feed::-webkit-scrollbar { width: 6px; }
.wishes-feed::-webkit-scrollbar-thumb { background: rgba(245, 158, 11, 0.3); border-radius: 4px; }

.wish-item-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 16px;
  transition: var(--transition-smooth);
  animation: fadeInWish 0.5s ease-out;
}

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

.wish-item-card:hover {
  border-color: var(--border-gold);
  transform: translateX(4px);
}

.wish-avatar-emoji {
  width: 48px;
  height: 48px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.wish-body { flex: 1; }

.wish-header-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.wish-author {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-white);
}

.wish-time {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.wish-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================================
   4.5 VIDEO SHOWCASE SECTION
   ========================================================= */
.video-section {
  position: relative;
  z-index: 10;
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 24px 60px;
}

.video-container {
  max-width: 780px;
  margin: 0 auto;
}

.video-card-wrapper {
  position: relative;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card), 0 0 50px rgba(245, 158, 11, 0.2);
}

.video-player-box {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000000;
  aspect-ratio: 9 / 16;
  max-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-player-box video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.video-footer-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 8px 4px;
  flex-wrap: wrap;
  gap: 10px;
}

.video-badge {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.video-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* =========================================================
   5. SPONSORS SECTION (ESTE CUMPLEAÑOS LLEGA GRACIAS A)
   ========================================================= */
.sponsors-section {
  position: relative;
  z-index: 10;
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 24px 100px;
}

.sponsors-card-banner {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.92), rgba(17, 24, 39, 0.98));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-card), 0 0 60px rgba(245, 158, 11, 0.18);
  position: relative;
  overflow: hidden;
}

.sponsors-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-primary);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.sponsors-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.sponsors-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 40px;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 45px;
  text-align: left;
}

.sponsor-card {
  background: rgba(11, 15, 25, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.sponsor-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 158, 11, 0.2);
}

.sponsor-img-wrapper {
  width: 100%;
  height: 220px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}

.sponsor-img.logo-contain {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  background: #ffffff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.sponsor-img.photo-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  transition: transform 0.5s ease;
}

.sponsor-card:hover .sponsor-img.photo-cover {
  transform: scale(1.06);
}

.sponsor-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sponsor-tag {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold-primary);
  letter-spacing: 0.5px;
}

.sponsor-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-white);
}

.sponsor-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.sponsors-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary-gold.big,
.btn-secondary-glass.big {
  padding: 18px 36px;
  font-size: 1.15rem;
}

/* LIGHTBOX MODAL */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1001;
  max-width: 800px;
  width: 90%;
  background: #0f172a;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-dialog {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  background: var(--gold-primary);
  color: #000;
}

.lightbox-img-wrapper {
  width: 100%;
  max-height: 520px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #070a12;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.lightbox-caption {
  padding: 16px 8px 6px;
}

.lightbox-caption h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 4px;
}

.lightbox-caption p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* TOAST NOTIFICATION */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-gold);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon { font-size: 1.4rem; }
.toast-msg {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-white);
}

/* FOOTER */
.main-footer {
  border-top: 1px solid var(--border-glass);
  background: #05080e;
  padding: 40px 24px;
  text-align: center;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold-primary);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.btn-mini-confetti {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-mini-confetti:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--border-gold);
  color: var(--gold-primary);
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .pillar-stack-grid {
    grid-template-columns: 1fr;
  }
  .pillar-stack-right-col {
    min-height: 260px;
  }
  .wishes-container {
    grid-template-columns: 1fr;
  }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.3rem; }
  .section-title { font-size: 1.8rem; }
  .toast-heading { font-size: 1.6rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .image-wrapper { height: 360px; }
  .music-floating-card { bottom: 16px; left: 16px; }
  .btn-primary-gold, .btn-secondary-glass { width: 100%; justify-content: center; }
  .pillar-stack-card { padding: 20px; }
}
