/* =============================================
   ÁUREA 70 ANOS - Landing Page
   Tema: Dourado Elegante
   ============================================= */

:root {
  --gold: #D4AF37;
  --gold-light: #F5E6B8;
  --gold-lighter: #FFF8E7;
  --gold-dark: #996515;
  --gold-deep: #7B5B00;
  --bg-dark: #0C0B08;
  --bg-section: #100F0A;
  --bg-card: #1A1810;
  --text-light: #FFF8E7;
  --text-muted: #BDB49E;
  --white: #ffffff;
}

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

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

body {
  font-family: 'Raleway', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   PARTICLES
   ============================================= */

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(-10vh) scale(1);
  }
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    var(--bg-dark);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="rgba(212,175,55,0.03)"/><circle cx="75" cy="75" r="0.5" fill="rgba(212,175,55,0.03)"/><circle cx="50" cy="10" r="0.3" fill="rgba(212,175,55,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

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

.hero-subtitle {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.hero-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { text-shadow: 0 0 40px rgba(212, 175, 55, 0.3); }
  50% { text-shadow: 0 0 60px rgba(212, 175, 55, 0.5), 0 0 120px rgba(212, 175, 55, 0.2); }
}

.hero-age {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin: -10px 0 10px;
}

.age-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 15vw, 10rem);
  font-weight: 700;
  background: linear-gradient(180deg, #F5E6B8 0%, #D4AF37 40%, #996515 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.age-text {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--gold);
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 40px;
  letter-spacing: 2px;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}

.countdown-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  min-width: 60px;
  text-align: center;
}

.countdown-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-top: 4px;
}

.countdown-separator {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--gold-dark);
  margin-top: -12px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid var(--gold-dark);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator span::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  left: 50%;
  transform: translateX(-50%);
  top: 6px;
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { top: 6px; opacity: 1; }
  100% { top: 24px; opacity: 0; }
}

/* =============================================
   BUTTONS
   ============================================= */

.btn-gold {
  display: inline-block;
  padding: 16px 48px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-dark);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border: 1px solid var(--gold-dark);
  color: var(--gold-light);
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold);
  color: var(--gold);
}

/* =============================================
   SECTION DIVIDER
   ============================================= */

.section-divider {
  text-align: center;
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

.section-divider svg {
  width: 200px;
  height: 20px;
  opacity: 0.6;
}

/* =============================================
   SECTION TITLES
   ============================================= */

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.title-decoration {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 600;
  color: var(--gold);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.title-decoration::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* =============================================
   QUOTE SECTION
   ============================================= */

.quote-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
  background: radial-gradient(ellipse at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.quote-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 50px 40px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 4px;
  background: rgba(26, 24, 16, 0.6);
  backdrop-filter: blur(10px);
  position: relative;
}

.quote-card::before,
.quote-card::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border-color: var(--gold-dark);
}

.quote-card::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid;
  border-left: 2px solid;
  border-color: var(--gold-dark);
}

.quote-card::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid;
  border-right: 2px solid;
  border-color: var(--gold-dark);
}

.quote-icon {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 16px;
  opacity: 0.5;
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.quote-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 20px;
}

.quote-gratitude {
  font-family: 'Great Vibes', cursive;
  font-size: 1.8rem;
  color: var(--gold);
}

/* =============================================
   TIMELINE SECTION
   ============================================= */

.timeline-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

/* Vintage photos grid */
.vintage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto 70px;
}

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

.vintage-photo {
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.15);
  transition: all 0.4s ease;
  position: relative;
}

.vintage-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.vintage-photo:hover {
  border-color: var(--gold);
  transform: scale(1.03) rotate(-1deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.vintage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(30%) saturate(0.7) contrast(1.05);
  transition: filter 0.4s ease;
}

.vintage-photo:hover img {
  filter: sepia(10%) saturate(0.85);
}

.vintage-caption {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .vintage-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 50px;
  }

  .vintage-caption {
    font-size: 0.78rem;
  }
}

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

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-dark), var(--gold-dark), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item.reverse {
  flex-direction: row-reverse;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--bg-dark);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
  z-index: 2;
}

