:root {
    --primary-gold: #e2c074;
    --gold-gradient: linear-gradient(135deg, #fce09b 0%, #c99e46 50%, #9e7526 100%);
    --accent-blue: #1b355a;
    --text-light: #f8f9fa;
    --text-muted: #d0d7de;
    --bg-overlay: rgba(8, 16, 32, 0.7);
    --card-bg: rgba(16, 32, 58, 0.5);
    --card-border: rgba(226, 192, 116, 0.35);
    --card-blur: blur(14px);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    background-color: #08111e;
    background-image: url('fondo3.jpeg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    overflow-x: hidden;
    position: relative;
}

/* Canvas de Partículas / Luciérnagas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Overlay principal */
.main-container {
    position: relative;
    z-index: 2;
    background: radial-gradient(circle at center, rgba(12, 26, 50, 0.35) 0%, rgba(6, 13, 26, 0.88) 100%);
    min-height: 100vh;
}

/* Botón de audio flotante */
.audio-control {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 100;
    background: rgba(20, 35, 28, 0.85);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(226, 192, 116, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.audio-control:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(226, 192, 116, 0.7);
}

/* Secciones */
section {
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
}

.hero-subtitle {
    font-family: 'Cinzel', serif;
    letter-spacing: 5px;
    font-size: 1.2rem;
    color: var(--primary-gold);
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.9));
    line-height: 1.1;
}

.hero-phrase {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto 35px;
    color: #e0e0e0;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

/* Titles */
.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
    margin: 10px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 8px var(--primary-gold);
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: var(--card-blur);
    -webkit-backdrop-filter: var(--card-blur);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 35px 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(226, 192, 116, 0.6);
    transform: translateY(-3px);
}

/* Horarios diferenciados en Fecha & Lugar */
.schedule-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.schedule-box {
    background: rgba(226, 192, 116, 0.08);
    border: 1px solid rgba(226, 192, 116, 0.25);
    border-radius: 12px;
    padding: 12px 18px;
    flex: 1;
    min-width: 170px;
    max-width: 240px;
    text-align: center;
}

.schedule-label {
    color: var(--primary-gold);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.schedule-time {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Cinzel', serif;
}

/* Contador */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.countdown-box {
    background: rgba(10, 20, 15, 0.7);
    border: 1px solid var(--primary-gold);
    border-radius: 12px;
    padding: 15px 18px;
    min-width: 80px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.countdown-value {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
    display: block;
}

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

/* Padres & Invitan (Formal XV Años) */
.hosts-section {
    margin-top: 35px;
    padding: 25px 30px;
    background: rgba(14, 28, 52, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--primary-gold);
    border-radius: 18px;
    display: inline-block;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(226, 192, 116, 0.1);
}

.hosts-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--primary-gold);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hosts-names {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
    margin-bottom: 6px;
}

.hosts-brother {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-style: italic;
    color: var(--primary-gold);
    margin-bottom: 12px;
}

.hosts-divider {
    width: 80px;
    height: 1px;
    background: var(--gold-gradient);
    margin: 12px auto;
}

.hosts-invitation {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gold-gradient);
    color: #0b130e;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(226, 192, 116, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 8px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 192, 116, 0.6);
    background: linear-gradient(135deg, #fff0c7 0%, #dfb55c 50%, #b38833 100%);
}

.btn-outline {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(226, 192, 116, 0.15);
    color: #ffffff;
}

/* Grid de 2 columnas */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Dress Code Badge & Colors */
.dress-code-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
}

.color-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    position: relative;
}

.color-dot.reserved::after {
    content: '✕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ff4d4d;
    font-size: 0.9rem;
    font-weight: bold;
}

.note-tag {
    background: rgba(226, 192, 116, 0.15);
    border-left: 3px solid var(--primary-gold);
    padding: 12px 15px;
    border-radius: 0 10px 10px 0;
    font-size: 0.88rem;
    text-align: left;
    margin-top: 15px;
}

.rsvp-help-note {
    margin-top: 20px;
    padding: 12px 16px;
    background: rgba(226, 192, 116, 0.08);
    border: 1px dashed rgba(226, 192, 116, 0.35);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    text-align: center;
}

.rsvp-help-note a {
    color: var(--primary-gold);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.rsvp-help-note a:hover {
    color: #ffffff;
}

/* Map & Spotify Player Wrappers */
.map-wrapper,
.spotify-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--card-border);
    margin: 20px 0;
}

.map-wrapper iframe {
    width: 100%;
    height: 250px;
    border: none;
    display: block;
}

/* Itinerario Timeline */
.timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 25px;
    width: 2px;
    background: var(--card-border);
}

