:root {
  --azul: #87ceeb;
  --negro: #1a1a1a;
  --blanco: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Montserrat", sans-serif;
  background: var(--blanco);
  color: var(--negro);
  text-align: center;
}

/* TEXTURA */
.background-texture {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.03;
}

/* HERO COMPLETO */
#hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

.hero-body {
  position: relative;
  z-index: 2;
  color: white;
  width: 100%;
  padding: 20px;
}
.hero-tag {
  font-size: 0.6rem;
  letter-spacing: 5px;
  margin-bottom: 20px;
}
.script-text {
  font-family: "Xanh Mono", serif;
  font-size: 1.8rem;
  font-style: italic;
  display: block;
  text-transform: none;
  margin-bottom: -10px;
}
.hero-title h1 {
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

/* CONTADOR HERO */
.hero-timer {
  display: flex;
  justify-content: center;
  gap: 25px;
}
.t-col span {
  font-size: 1.8rem;
  font-weight: 300;
  display: block;
}
.t-col p {
  font-size: 0.5rem;
  letter-spacing: 2px;
  opacity: 0.7;
}

/* SECCIONES */
.section-content {
  padding: 80px 25px;
}
.bg-soft {
  background: #f9f9f9;
}
.title-label {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 50px;
}

.quote-serif {
  font-family: "Xanh Mono", serif;
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1.3;
  max-width: 90%;
  margin: 0 auto 30px;
}
.parents span {
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: #999;
}
.parents h3 {
  font-size: 1.2rem;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ITINERARIO */
.itinerary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}
.it-step {
  max-width: 280px;
}
.it-step i {
  font-size: 1.5rem;
  color: var(--negro);
  margin-bottom: 10px;
}
.it-hour {
  display: block;
  color: var(--azul);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 2px;
}
.it-step h3 {
  font-size: 1.1rem;
  margin: 10px 0;
  letter-spacing: 3px;
}
.it-step p {
  font-size: 0.9rem;
  color: #666;
}
.it-link {
  font-size: 0.6rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--negro);
  border-bottom: 1px solid var(--azul);
  padding-bottom: 2px;
  display: inline-block;
  margin-top: 10px;
}
.it-line {
  width: 1px;
  height: 40px;
  background: #ddd;
}

/* DRESS CODE */
.dress-icons {
  font-size: 2.2rem;
  margin: 30px 0;
  display: flex;
  justify-content: center;
  gap: 50px;
  color: #ddd;
}
.blue-text {
  color: var(--azul);
}

/* --- ESTILOS RSVP --- */
.rsvp-box {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

.btn-main {
  /* Dimensiones y Bloque */
  display: inline-block !important; /* Asegura que no se comporte como simple texto */
  min-width: 280px;
  padding: 20px 30px !important;

  /* Colores */
  background-color: #1a1a1a !important; /* Negro Mate Sólido */
  color: #ffffff !important; /* Texto Blanco */

  /* Tipografía */
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-decoration: none !important;

  /* Estilo */
  border: none;
  border-radius: 0px; /* Estilo editorial cuadrado */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); /* Sombra para que "flote" sobre el blanco */

  /* Animación */
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Efecto al tocarlo en el celular */
.btn-main:active,
.btn-main:hover {
  background-color: #333333 !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* GRID GALERÍA */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.grid-v {
  grid-row: span 2;
  height: 320px;
}
.grid-h {
  grid-column: span 2;
  height: 200px;
}

/* REPRODUCTOR DE MÚSICA */
/* SPOTIFY PLAYER */
.spotify-player {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  z-index: 1000;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.spotify-player.expanded {
  height: 450px;
  bottom: 0;
  width: 100%;
  max-width: none;
  border-radius: 20px 20px 0 0;
}

/* Estado Minimizado */
.player-minimized {
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.album-art {
  width: 45px;
  height: 45px;
  border-radius: 4px;
  object-fit: cover;
}
.track-labels {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.track-name {
  font-size: 0.85rem;
  font-weight: 600;
}
.artist-name {
  font-size: 0.7rem;
  opacity: 0.7;
}

.player-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
#play-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}
.expand-icon {
  font-size: 0.8rem;
  opacity: 0.5;
  transition: 0.3s;
}

/* Estado Expandido */
.player-expanded {
  padding: 30px;
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.spotify-player.expanded .player-expanded {
  display: flex;
}
.spotify-player.expanded .player-minimized {
  opacity: 0;
  pointer-events: none;
  height: 0;
  padding: 0;
}

.expanded-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.expanded-header p {
  font-size: 0.6rem;
  letter-spacing: 2px;
}

.big-cover {
  width: 220px;
  height: 220px;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
}
.big-info h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  text-transform: none;
}
.big-info p {
  font-size: 1rem;
  color: var(--azul);
  margin-bottom: 30px;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}
.progress-filled {
  width: 45%;
  height: 100%;
  background: var(--azul);
  border-radius: 2px;
}

/* MESA DE REGALOS */
.gift-guide {
  max-width: 600px;
  margin: 0 auto;
}

.gift-text {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
}

.gift-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.gift-card {
  padding: 30px;
  background: white;
  border: 1px solid #eee;
}

.gift-card i {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--negro);
  opacity: 0.2;
}

.gift-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.gift-card p {
  font-size: 0.85rem;
  color: #777;
}

@media (min-width: 600px) {
  .gift-options {
    grid-template-columns: 1fr 1fr;
  }
}
