/* ===========================
   RESET & ROOT
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --white:      #FFFFFF;
  --off-white:  #FAF8F4;
  --cream:      #F5F0E8;
  --gold:       #2C5F8A;
  --gold-light: #4A90C4;
  --gold-pale:  #D6E8F5;
  --black:      #0A0A0A;
  --black-soft: #1A1A1A;
  --gray:       #888888;
  --gray-light: #CCCCCC;
  --border:     rgba(44,95,138,0.25);
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'EB Garamond', Georgia, serif;
  background: var(--off-white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}

/* ===========================
   VIDEO SCREEN
   =========================== */
.video-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* YouTube container - cubre toda la pantalla */
.yt-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none; /* evita que el usuario interactúe con el iframe */
  overflow: hidden;
}

.yt-container iframe {
  /* truco para cubrir pantalla completa y ocultar bordes de YT */
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  min-height: 100vh;
  min-width: 177.78vh; /* 16:9 */
  transform: translate(-50%, -50%);
  border: none;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
  pointer-events: none;
}

/* Video Fallback (when no video file) */
.video-fallback {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  color: var(--white);
  animation: fadeIn 1.5s ease forwards;
}

.vf-ornament {
  font-size: 24px;
  color: #4A90C4;
  margin: 20px 0;
  animation: pulse 3s ease infinite;
}

.vf-sub {
  font-family: 'Cinzel', serif;
  font-size: clamp(10px, 2vw, 13px);
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #4A90C4;
  margin-bottom: 24px;
}

.vf-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 11vw, 110px);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 8px;
}

.vf-names span {
  font-style: italic;
  color: #4A90C4;
  font-size: 0.7em;
  display: block;
}

.vf-date {
  font-family: 'Cinzel', serif;
  font-size: clamp(14px, 2.5vw, 18px);
  letter-spacing: 8px;
  color: #4A90C4;
  margin-top: 20px;
}

.skip-btn {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 10;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 2px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.skip-btn:hover {
  background: rgba(44,95,138,0.3);
  border-color: var(--gold-light);
}

/* video exit */
.video-screen.exit {
  animation: videoExit 1.2s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes videoExit {
  0% { opacity: 1; clip-path: inset(0); }
  100% { opacity: 0; clip-path: inset(0 0 100% 0); }
}

/* ===========================
   INTRO
   =========================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none; /* shown after video */
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  overflow: hidden;
}

.intro.show {
  display: flex;
  animation: fadeIn 0.8s ease forwards;
}

.intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(44,95,138,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(44,95,138,0.05) 0%, transparent 50%);
}

.intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.intro-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: clamp(9px, 1.5vw, 11px);
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

.intro-names {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.intro-name1 {
  font-size: clamp(52px, 10vw, 96px);
  color: var(--black);
  opacity: 0;
  animation: slideUp 1s ease 0.5s forwards;
}

.intro-amp {
  font-style: italic;
  font-size: clamp(28px, 5vw, 48px);
  color: var(--gold);
  opacity: 0;
  animation: fadeIn 1s ease 0.8s forwards;
  margin: -8px 0;
}

.intro-name2 {
  font-size: clamp(52px, 10vw, 96px);
  color: var(--black);
  opacity: 0;
  animation: slideUp 1s ease 1s forwards;
}

.intro-phrase {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--gray);
  font-style: italic;
  margin-top: 24px;
  opacity: 0;
  animation: fadeUp 1s ease 1.4s forwards;
}

.intro-ornament-top { margin-bottom: 16px; opacity: 0; animation: fadeIn 1s ease 0.2s forwards; }
.intro-ornament-bottom { margin-top: 20px; opacity: 0; animation: fadeIn 1s ease 1.2s forwards; }

.open-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 20px 48px;
  background: var(--black);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-family: 'Cinzel', serif;
  font-size: clamp(11px, 1.5vw, 13px);
  letter-spacing: 4px;
  text-transform: uppercase;
  border-radius: 0;
  opacity: 0;
  animation: fadeUp 1s ease 1.8s forwards;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.open-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.open-btn:hover::before {
  transform: translateX(0);
}

.open-btn span, .open-btn svg {
  position: relative;
  z-index: 1;
}

.envelope-icon {
  width: 36px;
  height: auto;
  stroke: currentColor;
}

/* exit animation */
.intro.exit {
  animation: introExit 0.8s ease forwards !important;
}

@keyframes introExit {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.05); }
}

/* ===========================
   INVITATION
   =========================== */
