:root {
  /* Paleta Pastel y Nupcial */
  --color-white: #ffffff;
  --color-bg-main: #f7f5ef;      /* Marfil muy claro */
  --color-bg-alt: #e8e1d2;       /* Blanco roto con matiz rosado */
  --color-accent: #7a8060;       /* Rosa empolvado */
  --color-accent-sec: #c1a6c7;   /* Lila suave */
  --color-gold: #8a7358;         /* Champagne / Dorado fino */
  
  --color-dark-bg: #5f6648;      /* Gris topo cálido para footer/tarjeta resumen */
  --color-text-main: #3e3e38;    /* Gris violáceo oscuro legible */
  --color-text-muted: #8a7358;
  
  --color-card-border: #e8e1d2;  /* Borde muy fino para tarjetas */
  --font-display: 'Cormorant Garamond', serif;
  --font-script: 'Great Vibes', cursive;
  --font-body: 'Montserrat', sans-serif;
}

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-display);
  font-weight: 400;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Utilidades de animación */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-right { opacity: 0; transform: translateX(-30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-left { opacity: 0; transform: translateX(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.visible { opacity: 1; transform: translate(0); }

/* Header */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 1rem 2rem; background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px); box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: box-shadow 0.3s ease;
}
header.scrolled { box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--color-text-main); letter-spacing: 2px; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--color-text-main); font-weight: 400; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1.5px; transition: color 0.3s; }
.nav-links a:hover { color: var(--color-accent); }
.menu-toggle { display: none; color: var(--color-text-main); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--color-white); z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  transform: translateY(-100%); transition: transform 0.4s ease-in-out;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { font-size: 1.8rem; color: var(--color-text-main); font-family: 'Playfair Display', serif; }
.close-menu { position: absolute; top: 2rem; right: 2rem; border: 1px solid var(--color-text-main); padding: 0.5rem; border-radius: 50%; }

/* Hero Section */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; background-attachment: fixed; }
.hero-overlay { position: absolute; inset: 0; background-color: rgba(0, 0, 0, 0.4); }
.hero-content { position: relative; z-index: 10; text-align: center; color: var(--color-white); padding: 0 1rem; width: 100%; margin-top: 2rem; animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes heroFadeIn { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }
.hero-title { font-family: var(--font-display); font-size: 5rem; margin-bottom: 0.5rem; letter-spacing: 3px; font-weight: 400; }
.hero-title span { font-family: var(--font-script); font-weight: 400; font-size: 4rem; color: var(--color-gold); }
.hero-date { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 4px; margin-bottom: 2.5rem; opacity: 0.95; }
.countdown-wrapper { background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(8px); border-radius: 20px; padding: 2rem; display: inline-block; border: 1px solid rgba(255,255,255,0.3); }
.countdown-title { font-size: 1.8rem; margin-bottom: 1.2rem; font-family: 'Playfair Display', serif; }
.countdown-timer { display: flex; justify-content: center; gap: 1.5rem; }
.time-box { background-color: rgba(255,255,255,0.9); color: var(--color-text-main); padding: 1rem 1.2rem; border-radius: 12px; min-width: 80px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.time-value { display: block; font-size: 2rem; font-weight: 300; line-height: 1; margin-bottom: 0.4rem; font-family: 'Playfair Display', serif; }
.time-label { display: block; font-size: 0.7rem; letter-spacing: 1.5px; color: var(--color-text-muted); font-weight: 500; }
.scroll-down { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: var(--color-white); animation: bounce 2s infinite; z-index: 10; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); } 40% { transform: translateY(-15px) translateX(-50%); } 60% { transform: translateY(-7px) translateX(-50%); } }