.timeline-photo {
  flex: 0 0 calc(50% - 40px);
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.2);
  transition: all 0.4s ease;
  aspect-ratio: 4/3;
}

.timeline-photo:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.15);
  transform: scale(1.02);
}

.timeline-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(15%) saturate(0.9);
  transition: filter 0.4s ease;
}

.timeline-photo img.photo-top {
  object-position: center 20%;
}

.timeline-photo:hover img {
  filter: sepia(0%) saturate(1);
}

.timeline-text {
  flex: 0 0 calc(50% - 40px);
}

.timeline-caption {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-light);
  line-height: 1.6;
}

.timeline-item .timeline-text {
  text-align: right;
}

.timeline-item.reverse .timeline-text {
  text-align: left;
}

@media (max-width: 768px) {
  .timeline-line {
    left: 20px;
  }

  .timeline-item,
  .timeline-item.reverse {
    flex-direction: column;
    padding-left: 50px;
    gap: 16px;
  }

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

  .timeline-photo {
    flex: none;
    width: 100%;
  }

  .timeline-text {
    flex: none;
    width: 100%;
  }

  .timeline-item .timeline-text,
  .timeline-item.reverse .timeline-text {
    text-align: left;
  }

  .timeline-caption {
    font-size: 1rem;
  }
}

/* =============================================
   DETAILS SECTION
   ============================================= */

.details-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.detail-card {
  text-align: center;
  padding: 40px 30px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(26, 24, 16, 0.8) 0%, rgba(12, 11, 8, 0.8) 100%);
  transition: all 0.4s ease;
}

.detail-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.detail-icon {
  margin-bottom: 20px;
  opacity: 0.8;
}

.detail-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 16px;
}

.detail-info {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.detail-highlight {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--gold-light);
  font-weight: 600;
  margin: 4px 0;
}

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

/* =============================================
   RSVP SECTION
   ============================================= */

.rsvp-section {
  padding: 80px 0 100px;
  position: relative;
  z-index: 1;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(212, 175, 55, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(212, 175, 55, 0.06) 0%, transparent 60%);
}

.rsvp-subtitle {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-top: -30px;
  margin-bottom: 8px;
}

.rsvp-deadline {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.rsvp-deadline strong {
  color: var(--gold);
}

.rsvp-form-wrapper {
  max-width: 580px;
  margin: 0 auto;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-light);
  font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  background: rgba(26, 24, 16, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 4px;
  color: var(--text-light);
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(189, 180, 158, 0.5);
}

.form-group select {
  cursor: pointer;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23D4AF37" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.btn-submit {
  margin-top: 10px;
  width: 100%;
  text-align: center;
  font-size: 1rem;
}

.btn-text,
.btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-loading.hidden {
  display: none;
}

.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Guest list */
.guests-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guest-row {
  display: flex;
  gap: 8px;
  align-items: center;
  animation: fadeInUp 0.3s ease;
}

.guest-row input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(26, 24, 16, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 4px;
  color: var(--text-light);
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.guest-row input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.guest-row input::placeholder {
  color: rgba(189, 180, 158, 0.5);
}

.btn-remove-guest {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(231, 76, 60, 0.3);
  background: transparent;
  color: #e74c3c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.btn-remove-guest:hover {
  background: rgba(231, 76, 60, 0.15);
  border-color: #e74c3c;
}

.btn-add-guest {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  border: 1px dashed rgba(212, 175, 55, 0.3);
  color: var(--gold-light);
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 4px;
}

.btn-add-guest:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
  color: var(--gold);
}

/* Form divider "ou" */
.form-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 4px 0;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(212, 175, 55, 0.15);
}