.invitation {
  background: var(--off-white);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.invitation.show {
  opacity: 1;
  pointer-events: auto;
}

/* ===========================
   SECTION HEADER (shared)
   =========================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2,
.section-header h3 {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: clamp(18px, 3vw, 26px);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--black);
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(250,248,244,0.92), rgba(250,248,244,0.82)),
    url("source/rings.jpg") center/cover no-repeat;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: clamp(8px, 1.5vw, 11px);
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 16px 0;
}

.hero-divider span {
  display: block;
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-light));
}

.hero-divider span:last-child {
  background: linear-gradient(to left, transparent, var(--gold-light));
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 11vw, 110px);
  font-weight: 300;
  line-height: 1;
  color: var(--black);
  letter-spacing: -1px;
}

.hero-names-display {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 3vw, 28px);
  font-style: italic;
  font-weight: 300;
  color: var(--gray);
  margin-top: 4px;
}

.hero-date {
  font-family: 'Cinzel', serif;
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: 8px;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.date-sep { color: var(--gold); }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* Floating petals */
.petal {
  position: absolute;
  width: 8px;
  height: 12px;
  background: var(--gold-light);
  border-radius: 50% 0 50% 0;
  opacity: 0.08;
  animation: floatPetal linear infinite;
}

@keyframes floatPetal {
  0% { transform: translateY(110vh) rotate(0deg); opacity: 0.08; }
  50% { opacity: 0.04; }
  100% { transform: translateY(-20vh) rotate(360deg); opacity: 0; }
}

/* ===========================
   COUNTDOWN
   =========================== */
.countdown-section {
  padding: 100px 20px;
  background: var(--white);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 20px 0 50px;
}

.cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

.cd-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 300;
  color: var(--black);
  line-height: 1;
}

.cd-label {
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

.cd-sep {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 60px);
  color: var(--gold-light);
  line-height: 1;
  padding-bottom: 16px;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 1px solid var(--black);
  color: var(--black);
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 0;
}

.ghost-btn:hover {
  background: var(--black);
  color: var(--white);
}

/* ===========================
   STORY
   =========================== */
.story {
  padding: 120px 20px;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.story::before {
  content: '"';
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 300px;
  color: rgba(44,95,138,0.05);
  line-height: 1;
  pointer-events: none;
}

.story-inner {
  max-width: 680px;
  margin: auto;
  text-align: center;
  position: relative;
}

.story-ornament {
  margin-bottom: 24px;
}

.story-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(18px, 3vw, 24px);
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 400;
}

.story-rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 20px auto;
}

.story-text {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 2;
  color: #444;
  font-style: italic;
}

/* ===========================
   GALLERY
   =========================== */
/* ===========================
   CAROUSEL
   =========================== */
.gallery {
  padding: 60px 0 100px;
  background: var(--off-white);
}

.carousel-wrapper {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  background: var(--off-white);
}

.carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 1066/1600;
  max-height: 85vh;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s ease;
  transform: scale(1.03);
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.carousel-slide.exit {
  opacity: 0;
  transform: scale(0.97);
  z-index: 0;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: grayscale(10%);
  transition: filter 0.9s ease;
  background: var(--off-white);
}

.carousel-slide.active img {
  filter: grayscale(0%);
}

/* Prev / Next buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.9);
  border: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--black);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  border-radius: 50%;
}

.carousel-btn:hover {
  background: var(--black);
  color: var(--white);
}

.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--white);
  width: 22px;
  border-radius: 3px;
}

/* Counter */
.carousel-counter {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  font-family: "Cinzel", serif;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.25);
  padding: 5px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* Progress bar */
.carousel-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold-light);
  animation: carouselProgress 4s linear infinite;
  z-index: 10;
}

@keyframes carouselProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ===========================
   DRESSCODE
   =========================== */
.dresscode {
  padding: 120px 20px;
  background: var(--white);
  text-align: center;
}

.dress-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 50px;
  flex-wrap: wrap;
}

.dress-card {
  padding: 50px 60px;
  max-width: 280px;
  text-align: center;
  position: relative;
}

.dress-icon {
  width: 50px;
  height: 65px;
  margin: 0 auto 20px;
}

.dress-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 400;
  margin-bottom: 10px;
}

.dress-card p {
  font-size: 16px;
  color: var(--gray);
  font-style: italic;
  line-height: 1.6;
}

.dress-card-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--gold);
  font-size: 20px;
}

.dress-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-size: 14px;
  color: var(--gray);
  font-style: italic;
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 2px;
}

/* ===========================
   TIMELINE
   =========================== */
.timeline {
  padding: 120px 20px;
  background: var(--black);
  text-align: center;
}

.timeline .section-header h2 {
  color: var(--white);
}

.timeline .section-icon {
  stroke: var(--gold);
}

.timeline-container {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.1);
  transform: translateX(-50%);
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--gold-light);
  transition: height 0.15s ease-out;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  margin-bottom: 60px;
  position: relative;
}

.timeline-item.tl-right {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 40px);
}

.timeline-node {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px 28px;
  text-align: left;
  max-width: 280px;
  transition: border-color 0.3s;
}

.tl-right .timeline-card {
  text-align: left;
}

.timeline-item:hover .timeline-card {
  border-color: rgba(44,95,138,0.3);
}

.tl-time {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

.timeline-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 4px;
}

.timeline-card h3 i {
  color: var(--gold);
  margin-right: 6px;
}

.timeline-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid rgba(44,95,138,0.4);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}

.map-btn:hover {
  background: var(--gold);
  color: var(--black);
}

/* ===========================
   GIFTS
   =========================== */
