/* Variables de color - Tema Morado */
:root {
    --primary-color: #8b5cf6;
    --primary-dark: #6d28d9;
    --primary-light: #a78bfa;
    --secondary-color: #c084fc;
    --accent-color: #f3e8ff;
    --text-dark: #2d1b4e;
    --text-light: #ffffff;
    --background: #faf8ff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
    --watercolor-1: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.15), transparent 50%);
    --watercolor-2: radial-gradient(circle at 70% 50%, rgba(192, 132, 252, 0.15), transparent 50%);
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--background);
    overflow-x: hidden;
    line-height: 1.6;
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Control de música flotante */
.music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.music-control.visible {
    opacity: 1;
}

.music-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    transition: all 0.3s ease;
}

.music-button:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.music-button.playing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(139, 92, 246, 0.8);
    }
}

.music-icon {
    transition: transform 0.3s ease;
}

.music-button.playing .music-icon {
    animation: musicNote 1s infinite;
}

@keyframes musicNote {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Pantalla de inicio - Cover Page */
.cover-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('fondos/rapunzel.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 60px;
    z-index: 1000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
}

/* Brillos decorativos */
.cover-page::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08), transparent 70%);
    top: -150px;
    left: -150px;
    pointer-events: none;
}

.cover-page::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.10), transparent 70%);
    bottom: -150px;
    right: -150px;
    pointer-events: none;
}

.cover-page.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Wrapper de la carta */
.envelope-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