/* Resto de Secciones */
section { padding: 7rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 3.5rem; text-align: center; margin-bottom: 1rem; color: var(--color-text-main); letter-spacing: 2px; }
.section-subtitle { text-align: center; color: var(--color-text-muted); font-size: 1.15rem; margin-bottom: 4rem; }
.hearts-divider { display: flex; justify-content: center; gap: 0.6rem; margin-bottom: 2rem; color: var(--color-accent); }
.bg-white { background-color: var(--color-white); }
.bg-alt { background-color: var(--color-bg-alt); }
.bg-main { background-color: var(--color-bg-main); }
.story-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; box-shadow: 0 8px 25px rgba(0,0,0,0.04); }
.gallery-main { grid-column: 1 / 3; height: 380px; }
.gallery-sub { height: 240px; }
.moments-text { font-size: 1.25rem; font-style: italic; font-family: 'Playfair Display', serif; line-height: 1.8; text-align: center; margin-bottom: 2.5rem; color: var(--color-text-main); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.stat-card { background: var(--color-white); padding: 1.5rem; text-align: center; border-radius: 16px; border: 1px solid var(--color-card-border); box-shadow: 0 4px 12px rgba(0,0,0,0.02); transition: transform 0.3s, box-shadow 0.3s; }
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.05); }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--color-accent); margin-bottom: 0.2rem; font-weight: 400; line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--color-text-muted); font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; }

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 20px; bottom: 20px; width: 2px; background-color: var(--color-accent-sec); }
.timeline-item { position: relative; margin-bottom: 3rem; display: flex; align-items: flex-start; gap: 1.5rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-icon { width: 48px; height: 48px; background-color: var(--color-white); border: 2px solid var(--color-accent-sec); border-radius: 50%; display: flex; align-items: center; justify-content: center; position: absolute; left: -24px; top: 0; z-index: 2; color: var(--color-accent-sec); }
.timeline-content { margin-left: 2rem; }
.timeline-year { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--color-accent); font-style: italic; margin-bottom: 0.2rem; }
.timeline-title { font-size: 1.15rem; font-weight: 500; color: var(--color-text-main); }