.gifts {
  padding: 120px 20px;
  background: var(--cream);
  text-align: center;
}

.gift-message {
  max-width: 480px;
  margin: 0 auto 40px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.8;
  color: var(--gray);
  font-style: italic;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--black);
  color: var(--white);
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.primary-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.primary-btn:hover::after {
  width: 100%;
}

.primary-btn:hover {
  background: var(--black-soft);
}

/* ===========================
   RSVP
   =========================== */
.rsvp {
  padding: 140px 20px;
  background:
    linear-gradient(rgba(250,248,244,0.96), rgba(250,248,244,0.96)),
    url("source/rings.jpg") center/cover;
  text-align: center;
}

.rsvp-inner {
  max-width: 600px;
  margin: auto;
}

.rsvp-ornament {
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 8px;
  margin-bottom: 30px;
}

.rsvp h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 300;
  color: var(--black);
  margin-bottom: 16px;
}

.rsvp-sub {
  font-size: 15px;
  color: var(--gray);
  font-style: italic;
  margin-bottom: 40px;
}

.whatsapp-btn {
  background: var(--black);
}

.whatsapp-btn:hover {
  background: #075E54;
}

/* ===========================
   FOOTER
   =========================== */
.wedding-footer {
  padding: 60px 20px;
  background: var(--black);
  text-align: center;
}

.footer-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
}

.footer-date {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 6px;
  color: var(--gold);
  margin-top: 10px;
}

.footer-note {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  margin-top: 16px;
  font-style: italic;
}

/* ===========================
   MODALS
   =========================== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
  padding: 20px;
}

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

.modal-content {
  background: var(--white);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  border-top: 3px solid var(--gold);
  position: relative;
  animation: modalIn 0.3s ease;
}

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

.modal-header { text-align: center; margin-bottom: 30px; }

.modal-header h2 {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 400;
}

.modal-rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 12px auto 0;
}

.modal-content input {
  width: 100%;
  padding: 14px 16px;
  margin: 8px 0;
  border: 1px solid var(--gray-light);
  border-radius: 0;
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  color: var(--black);
  background: var(--off-white);
  outline: none;
  transition: border-color 0.3s;
}

.modal-content input:focus {
  border-color: var(--gold);
}

.modal-question {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  margin: 20px 0 10px;
  text-align: center;
}

.attendance-options {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 10px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
  color: var(--black);
}

.radio-label input { accent-color: var(--gold); }

.modal-desc {
  font-size: 15px;
  color: var(--gray);
  font-style: italic;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.6;
}

.modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn-confirm {
  padding: 12px 28px;
  background: var(--black);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: background 0.3s;
}

.btn-confirm:hover { background: var(--gold); }

.btn-close {
  padding: 12px 28px;
  background: transparent;
  color: var(--gray);
  border: 1px solid var(--gray-light);
  cursor: pointer;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.btn-close:hover { border-color: var(--black); color: var(--black); }

#companionsContainer { display: none; }

/* Calendar options */
.calendar-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.calendar-options a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--gray-light);
  text-decoration: none;
  color: var(--black);
  font-size: 15px;
  transition: all 0.2s;
}

.calendar-options a:hover {
  border-color: var(--gold);
  background: var(--off-white);
}

.calendar-options a i { color: var(--gold); font-size: 18px; }

/* Gift options */
.gift-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.gift-options a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--gray-light);
  text-decoration: none;
  color: var(--black);
  font-size: 15px;
  transition: all 0.2s;
  cursor: pointer;
}

.gift-options a:hover {
  border-color: var(--gold);
  background: var(--off-white);
}

.gift-options a i { color: var(--gold); font-size: 18px; }

/* Bank data */
.bank-data {
  background: var(--off-white);
  padding: 24px;
  margin: 16px 0;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.bank-row:last-child { border-bottom: none; }
.bank-row span { color: var(--gray); }
.bank-row strong { color: var(--black); }

.clabe-row strong {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 1px;
}

/* ===========================
   MUSIC BUTTON
   =========================== */
.music-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: all 0.3s;
}

.music-btn:hover {
  background: var(--gold);
  transform: scale(1.1);
}

.music-btn.playing {
  animation: musicPulse 2s ease infinite;
}

@keyframes musicPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
  50% { box-shadow: 0 4px 30px rgba(74,144,196,0.5); }
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.6; }
}

/* ===========================
   SCROLL REVEAL
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  .cd-item { padding: 0 12px; }
  .cd-num { font-size: 40px; }

  .timeline-line { left: 20px; }

  .timeline-item,
  .timeline-item.tl-right {
    padding-left: 50px;
    padding-right: 0;
    justify-content: flex-start;
  }

  .timeline-node {
    left: 20px;
    transform: translateX(-50%);
  }

  .timeline-card { max-width: 100%; }

  .dress-cards { flex-direction: column; align-items: center; }
  .dress-card-divider { padding: 5px; }

  .modal-content { padding: 28px 20px; }

  .skip-btn { bottom: 20px; right: 20px; padding: 10px 18px; font-size: 10px; }
}