/* Carta de invitación — oculta hasta que el usuario hace clic */
.invitation-card {
    width: 270px;
    opacity: 0;
    background: linear-gradient(170deg, #fff 0%, #fdf4ff 100%);
    border-radius: 12px;
    border: 2px solid rgba(212, 175, 55, 0.75);
    box-shadow: 0 12px 35px rgba(109, 40, 217, 0.4);
    overflow: hidden;
    position: relative;
    z-index: 2;
    margin-top: -30px;
    transition: opacity 1.5s ease;
}

.invitation-card.revealed {
    opacity: 1;
}

.card-content {
    padding: 18px 26px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.card-ornament {
    font-size: 12px;
    color: #d4af37;
    letter-spacing: 5px;
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 2px;
}

.card-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    color: #9333ea;
    letter-spacing: 2px;
    margin-top: 4px;
}

.initial-name {
    font-family: 'Great Vibes', cursive;
    font-size: 46px;
    background: linear-gradient(135deg, #6d28d9, #c026d3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin: 0;
}

.card-message {
    font-family: 'Great Vibes', cursive;
    font-size: 30px;
    color: #6d28d9;
    line-height: 1.3;
    margin: 6px 0 2px;
}

/* Botón de apertura */
.open-button {
    background: linear-gradient(135deg, #d4af37, #f5d97e);
    color: #3d0d6b;
    border: none;
    padding: 14px 42px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 32px;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

.open-button:hover {
    background: linear-gradient(135deg, #f5d97e, #d4af37);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
}

/* Corona — centrada en pantalla; se reubica encima de la carta al hacer clic */
.cover-corona-img {
    width: 225px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
    transition: top 0.9s ease, transform 0.9s ease;
}

.cover-corona-img.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Contador de lugares */
.places-counter {
    text-align: center;
    color: #3d0d6b;
    margin-top: 32px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 14px 28px;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.places-counter p {
    font-size: 11px;
    margin: 6px 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: #5a1a8f;
}

.counter-boxes {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 12px 0;
}

.counter-box {
    width: 40px;
    height: 48px;
    background: white;
    border: 2px solid #d4af37;
    color: #6d28d9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(109, 40, 217, 0.2);
}

/* Contenido principal */
.main-content {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
}

.main-content.visible {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background-image: url('fondos/fondosolo.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px 40px;
    position: relative;
    overflow: hidden;
}

/* Marco floral: flor top + banda blanca con nombre + flor bottom */
.hero-floral-frame {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.hero-flor-top {
    width: 50%;
    display: block;
    position: relative;
    z-index: 2;
}

.hero-flor-bottom {
    width: 100%;
    display: block;
    position: relative;
    z-index: 2;
}

/* Banda con el nombre — encima de las flores, costados degradados a transparente */
.hero-name-band {
    width: 100%;
    /* degradado: transparente en los bordes → blanco en el centro */
    background: linear-gradient(
        to right,
        transparent 0%,
        white 18%,
        white 82%,
        transparent 100%
    );
    padding: 28px 20px;
    text-align: center;
    margin-top: -50px;
    margin-bottom: -50px;
    position: relative;
    z-index: 3;   /* encima de las flores (z-index: 2) */
}

.hero-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(46px, 9vw, 90px);
    color: #888;
    margin: 0;
    text-shadow: none;
    line-height: 1.1;
}

/* Cuenta regresiva debajo del marco floral */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 30px;
}

.hero-divider {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(12px, 2vw, 16px);
    color: #5a2d8f;
    letter-spacing: 3px;
    margin: 30px 0;
    text-transform: uppercase;
}

/* Contador regresivo */
.countdown-timer {
    margin-top: 50px;
}

.countdown-label {
    color: #4a1d7f;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.countdown-boxes {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(138, 92, 246, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(138, 92, 246, 0.3);
    border-radius: 15px;
    padding: 20px;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    font-size: 36px;
    font-weight: bold;
    color: #4a1d7f;
    font-family: 'Montserrat', sans-serif;
}

.countdown-label-small {
    font-size: 12px;
    color: #5a2d8f;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.hero-event-date {
    font-family: 'Great Vibes', cursive;
    font-size: 38px;
    letter-spacing: 2px;
    color: #4a1d7f;
    text-shadow: 0 2px 12px rgba(109, 40, 217, 0.25);
    margin-bottom: 14px;
    display: inline-block;
    border-bottom: 1.5px solid rgba(212, 175, 55, 0.6);
    padding-bottom: 6px;
}

.countdown-separator {
    color: #4a1d7f;
    font-size: 36px;
    font-weight: bold;
}

/* Sección de citas */
.quote-section {
    padding: 50vh 20px 60px;
    min-height: 100vh;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: url('fondos/rapunzel jugando.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Wrapper de flores: ocupa espacio en flujo y apila ambas imágenes */
.quote-flores-wrap {
    position: relative;
    width: 88%;
    max-width: 580px;
    margin: 30px auto 0;
    aspect-ratio: 4 / 3;
}

/* Flores decorativas alternantes */
.quote-flores {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

#quote-flores-grande {
    opacity: 1;
}

#quote-flores-pequeña {
    opacity: 0;
}

.quote-section::before,
.quote-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    opacity: 0.08;
    pointer-events: none;
}

.quote-section::before {
    background: var(--watercolor-1);
    top: -100px;
    left: -100px;
}

.quote-section::after {
    background: var(--watercolor-2);
    bottom: -100px;
    right: -100px;
}

.quote-icon {
    font-size: 60px;
    margin-bottom: 30px;
}

.quote-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(18px, 3vw, 28px);
    font-style: italic;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    padding: 22px 28px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.quote-reference {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14px, 2vw, 26px);
    color: black;
    margin-top: 20px;
    font-weight: 600;
}

/* Sección de padres */
.parents-section {
    padding: 80px 20px 160px;
    background-image: url('fondos/fondosolo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Flores decorativas en el borde inferior de la sección de padrinos */
.parents-flores-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    pointer-events: none;
    display: block;
}

.parents-section::before,
.parents-section::after {
    content: '🌸';
    position: absolute;
    font-size: 80px;
    opacity: 0.15;
    pointer-events: none;
}

.parents-section::before {
    top: 50px;
    left: 20px;
    transform: rotate(-15deg);
}

.parents-section::after {
    bottom: 50px;
    right: 20px;
    transform: rotate(15deg);
}

.section-divider {
    width: 100px;
    height: 2px;
    background: var(--gradient-2);
    margin: 0 auto 40px;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: '✿';
    position: absolute;
    color: var(--primary-color);
    font-size: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.section-divider::before {
    left: -30px;
}

.section-divider::after {
    right: -30px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 5vw, 42px);
    color: var(--text-dark);
    margin-bottom: 40px;
    font-weight: 500;
}

.subsection-title {
    margin-top: 60px;
}

.parents-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.parent-group {
    max-width: 400px;
}

.parent-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-dark);
    margin-bottom: 18px;
    font-weight: 700;
}

.parent-name {
    font-family: 'Great Vibes', cursive;
    font-size: 30px;
    color: var(--text-dark);
    margin: 8px 0;
    line-height: 1.2;
}

/* Ubicaciones */
.location-section {
    padding: 80px 20px;
    background-image: url('fondos/fondosolo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.location-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--watercolor-2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    pointer-events: none;
}

.location-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 40px auto;
    max-width: 800px;
    border: 3px solid rgba(139, 92, 246, 0.15);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.3);
}

.location-card::before,
.location-card::after {
    content: '🌿';
    position: absolute;
    font-size: 40px;
    opacity: 0.2;
    z-index: 10;
}

.location-card::before {
    top: 20px;
    left: 20px;
    transform: rotate(-25deg);
}

.location-card::after {
    bottom: 20px;
    right: 20px;
    transform: rotate(25deg);
}

/* Banner decorativo en lugar de foto */
.location-banner {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #6d28d9 0%, #a855f7 50%, #ec4899 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.location-banner-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.location-banner-name {
    font-family: 'Great Vibes', cursive;
    font-size: 36px;
    color: white;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.location-info {
    padding: 40px;
    text-align: center;
}

.location-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.location-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.location-time {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.location-name {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 500;
}

.location-address {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.location-map-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    padding: 10px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.location-map-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Cronograma — timeline vertical */
.schedule-section {
    padding: 70px 20px;
    position: relative;
    background: linear-gradient(rgba(30, 10, 60, 0.88), rgba(30, 10, 60, 0.88)),
                url('fondos/fondosolo.png');
    background-size: cover;
    background-position: center;
}

/* Línea vertical */
.timeline {
    max-width: 360px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 90px; /* 65px icon + 20px gap + 5px (mitad del dot) */
    top: 52px;
    bottom: 52px;
    width: 2px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 0;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    position: relative;
}

.timeline-icon-wrap {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-text {
    flex: 1;
}

.timeline-time {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 3px;
    line-height: 1.1;
}

.timeline-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.schedule-time {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.schedule-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
}

/* Mesa de regalos */
.gifts-section {
    padding: 80px 20px;
    background-image: url('fondos/fondosolo.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gifts-card {
    background: white;
    border-radius: 20px;
    padding: 36px 28px 32px;
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.18);
}

.gifts-card-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--primary-color);
}

.gifts-title {
    font-family: 'Great Vibes', cursive;
    font-size: 40px;
    color: var(--text-dark);
    margin-bottom: 14px;
    font-weight: 400;
    line-height: 1.1;
}

.gifts-description {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 24px;
}

.gift-btn-main {
    display: block;
    width: 100%;
    background: var(--primary-dark);
    color: white;
    border: none;
    padding: 13px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gift-btn-main:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Fila de opciones de regalo */
.gift-options-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 4px;
}

.gift-option-regalo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--primary-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Modal Yape */
.yape-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.yape-modal.active {
    opacity: 1;
    visibility: visible;
}

.yape-modal-content {
    background: white;
    border-radius: 20px;
    padding: 36px 28px 28px;
    max-width: 290px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.yape-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 17px;
    cursor: pointer;
    color: #888;
    line-height: 1;
}

.yape-modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.yape-modal-name {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.yape-modal-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.yape-modal-number span {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
}

.yape-copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.yape-copy-btn:hover {
    color: var(--primary-color);
}

/* Logo Yape recreado */
.yape-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 16px auto 24px;
}

.yape-logo-bubble {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 17px;
}

.yape-logo-name {
    font-family: 'Great Vibes', cursive;
    font-size: 30px;
    color: var(--primary-dark);
    line-height: 1;
}

.yape-modal-cerrar {
    display: block;
    width: 100%;
    background: var(--primary-dark);
    color: white;
    border: none;
    padding: 13px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    transition: background 0.2s ease;
}

.yape-modal-cerrar:hover {
    background: var(--primary-color);
}

/* Código de vestimenta */
.dresscode-section {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    background-image: url('fondos/fondosolo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.dresscode-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 600px;
    margin: 36px auto 0;
}

.dresscode-card {
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(6px);
    padding: 28px 20px;
    border-radius: 20px;
    border: 2px solid rgba(192, 132, 252, 0.4);
    box-shadow: 0 6px 24px rgba(109, 40, 217, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.dresscode-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
}

.dresscode-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.dresscode-type {
    font-family: 'Great Vibes', cursive;
    font-size: 22px;
    color: var(--text-dark);
    margin: 0;
}

.dresscode-rules {
    list-style: none;
    text-align: left;
    width: 100%;
    margin-top: 4px;
}

.dresscode-rules li {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(192, 132, 252, 0.25);
    color: var(--text-dark);
    line-height: 1.4;
}

.dresscode-rules li:last-child {
    border-bottom: none;
}

/* Confirmación */
.confirmation-section {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(30,10,60,0.82), rgba(30,10,60,0.82)),
                url('fondos/fondosolo.png') center/cover no-repeat;
}

.confirmation-section .section-title {
    font-family: 'Great Vibes', cursive;
    font-size: 52px;
    color: #e9d5ff;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 0;
    text-shadow: 0 2px 16px rgba(192,132,252,0.4);
    position: relative;
    z-index: 1;
}

.confirmation-text {
    max-width: 560px;
    margin: 24px auto;
    font-family: 'Cormorant Garamond', serif;
    font-size: 19px;
    line-height: 1.9;
    color: rgba(255,255,255,0.88);
    position: relative;
    z-index: 1;
}

.confirmation-text strong {
    color: #d4af37;
    font-weight: 600;
}

.confirmation-button {
    display: inline-block;
    background: transparent;
    color: white;
    text-decoration: none;
    padding: 14px 44px;
    border-radius: 50px;
    border: 2px solid #d4af37;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 20px 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.confirmation-button:hover {
    background: #d4af37;
    color: #3d0d6b;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(212,175,55,0.35);
}

.confirmation-footer {
    font-size: 38px;
    font-family: 'Great Vibes', cursive;
    color: #d4af37;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    padding: 40px 20px;
    background: var(--text-dark);
    text-align: center;
    color: white;
}

.footer-link {
    color: #c084fc;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #a855f7;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    /* Reducir decoraciones florales en tablets */
    .parents-section::before,
    .parents-section::after {
        font-size: 50px;
    }
    
    .location-card::before,
    .location-card::after {
        font-size: 30px;
    }
    
    .section-divider::before,
    .section-divider::after {
        font-size: 16px;
    }
    
    
    .invitation-card {
        width: 230px;
    }

    .card-content {
        padding: 15px 20px 18px;
    }

    .initial-name {
        font-size: 38px;
    }

    .card-text {
        font-size: 13px;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 15px 10px;
    }
    
    .countdown-value {
        font-size: 24px;
    }
    
    .countdown-label-small {
        font-size: 10px;
    }
    
    .counter-box {
        width: 35px;
        height: 45px;
        font-size: 20px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .quote-text {
        font-size: 20px;
        padding: 0 15px;
    }

    .parents-grid {
        gap: 40px;
    }
    
    .parent-name {
        font-size: 26px;
    }

    .parents-flores-bottom {
        width: 70%;
    }

    .location-card {
        margin: 30px 15px;
    }
    
    .location-image {
        height: 250px;
    }
    
    .location-info {
        padding: 30px 20px;
    }
    
    .location-title {
        font-size: 26px;
    }
    
    .location-time {
        font-size: 20px;
    }
    
    .location-name {
        font-size: 18px;
    }
    
    .location-address {
        font-size: 14px;
    }
    
    .timeline-time {
        font-size: 20px;
    }

    .timeline-icon-wrap {
        width: 58px;
        height: 58px;
    }

    .timeline::before {
        left: 83px;
    }
    
    .gifts-description {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .gift-button {
        padding: 12px 35px;
        font-size: 16px;
    }
    
    .confirmation-text {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .confirmation-button {
        padding: 15px 35px;
        font-size: 16px;
        margin: 20px 10px;
    }
}

@media (max-width: 480px) {
    /* Ocultar algunas decoraciones florales en móviles pequeños */
    .parents-section::before,
    .parents-section::after {
        display: none;
    }
    
    .location-card::before,
    .location-card::after {
        font-size: 25px;
        opacity: 0.15;
    }
    
    .invitation-card::before,
    .invitation-card::after {
        font-size: 20px;
    }
    
    .section-divider::before,
    .section-divider::after {
        display: none;
    }
    


    .invitation-card {
        width: 200px;
    }

    .card-content {
        padding: 12px 16px 16px;
    }

    .initial-name {
        font-size: 32px;
    }

    .card-text {
        font-size: 12px;
    }
    
    .open-button {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .places-counter p {
        font-size: 12px;
    }
    
    .counter-box {
        width: 30px;
        height: 40px;
        font-size: 18px;
    }
    
    .hero-section {
        padding: 40px 15px;
    }
    
    .hero-title {
        font-size: 50px;
    }
    
    .hero-divider {
        font-size: 11px;
        letter-spacing: 2px;
    }
    
    .countdown-boxes {
        gap: 5px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 10px 5px;
    }
    
    .countdown-value {
        font-size: 20px;
    }
    
    .countdown-label-small {
        font-size: 9px;
    }
    
    .countdown-separator {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .quote-icon {
        font-size: 40px;
    }
    
    .quote-text {
        font-size: 18px;
        line-height: 1.6;
    }
    
    .parent-title {
        font-size: 14px;
    }
    
    .parent-name {
        font-size: 24px;
    }

    .location-card {
        border-radius: 15px;
    }
    
    .location-image {
        height: 200px;
    }
    
    .location-info {
        padding: 25px 15px;
    }
    
    .location-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .location-title {
        font-size: 22px;
    }
    
    .location-time {
        font-size: 18px;
    }
    
    .location-name {
        font-size: 16px;
    }
    
    .location-map-link {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .timeline-icon-wrap {
        width: 52px;
        height: 52px;
    }

    .timeline-time {
        font-size: 18px;
    }

    .timeline-label {
        font-size: 11px;
    }

    .timeline::before {
        left: 77px;
    }

    .timeline-item {
        gap: 15px;
        padding: 15px 0;
    }

    .gifts-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .gifts-options {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }
    
    .gift-button {
        width: 100%;
        max-width: 300px;
    }
    
    .confirmation-button {
        display: block;
        width: calc(100% - 40px);
        max-width: 350px;
        margin: 20px auto;
        text-align: center;
    }
    
    .confirmation-footer {
        font-size: 20px;
    }
    
    .music-control {
        bottom: 20px;
        right: 20px;
    }
    
    .music-button {
        width: 50px;
        height: 50px;
    }
    
    .music-icon {
        width: 20px;
        height: 20px;
    }
}

/* Mejoras adicionales para muy pequeñas pantallas */
@media (max-width: 360px) {
    .hero-title {
        font-size: 40px;
    }
    
    .countdown-item {
        min-width: 50px;
        padding: 8px 3px;
    }
    
    .countdown-value {
        font-size: 18px;
    }
    
    .countdown-label-small {
        font-size: 8px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .location-title {
        font-size: 20px;
    }
    
}