/* VARIABLES */
:root {
  --hot-pink: #ff007f;
  --bubblegum: #ff66b2;
  --light-pink: #ffe6f2;
  --white: #ffffff;
  --dark: #333333;
  --font-body: 'Montserrat', sans-serif;
  --font-cursive: 'Satisfy', cursive;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--light-pink);
  color: var(--dark);
  line-height: 1.6;
}

/* UTILITIES */
.text-pink { color: var(--hot-pink); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

.section { padding: 60px 20px; }
.container { max-width: 600px; margin: 0 auto; }
.section-title { font-size: 2.2rem; margin-bottom: 30px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.cursive-title { font-family: var(--font-cursive); }

/* OVERLAY */
.music-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  background: var(--hot-pink) url('glitter.png') repeat center/cover;
  z-index: 9999;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  transition: opacity 0.5s ease;
  padding: 20px;
}
.music-overlay.hidden { opacity: 0; pointer-events: none; }

/* GLOBAL MUSIC TOGGLE */
.music-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--hot-pink);
  color: var(--white);
  border: 3px solid var(--white);
  box-shadow: 0 4px 15px rgba(255,0,127,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9000;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.3s ease;
}
.music-toggle.visible { opacity: 1; pointer-events: auto; }
.music-spin { animation: spin 3s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--hot-pink);
  color: var(--white);
  box-shadow: 0 6px 0 #cc0066;
}
.btn-primary:active { transform: translateY(6px); box-shadow: 0 0 0 transparent; }
.btn-secondary {
  background: var(--white);
  color: var(--hot-pink);
  border: 3px solid var(--hot-pink);
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  background: url('hero.png') center/cover;
}
.hero-content {
  background: rgba(255,255,255,0.9);
  padding: 40px 20px;
  border-radius: 30px;
  border: 5px solid var(--bubblegum);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 450px;
}
.badge {
  background: var(--hot-pink);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 900;
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.hero-name {
  font-size: 5rem;
  color: var(--hot-pink);
  margin-bottom: 5px;
  line-height: 1.1;
}
.hero-date {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 25px;
}

/* SECTIONS */
.bg-light-pink { background-color: var(--light-pink); }
.bg-white { background-color: var(--white); }
.bg-glitter { background: var(--hot-pink) url('glitter.png') repeat center/cover; }

/* COUNTDOWN */
.countdown {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}
.time-box {
  background: rgba(255,255,255,0.2);
  border: 2px solid var(--white);
  border-radius: 15px;
  padding: 15px 10px;
  min-width: 75px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  backdrop-filter: blur(5px);
}
.time-box .number { display: block; font-size: 2.5rem; font-weight: 900; color: var(--white); line-height: 1; }
.time-box .label { display: block; font-size: 0.9rem; text-transform: uppercase; font-weight: 700; color: var(--white); margin-top: 5px; }

/* CARDS */
.card {
  background: var(--white);
  border-radius: 20px;
  padding: 30px 20px;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px rgba(255,102,178,0.2);
  border: 3px solid var(--bubblegum);
  text-align: center;
}
.card-icon {
  background: var(--light-pink);
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex; justify-content: center; align-items: center;
  margin: 0 auto 15px;
  color: var(--hot-pink);
}
.card-icon svg { width: 35px; height: 35px; }
.card h3 { font-size: 1.5rem; color: var(--hot-pink); margin-bottom: 10px; font-weight: 900; }

.grid-2 { display: grid; gap: 20px; }
@media(min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* TALLES */
.talle-box {
  background: var(--light-pink);
  border-radius: 10px;
  padding: 10px;
  margin-top: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--dark);
}

/* FORM */
.rsvp-form { background: rgba(255,255,255,0.15); padding: 30px; border-radius: 20px; border: 2px solid var(--white); backdrop-filter: blur(5px); }
.rsvp-form input, .rsvp-form select {
  width: 100%; padding: 15px; margin-bottom: 15px;
  border: 2px solid var(--white); border-radius: 50px;
  font-family: var(--font-body); font-size: 1rem;
  background: rgba(255,255,255,0.9);
}

/* FOOTER */
.footer { padding: 40px 20px; }

/* ANIMATIONS */
.bounce-hover:hover { transform: scale(1.05); }
.pulse-anim { animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