.timeline-item {
    position: relative;
    padding-left: 65px;
    margin-bottom: 30px;
}

.timeline-icon {
    position: absolute;
    left: 7px;
    top: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(20, 35, 28, 0.9);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 0 10px rgba(226, 192, 116, 0.4);
}

.timeline-time {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--primary-gold);
    font-size: 1.1rem;
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* Form Controls */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    color: var(--primary-gold);
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(10, 20, 15, 0.7);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 10px rgba(226, 192, 116, 0.3);
}

/* Regalos Copy Box */
.bank-details {
    background: rgba(10, 20, 15, 0.6);
    border: 1px dashed var(--primary-gold);
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bank-row:last-child {
    border-bottom: none;
}

.copy-btn {
    background: rgba(226, 192, 116, 0.2);
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: var(--primary-gold);
    color: #000;
}

/* Footer */
footer {
    padding: 45px 20px 100px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(226, 192, 116, 0.2);
    background: rgba(5, 12, 8, 0.8);
    position: relative;
    z-index: 2;
}

.footer-title {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.footer-phrase {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    font-style: italic;
    color: #e0e0e0;
    max-width: 620px;
    margin: 8px auto 0;
    line-height: 1.6;
    padding: 0 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        background-image: url('fondo3-resposive.jpeg');
        background-attachment: scroll;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.8rem;
    }

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

    .section-title {
        font-size: 1.75rem;
    }

    .countdown-box {
        min-width: 65px;
        padding: 10px 12px;
    }

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

    .glass-card {
        padding: 25px 18px;
    }

    /* Sobre Overlay en Móviles */
    #envelope-overlay {
        padding: 30px 20px;
        text-align: center;
        justify-content: space-around;
    }

    .envelope-badge {
        font-size: 0.72rem;
        letter-spacing: 2px;
        padding: 7px 16px;
        margin-bottom: 20px;
        text-align: center;
        max-width: 90%;
    }

    .envelope-wrapper {
        width: 290px;
        height: 200px;
        margin: 15px auto 25px;
    }

    .envelope-top-flap {
        border-left-width: 145px;
        border-right-width: 145px;
        border-top-width: 115px;
    }

    .envelope-top-flap::after {
        top: -115px;
        left: -145px;
        border-left-width: 145px;
        border-right-width: 145px;
        border-top-width: 115px;
    }

    .envelope-pocket-front {
        border-left-width: 145px;
        border-right-width: 145px;
        border-bottom-width: 100px;
    }

    .envelope-letter {
        width: 255px;
        height: 155px;
        padding: 15px;
    }

    .envelope-wax-seal {
        top: 95px;
        width: 70px;
        height: 70px;
    }

    .seal-inner {
        width: 52px;
        height: 52px;
    }

    .envelope-title {
        font-size: 1.25rem;
        letter-spacing: 4px;
        margin-top: 15px;
        text-align: center;
        width: 100%;
    }

    .envelope-subtitle {
        font-size: 1.15rem;
        margin-top: 6px;
        text-align: center;
        width: 100%;
    }

    .envelope-cta {
        font-size: 0.85rem;
        padding: 10px 20px;
        margin-top: 20px;
        text-align: center;
        justify-content: center;
        max-width: 90%;
    }

    /* Footer & Audio Control responsive */
    footer {
        padding: 40px 20px 110px;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-phrase {
        font-size: 1.35rem;
        line-height: 1.5;
        max-width: 95%;
    }

    .audio-control {
        bottom: 18px;
        right: 18px;
        width: 46px;
        height: 46px;
        font-size: 1.05rem;
    }
}

/* OVERLAY Y ESCENA DEL SOBRE DE INVITACIÓN (ALICIA) */
#envelope-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #182e4e 0%, #08101d 80%, #03060b 100%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
    cursor: pointer;
    overflow: hidden;
    user-select: none;
}

#envelope-overlay.opened {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Elementos flotantes de Alicia */
.wonderland-bg-decor {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.decor-item {
    position: absolute;
    color: rgba(226, 192, 116, 0.22);
    font-size: 2rem;
    animation: floatWonderland 8s infinite ease-in-out;
}

.decor-item.item-1 { top: 12%; left: 15%; animation-delay: 0s; font-size: 2.2rem; }
.decor-item.item-2 { top: 20%; right: 18%; animation-delay: 1.5s; font-size: 2.5rem; color: rgba(200, 160, 80, 0.25); }
.decor-item.item-3 { bottom: 25%; left: 18%; animation-delay: 3s; font-size: 2rem; color: rgba(220, 80, 80, 0.25); }
.decor-item.item-4 { bottom: 15%; right: 22%; animation-delay: 4.5s; font-size: 2.4rem; }
.decor-item.item-5 { top: 60%; left: 10%; animation-delay: 2s; font-size: 1.8rem; }
.decor-item.item-6 { top: 15%; left: 48%; animation-delay: 5s; font-size: 2rem; }
.decor-item.item-7 { bottom: 35%; right: 10%; animation-delay: 3.5s; font-size: 2.2rem; }

@keyframes floatWonderland {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.25; }
    50% { transform: translateY(-22px) rotate(15deg); opacity: 0.55; }
}