.form-divider span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* WhatsApp button */
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 32px;
  background: transparent;
  border: 1px solid #25D366;
  color: #25D366;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
}

/* Success message */
.success-message {
  text-align: center;
  padding: 60px 30px;
  animation: fadeInUp 0.6s ease;
}

.success-message.hidden {
  display: none;
}

.success-icon {
  margin-bottom: 24px;
  animation: scaleIn 0.5s ease 0.2s both;
}

@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-message h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.success-message p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1rem;
}

.success-name {
  font-family: 'Great Vibes', cursive;
  font-size: 1.5rem !important;
  color: var(--gold-light) !important;
  margin-top: 16px;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  padding: 50px 0 40px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  position: relative;
  z-index: 1;
}

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

.footer-name {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  color: var(--gold);
}

.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-divider {
  width: 40px;
  height: 1px;
  background: rgba(212, 175, 55, 0.3);
  margin: 16px auto;
}

.footer-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 2px;
}

/* =============================================
   ANIMATIONS
   ============================================= */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.2s; }
.fade-in:nth-child(2) { animation-delay: 0.4s; }
.fade-in:nth-child(3) { animation-delay: 0.6s; }
.fade-in:nth-child(4) { animation-delay: 0.8s; }
.fade-in:nth-child(5) { animation-delay: 1.0s; }
.fade-in:nth-child(6) { animation-delay: 1.2s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
  html {
    font-size: 18px;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    letter-spacing: 4px;
  }

  .hero-tagline {
    font-size: 1.2rem;
  }

  .countdown {
    gap: 4px;
  }

  .countdown-item {
    min-width: 55px;
  }

  .countdown-number {
    font-size: 2.2rem;
  }

  .countdown-separator {
    font-size: 1.5rem;
  }

  .countdown-label {
    font-size: 0.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .quote-card {
    padding: 40px 24px;
    margin: 0 8px;
  }

  .quote-text {
    font-size: 1.3rem;
  }

  .quote-gratitude {
    font-size: 1.6rem;
  }

  .detail-card {
    padding: 30px 24px;
  }

  .detail-info {
    font-size: 1.05rem;
  }

  .detail-highlight {
    font-size: 1.3rem;
  }

  .detail-title {
    font-size: 0.85rem;
  }

  .rsvp-subtitle {
    font-size: 1.2rem;
  }

  .rsvp-deadline {
    font-size: 1rem;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input[type="text"],
  .form-group input[type="tel"],
  .form-group textarea,
  .form-group select {
    font-size: 1.1rem;
    padding: 16px 18px;
  }

  .timeline-caption {
    font-size: 1.1rem;
  }

  .rsvp-section {
    padding: 60px 0 80px;
  }

  .btn-gold {
    font-size: 1rem;
    padding: 16px 40px;
  }

  .btn-whatsapp {
    font-size: 1rem;
    padding: 16px 32px;
  }

  .success-message h3 {
    font-size: 1.6rem;
  }

  .success-message p {
    font-size: 1.05rem;
  }

  .error-message {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 18px;
  }

  .hero-subtitle {
    font-size: 1rem;
    letter-spacing: 3px;
  }

  .countdown-item {
    min-width: 50px;
  }

  .countdown-number {
    font-size: 1.8rem;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   UTILITY
   ============================================= */

/* Form validation */
.input-error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15) !important;
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.error-message {
  font-size: 0.78rem;
  color: #e74c3c;
  margin-top: 2px;
}

/* Music button */
.music-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--gold-dark);
  background: rgba(12, 11, 8, 0.85);
  backdrop-filter: blur(10px);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: all 0.3s ease;
}

.music-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
  transform: scale(1.1);
}

.music-btn.playing {
  border-color: var(--gold);
  animation: pulse-music 2s ease-in-out infinite;
}

@keyframes pulse-music {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.3); }
  50% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
}

.hidden {
  display: none !important;
}