/* Detalles */
.details-banner { width: 100%; max-width: 900px; height: 350px; object-fit: cover; border-radius: 16px; margin: 0 auto 4rem auto; display: block; box-shadow: 0 10px 30px rgba(0,0,0,0.04); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 4rem; align-items: flex-start; }
.detail-card { background: var(--color-white); border: 1px solid var(--color-card-border); border-radius: 16px; padding: 3rem 2rem; box-shadow: 0 4px 12px rgba(0,0,0,0.03); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; text-align: center; position: relative; overflow: hidden; }
.detail-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--color-gold), transparent); }
.detail-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.07); }
.card-icon { width: 64px; height: 64px; background-color: #fbf6f0; color: var(--color-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem auto; border: 1px solid var(--color-card-border); }
.card-title { font-size: 2rem; margin-bottom: 0.3rem; color: var(--color-text-main); }
.card-time { font-size: 1.1rem; color: var(--color-accent-sec); font-weight: 500; margin-bottom: 1.2rem; font-family: 'Playfair Display', serif; }
.card-place { font-weight: 600; font-size: 1.05rem; color: var(--color-text-main); margin-bottom: 0.4rem; }
.card-address { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 2rem; flex-grow: 1; }
.map-btn { width: 100%; background-color: var(--color-bg-main); color: var(--color-text-main); padding: 0.9rem 1rem; border-radius: 8px; border: 1px solid var(--color-card-border); display: flex; justify-content: space-between; align-items: center; transition: background-color 0.3s; font-weight: 500; font-size: 0.95rem; }
.map-btn:hover { background-color: var(--color-card-border); }
.map-container { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out; margin-top: 1rem; border-radius: 8px; }
.map-container.show { max-height: 400px; }
.map-container iframe { width: 100%; height: 250px; border: none; border-radius: 8px; }
.summary-card { background-color: var(--color-dark-bg); color: var(--color-white); max-width: 800px; margin: 0 auto; padding: 4rem 3rem; border-radius: 24px; text-align: center; box-shadow: 0 20px 40px rgba(109, 93, 96, 0.15); }
.summary-card .icon { margin-bottom: 1.5rem; color: var(--color-gold); }
.summary-card p { font-size: 1.15rem; margin-bottom: 0.5rem; opacity: 0.9; }
.summary-card .date-highlight { font-size: 2.2rem; font-family: 'Playfair Display', serif; font-weight: 400; margin: 1.2rem 0; color: var(--color-gold); letter-spacing: 2px; }

/* RSVP */
.rsvp-box { background: var(--color-white); max-width: 800px; margin: 0 auto; padding: 4rem; border-radius: 24px; box-shadow: 0 15px 40px rgba(0,0,0,0.03); text-align: center; border: 1px solid var(--color-card-border); }
.rsvp-text { font-size: 1.15rem; color: var(--color-text-muted); margin-bottom: 2.5rem; font-family: 'Playfair Display', serif; font-style: italic; }
.rsvp-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; background-color: var(--color-bg-alt); padding: 2rem; border-radius: 16px; margin-bottom: 3rem; text-align: left; border: 1px solid var(--color-card-border); }
.rsvp-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.rsvp-info-item svg { color: var(--color-accent); margin-top: 0.2rem; flex-shrink: 0; }
.rsvp-info-item h4 { font-family: 'Raleway', sans-serif; font-weight: 600; font-size: 0.8rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.2rem; }
.rsvp-info-item p { font-weight: 600; font-size: 1.05rem; color: var(--color-text-main); }
.btn-main { display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem; background-color: var(--color-accent); color: var(--color-white); padding: 1.1rem 2.8rem; font-size: 1.1rem; font-weight: 500; border-radius: 50px; transition: background-color 0.3s, transform 0.2s; letter-spacing: 1px; }
.btn-main:hover { background-color: #c29393; transform: scale(1.02); }
.btn-subtext { display: block; margin-top: 1rem; font-size: 0.85rem; color: var(--color-text-muted); }

/* Footer */
footer { background-color: var(--color-dark-bg); color: var(--color-white); text-align: center; padding: 6rem 2rem 3rem 2rem; }
.footer-title { font-size: 3.8rem; margin-bottom: 1.2rem; color: var(--color-gold); letter-spacing: 2px; }
.footer-date { font-size: 1.6rem; font-family: 'Playfair Display', serif; margin-bottom: 3rem; opacity: 0.9; letter-spacing: 3px; }
.social-icons { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 3rem; }
.social-icons a, .social-icons button { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: var(--color-white); background: rgba(255,255,255,0.05); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.social-icons a:hover, .social-icons button:hover { background: var(--color-gold); color: var(--color-dark-bg); border-color: var(--color-gold); }
.hashtag { font-size: 1.4rem; letter-spacing: 2px; color: var(--color-gold); margin-bottom: 1.8rem; font-family: 'Playfair Display', serif; font-style: italic; }
.upload-btn { display: inline-block; background-color: transparent; color: var(--color-white); border: 1px solid var(--color-white); padding: 0.9rem 2.5rem; border-radius: 50px; font-weight: 400; margin-bottom: 3.5rem; letter-spacing: 1px; transition: background-color 0.3s, color 0.3s; }
.upload-btn:hover { background-color: var(--color-white); color: var(--color-dark-bg); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; font-size: 0.9rem; opacity: 0.8; display: flex; justify-content: center; align-items: center; gap: 0.5rem; }

/* Responsive */
@media (max-width: 992px) { .story-layout { grid-template-columns: 1fr; } .cards-grid { grid-template-columns: 1fr; } .rsvp-info-grid { grid-template-columns: 1fr; gap: 1.5rem; } .gallery-main { height: 300px; } .gallery-sub { height: 200px; } }
@media (max-width: 768px) { section { padding: 5rem 1.5rem; } .nav-links { display: none; } .menu-toggle { display: block; padding: 0.5rem; } .hero-title { font-size: 3.5rem; } .hero-title span { font-size: 2.8rem; } .hero-date { font-size: 1.2rem; } .countdown-timer { flex-wrap: wrap; } .time-box { min-width: 70px; padding: 0.8rem; } .time-value { font-size: 1.7rem; } .section-title { font-size: 2.8rem; } .rsvp-box { padding: 3rem 1.5rem; } .footer-title { font-size: 3rem; } }
/* --- ESTILOS PARA CRONOGRAMA ZIG-ZAG (Interactivo pero 100% visible) --- */
.timeline-zigzag {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}
.timeline-zigzag::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%; width: 1px;
  background-color: var(--color-gold); /* Cenefa / Línea central */
  transform: translateX(-50%);
}
.timeline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
  cursor: pointer; /* Indica que reacciona, aunque ya se lee todo */
}
.timeline-row.left .timeline-content-box {
  text-align: right;
  padding-right: 4rem;
}
.timeline-row.right {
  flex-direction: row-reverse;
}
.timeline-row.right .timeline-content-box {
  text-align: left;
  padding-left: 4rem;
}

/* 1. Contenido visible con un respiro mínimo al interactuar */
.timeline-content-box {
  width: 50%;
/*  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); */
}
.timeline-row:hover .timeline-content-box,
.timeline-row.active .timeline-content-box {
  transform: translateY(-2px); /* Movimiento orgánico muy sutil, sin saltos */
}