/* Badge Superior */
.envelope-badge {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--primary-gold);
    text-transform: uppercase;
    background: rgba(226, 192, 116, 0.12);
    border: 1px solid rgba(226, 192, 116, 0.35);
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(226, 192, 116, 0.2);
    backdrop-filter: blur(8px);
}

/* Sobre Wrapper y 3D */
.envelope-wrapper {
    position: relative;
    width: 330px;
    height: 230px;
    perspective: 1200px;
    margin-bottom: 25px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.envelope-wrapper:hover {
    transform: scale(1.04) translateY(-4px);
}

/* Carta interior deslizable */
.envelope-letter {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 290px;
    height: 180px;
    background: linear-gradient(135deg, #fdf8eb 0%, #f4e8c9 100%);
    border: 1px solid #d4af37;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    z-index: 2;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.letter-header {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #8a6417;
    letter-spacing: 3px;
    margin-bottom: 6px;
}

.letter-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: #4a3810;
}

/* Base del sobre */
.envelope-base {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #18335b, #0d1e39);
    border: 2px solid var(--primary-gold);
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 30px rgba(226, 192, 116, 0.3);
    overflow: visible;
    z-index: 3;
}

/* Solapa Superior */
.envelope-top-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 165px solid transparent;
    border-right: 165px solid transparent;
    border-top: 130px solid #1e3d6e;
    transform-origin: top;
    transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
}

.envelope-top-flap::after {
    content: '';
    position: absolute;
    top: -130px;
    left: -165px;
    width: 0;
    height: 0;
    border-left: 165px solid transparent;
    border-right: 165px solid transparent;
    border-top: 130px solid var(--primary-gold);
    opacity: 0.35;
}

.envelope-pocket-front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 165px solid #112342;
    border-right: 165px solid #112342;
    border-bottom: 115px solid #162e56;
    border-radius: 0 0 10px 10px;
    z-index: 4;
}

/* Sello de Cera Alicia (Reloj / Corona / XV) */
.envelope-wax-seal {
    position: absolute;
    top: 110px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, #bd2828 0%, #8b1818 50%, #520b0b 100%);
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), 0 0 25px rgba(226, 192, 116, 0.7);
    transition: transform 1.2s ease, opacity 1.2s ease;
    animation: pulseWaxSeal 2.2s infinite alternate;
}

.seal-inner {
    width: 58px;
    height: 58px;
    border: 1px dashed var(--primary-gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}

.seal-clock {
    font-size: 1.1rem;
    color: var(--primary-gold);
    margin-bottom: 1px;
}

.seal-xv {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 900;
    color: var(--primary-gold);
    letter-spacing: 1px;
}

@keyframes pulseWaxSeal {
    0% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 15px rgba(226, 192, 116, 0.5);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.08);
        box-shadow: 0 0 30px rgba(226, 192, 116, 0.9);
    }
}

.envelope-title {
    font-family: 'Cinzel', serif;
    color: var(--primary-gold);
    font-size: 1.4rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    margin-top: 10px;
    text-align: center;
}

.envelope-subtitle {
    font-family: 'Cormorant Garamond', serif;
    color: #ffffff;
    font-size: 1.25rem;
    font-style: italic;
    margin-top: 4px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.envelope-cta {
    font-family: 'Montserrat', sans-serif;
    color: #d0d7de;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    margin-top: 15px;
    background: rgba(10, 20, 35, 0.6);
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid rgba(226, 192, 116, 0.25);
    display: flex;
    align-items: center;
    gap: 8px;
}

@keyframes keyGlow {
    0% { transform: rotate(-10deg) scale(1); filter: drop-shadow(0 0 2px var(--primary-gold)); }
    100% { transform: rotate(10deg) scale(1.2); filter: drop-shadow(0 0 8px var(--primary-gold)); }
}

/* Animación de apertura */
#envelope-overlay.opening .envelope-top-flap {
    transform: rotateX(180deg);
    z-index: 2;
}

#envelope-overlay.opening .envelope-letter {
    transform: translate(-50%, -100px);
    z-index: 5;
}

#envelope-overlay.opening .envelope-wax-seal {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.6) rotate(30deg);
}