/* 2. El Icono: Transición a sólido con Halo elegante */
.timeline-center-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 45px; height: 45px;
  background-color: var(--color-bg-main);
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  display: flex; justify-content: center; align-items: center;
  color: var(--color-text-muted);
  z-index: 2;
  transition: all 0.4s ease;
}
.timeline-row:hover .timeline-center-icon,
.timeline-row.active .timeline-center-icon {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 0 0 8px rgba(122, 128, 96, 0.15); /* Halo transparente / Latido */
}

/* 3. Textos (Visibles por defecto) */
.timeline-year {
  font-family: var(--font-body);
  letter-spacing: 3px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  opacity: 0.7;
  margin-bottom: 0.5rem;
  transition: all 0.5s ease;
}
.timeline-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
  transition: all 0.5s ease;
}
.timeline-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted); /* Texto más suave por defecto */
  line-height: 1.6;
  transition: color 0.5s ease;
}

/* 4. Icono Emoji (Escala de grises por defecto) */
.timeline-emoji {
  font-size: 1.5rem;
  margin-left: 8px;
  vertical-align: middle;
  opacity: 0.4;
  filter: grayscale(100%);
  display: inline-block;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
/* 4. EL EFECTO ILUMINACIÓN (Hover / Tap) */
.timeline-row:hover .timeline-title,
.timeline-row.active .timeline-title {
  color: var(--color-accent);
  text-shadow: 0 0 15px rgba(122, 128, 96, 0.35); /* Resplandor verde oliva sutil */
}
.timeline-row:hover .timeline-year,
.timeline-row.active .timeline-year,
.timeline-row:hover .timeline-desc,
.timeline-row.active .timeline-desc {
  color: #1a1a1a; /* El texto se "enciende" volviéndose más oscuro y nítido */
  opacity: 1;
}
.timeline-row:hover .timeline-emoji,
.timeline-row.active .timeline-emoji {
  opacity: 1;
  filter: grayscale(0%); /* El emoji recupera su color */
  transform: scale(1.15) rotate(5deg); /* Pequeño guiño de animación */
}
/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
  .timeline-zigzag::before {
    left: 30px;
  }
  .timeline-row.left, .timeline-row.right {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 2.5rem;
  }
  .timeline-content-box {
    width: 100%;
    text-align: left !important;
    padding-left: 70px !important;
    padding-right: 0 !important;
  }
  .timeline-center-icon {
    left: 30px;
    top: 0;
    transform: translate(-50%, 0);
  }
  .timeline-row:hover .timeline-center-icon,
  .timeline-row.active .timeline-center-icon {
    transform: translate(-50%, 0); /* Evitamos descuadres del Halo en móvil */
  }
}
/* --- NUEVOS ESTILOS PARA FORMULARIO RSVP --- */
.rsvp-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}
.form-group label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-main);
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-card-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: var(--color-white);
  color: var(--color-text-main);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(122, 128, 96, 0.1);
}
.full-width {
  grid-column: 1 / -1;
}
.form-submit {
  text-align: center;
  margin-top: 1.5rem;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
  /* Timeline Responsive */
  .timeline-zigzag::before {
    left: 30px;
  }
  .timeline-row.left, .timeline-row.right {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 2.5rem;
  }
  .timeline-content-box {
    width: 100%;
    text-align: left !important;
    padding-left: 70px !important;
    padding-right: 0 !important;
  }
  .timeline-center-icon {
    left: 30px;
    top: 0;
    transform: translate(-50%, 0);
  }
  .timeline-row:hover .timeline-center-icon,
  .timeline-row.active .timeline-center-icon {
    transform: translate(-50%, 0) scale(1.1);
  }
  /* Form Responsive */
  .rsvp-form {
    grid-template-columns: 1fr;
  }
}
/* --- NUEVA GALERÍA HISTORIA ASIMÉTRICA --- */
.history-gallery {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 6rem;
}
.hg-img {
  width: 30%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}
.hg-2 {
  transform: translateY(40px); /* Rompe la simetría hacia abajo */
}

@media (max-width: 768px) {
  .history-gallery {
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
  }
  .hg-img {
    width: 90%;
    height: 280px;
  }
  .hg-2 {
    transform: translateY(0); /* En móvil se apilan rectos */
  }
}

/* --- MODAL DE REGALO --- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(62, 62, 56, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: var(--color-white);
  padding: 3rem 2rem;
  border-radius: 12px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  border: 1px solid var(--color-border);
}
.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.3s;
}
.modal-close:hover {
  color: var(--color-danger);
}
.modal-icon {
  color: var(--color-gold);
  margin-bottom: 1rem;
}
.modal-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}
.modal-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-main);
  line-height: 1.7;
}
