:root {
    --olive: #798059; 
    --olive-light: #8e956e;
    --olive-dark: #5e6443;
    --olive-darker: #464a32;
    --gold: #D4AF37;
    --gold-light: #f3d778;
    --gold-dark: #8c7322;
    --white: #FFFFFF;
    --off-white: #fafafa;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    font-family: 'Playfair Display', serif;
    color: var(--olive);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.safe-padding-bottom {
    padding-bottom: env(safe-area-inset-bottom);
}

#landing-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--off-white);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 1.2s ease, visibility 1.2s ease;
}

#landing-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.pre-title {
    font-size: 1.3rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.names-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.2rem;
    line-height: 1.2;
    color: var(--olive);
    margin: 0.5rem 0;
    white-space: nowrap; 
}

.date-text {
    font-size: 1.6rem;
    letter-spacing: 6px;
    font-weight: 600;
    margin-bottom: 3.5rem;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnim 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fadeUpAnim {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 1.2s; }
.delay-3 { animation-delay: 2.1s; }
.delay-4 { animation-delay: 3.0s; }
.delay-5 { animation-delay: 4.0s; }

.envelope-wrapper {
    position: relative;
    cursor: pointer;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 320px;
    margin: 10px auto 0;
}

.envelope-wrapper:hover {
    transform: translateY(-8px) scale(1.03);
}

.envelope {
    position: relative;
    width: 100%;
    aspect-ratio: 400 / 260; 
    background-color: var(--olive-darker);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    margin: 0 auto;
}

.seal {
    position: absolute;
    top: 61%; 
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 6px 8px rgba(0,0,0,0.4));
}

.seal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.click-text {
    font-size: 0.95rem;
    letter-spacing: 3px;
    opacity: 0.8;
    text-transform: uppercase;
    margin-top: 2.5rem;
    font-weight: 600;
}

#main-content {
    display: none; 
    opacity: 0;
    transition: opacity 1.5s ease-in;
    background-color: var(--white);
    min-height: 100vh;
}

/* ----- ESTILOS DEL REPRODUCTOR ----- */
.reference-card {
    max-width: 460px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: visible; 
}

.floral-branch-container {
    width: 380px;
    position: relative;
    margin-left: -10px;
    margin-top: -10px;   
    margin-bottom: 50px;
    opacity: 0.95;
    z-index: 2;
}

.floral-branch-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transform: rotate(-10deg);
}

.reference-verse {
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    color: #2c2c2c;
    margin-bottom: 15px;
    padding: 0 15px;
}

.reference-initials-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
}

.reference-logo-img {
    height: 80px; 
    width: auto;
    object-fit: contain;
}

.reference-player {
    width: 100%;
    max-width: 340px;
    margin: 0 auto 25px auto;
}

.reference-progress-container {
    width: 100%;
    height: 5px;
    background-color: #eaeaea;
    border-radius: 3px;
    margin-bottom: 30px;
    position: relative;
    cursor: pointer;
    transition: height 0.2s ease;
}

.reference-progress-container:hover {
    height: 7px;
}

.reference-progress-bar {
    height: 100%;
    background-color: var(--olive);
    width: 0%;
    position: relative;
    border-radius: 3px;
    transition: width 0.1s linear;
}

.reference-progress-bar::after {
    content: '';
    position: absolute;
    right: -7px;
    top: -4.5px;
    width: 14px;
    height: 14px;
    background-color: var(--gold);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.reference-progress-container:hover .reference-progress-bar::after {
    transform: scale(1.3);
    top: -3.5px;
}

.reference-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.ref-btn {
    background: none;
    border: none;
    color: var(--olive-dark);
    cursor: pointer;
    padding: 8px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ref-btn:hover {
    background-color: rgba(121, 128, 89, 0.1);
    color: var(--gold-dark);
    transform: translateY(-2px);
}

.ref-btn svg {
    width: 22px;
    height: 22px;
}

.ref-main-btn {
    background: linear-gradient(145deg, var(--olive-light), var(--olive));
    color: white;
    border: none;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(94, 100, 67, 0.35);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.ref-main-btn:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 22px rgba(94, 100, 67, 0.45);
}

.ref-main-btn::before {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border-radius: 50%;
    border: 1px solid var(--olive);
    animation: pulse 2s infinite;
    opacity: 0;
    pointer-events: none;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.25); opacity: 0; }
}

.ref-main-btn svg {
    width: 26px;
    height: 26px;
    margin-left: 2px;
}

.reference-click-label {
    font-size: 0.95rem;
    color: #2c2c2c;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.reference-divider-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--gold);
    font-size: 0.75rem;
}

.reference-divider-line::before,
.reference-divider-line::after {
    content: "";
    height: 1px;
    background-color: #eaeaea;
    flex-grow: 1;
    max-width: 90px;
}

/* ----- ESTILOS DE LA TARJETA DE PAPÁS Y PADRINOS ----- */
.parents-godparents-section {
    max-width: 500px;
    margin: 20px auto 40px auto;
    padding: 20px 15px;
    text-align: center;
}

.card-paper-container {
    background-color: var(--off-white);
    border-radius: 8px;
    padding: 40px 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08), 0 5px 15px rgba(0,0,0,0.04);
    border: 1px solid rgba(121, 128, 89, 0.2);
    position: relative;
}

.card-paper-container::before {
    content: '';
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    pointer-events: none;
}

.cp-top-text {
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--olive-darker);
    margin-bottom: 15px;
}

.cp-title-script {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: var(--olive-darker);
    margin-bottom: 25px;
    line-height: 1;
}

.cp-names-group {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
}

.cp-names-group .name-item {
    display: block;
    margin-bottom: 6px;
}

.cp-divider {
    width: 50px;
    height: 1px;
    background-color: var(--gold);
    margin: 25px auto;
}

/* ----- ESTILOS SECCIÓN DE FOTO PRINCIPAL ----- */
.revealing-section {
    width: 100vw !important;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%) !important;
    padding: 0;
    position: relative;
    background-color: var(--white);
    margin-top: 5px; 
}

#revealing-photo-block {
    display: block;
    width: 100%;
    position: relative;
}

.revealing-img {
    width: 100%;
    height: auto;
    min-height: 250px;
    object-fit: cover;
    display: block;
}

.reveal-effect {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.reveal-effect.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ----- ESTILOS FOTOS FULL WIDTH (CINEMATIC BANNER) ----- */
.cinematic-banner-section {
    width: 100vw !important;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%) !important;
    padding: 0 0 10px 0; 
    margin-top: -10px;  
    position: relative;
    background-color: var(--white);
    overflow: hidden;
}

.cinematic-frame-wrapper {
    position: relative;
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.4), 0 15px 35px rgba(0,0,0,0.15);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-frame-wrapper.revealed {
    opacity: 1;
    transform: scale(1);
}

.cinematic-banner-img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: cover;
    display: block;
    filter: contrast(1.05) saturate(1.05);
    transition: transform 2s ease;
}

.cinematic-frame-wrapper:hover .cinematic-banner-img {
    transform: scale(1.03);
}

.cinematic-frame-wrapper::before,
.cinematic-frame-wrapper::after {
    content: '';
    position: absolute;
    top: 15px; bottom: 15px; left: 15px; right: 15px;
    border: 1px solid rgba(212, 175, 55, 0.5); 
    pointer-events: none;
    z-index: 2;
    transition: transform 1s ease;
}

.cinematic-frame-wrapper::after {
    top: 22px; bottom: 22px; left: 22px; right: 22px;
    border-color: rgba(255, 255, 255, 0.4);
}

/* ----- ESTILOS SECCIÓN DETALLES ----- */
.details-section {
    max-width: 500px;
    margin: 40px auto;
    padding: 40px 20px;
    text-align: center;
    position: relative;
}

.floral-side-left {
    position: absolute;
    left: -20px;
    top: -20px;
    width: 150px;
    opacity: 0.8;
    transform: rotate(-35deg);
    z-index: 0;
}

.floral-side-right {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 180px;
    opacity: 0.8;
    transform: rotate(145deg);
    z-index: 0;
}

.parents-blessing {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.heart-icon-divider {
    color: var(--olive);
    font-size: 0.8rem;
    margin: 15px 0 35px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.heart-icon-divider::before,
.heart-icon-divider::after {
    content: "";
    height: 1px;
    background-color: #dcdcdc;
    width: 30px;
}

.names-script-large {
    font-family: 'Dancing Script', cursive;
    font-size: 4.5rem;
    color: var(--olive-darker);
    line-height: 1.1;
    margin: 20px 0;
    position: relative;
    z-index: 1;
}

.names-script-large span.ampersand {
    font-size: 2.5rem;
    display: block;
    margin: -5px 0;
}

.honor-invite {
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    color: #333;
    margin: 40px 0 30px 0;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.date-block {
    margin: 30px 0;
    position: relative;
    z-index: 1;
}

.date-month {
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.date-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.date-side-text {
    border-top: 1px solid var(--olive);
    border-bottom: 1px solid var(--olive);
    padding: 8px 0;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    min-width: 100px;
}

.date-day-num {
    font-size: 5.5rem;
    font-weight: 400;
    line-height: 0.8;
    color: var(--olive-darker);
}

.countdown-container {
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.countdown-intro {
    font-size: 1.2rem;
    color: #4a4a4a;
    margin-bottom: 20px;
    font-style: italic;
}

.si-acepto-text {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: var(--olive-darker);
    font-style: normal;
}

.timer-numbers {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--olive-darker);
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.timer-dot {
    font-size: 1rem;
    color: var(--olive);
    position: relative;
    top: -3px;
}

/* ----- ESTILOS GALERÍA DE FOTOS (Álbum) ----- */
.gallery-section {
    padding: 20px 20px 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.gallery-frame {
    position: relative;
    background: var(--white);
    padding: 14px 14px 45px 14px; 
    border-radius: 6px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.06);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    max-width: 320px;
    width: 100%;
}

.gallery-frame::before {
    content: '';
    position: absolute;
    top: 6px; left: 6px; right: 6px; bottom: 6px;
    border: 1px solid rgba(212, 175, 55, 0.35); 
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
}

.gallery-frame:hover {
    box-shadow: 0 25px 45px rgba(0,0,0,0.18), 0 10px 25px rgba(0,0,0,0.12);
}

.gallery-img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    display: block;
    position: relative;
    z-index: 1;
    filter: contrast(1.05) saturate(1.1); 
}

.reveal-left-angled {
    opacity: 0;
    transform: translateX(-60px) rotate(-15deg);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right-angled {
    opacity: 0;
    transform: translateX(60px) rotate(15deg);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left-angled.revealed {
    opacity: 1;
    transform: translateX(0) rotate(-4deg);
}
.reveal-right-angled.revealed {
    opacity: 1;
    transform: translateX(0) rotate(5deg);
    margin-top: 50px; 
}

.gallery-frame.revealed:hover {
    transform: translateX(0) rotate(0deg) scale(1.03) translateY(-10px);
    z-index: 5;
}

/* ----- ESTILOS SECCIÓN UBICACIONES ----- */
.locations-section {
    max-width: 600px;
    margin: 20px auto 10px auto; 
    padding: 40px 20px 20px 20px; 
    text-align: center;
    background-color: var(--white);
}

.location-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: var(--olive);
    margin-bottom: 10px;
    font-weight: 700;
}

.location-icon-top {
    font-size: 2.3rem;
    color: var(--olive);
    margin: 5px auto 20px auto;
    display: block;
    line-height: 1;
}

.location-icon-middle {
    font-size: 2.1rem;
    color: var(--olive);
    margin: 15px auto 25px auto;
    display: block;
    line-height: 1;
}

.location-block {
    margin-bottom: 30px;
}

.location-category {
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--olive-darker);
    margin-bottom: 12px;
}

.location-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 6px;
}

.location-address {
    font-size: 1rem;
    color: #555;
    margin-bottom: 6px;
    font-style: italic;
}

.location-time {
    font-size: 1rem;
    color: #4a4a4a;
    margin-bottom: 18px;
    font-weight: 600;
}

.btn-ver-ubicacion {
    display: inline-block;
    background-color: var(--olive-dark);
    color: var(--white);
    padding: 10px 28px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(94, 100, 67, 0.25);
    transition: all 0.3s ease;
}

.btn-ver-ubicacion:hover {
    background-color: var(--olive-darker);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(94, 100, 67, 0.35);
}


.location-divider {
    width: 80px;
    height: 1px;
    background-color: #e5e5e5;
    margin: 35px auto;
}

/* ----- ESTILOS SECCIÓN DETALLES / CÓDIGO DE VESTIMENTA ----- */
.bottom-details-section {
    max-width: 600px;
    margin: 0 auto 30px auto;
    padding: 20px 20px 30px 20px;
    text-align: center;
    background-color: var(--white);
    position: relative;
}

.bottom-details-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: var(--olive);
    margin-bottom: 15px;
    font-weight: 700;
}

.bottom-details-icon {
    font-size: 2.2rem;
    color: var(--olive);
    margin: 0 auto 20px auto;
    display: block;
    line-height: 1;
}

.dresscode-category {
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--olive-darker);
    margin-bottom: 15px;
}

.dresscode-desc {
    font-size: 1.05rem;
    color: #4a4a4a;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto;
}

/* ----- ESTILOS SECCIÓN RECOMENDACIONES ----- */
.recommendations-section {
    max-width: 600px;
    margin: 10px auto 30px auto;
    padding: 20px 20px 30px 20px;
    text-align: center;
    background-color: var(--white);
    position: relative;
}

.recommendations-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: var(--olive);
    margin-bottom: 15px;
    font-weight: 700;
}

.recommendations-icon {
    font-size: 2.3rem;
    color: var(--olive);
    margin: 0 auto 20px auto;
    display: block;
    line-height: 1;
}

.recommendations-desc {
    font-size: 1.1rem;
    color: #4a4a4a;
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto;
}

/* ----- ESTILOS CUADRITO DE CONFIRMACIÓN DE ASISTENCIA ----- */
.rsvp-card-section {
    max-width: 500px;
    margin: 30px auto 50px auto;
    padding: 20px 15px;
    text-align: center;
    position: relative;
}

.rsvp-box-container {
    background-color: var(--off-white);
    border-radius: 8px;
    padding: 40px 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08), 0 5px 15px rgba(0,0,0,0.04);
    border: 1px solid rgba(121, 128, 89, 0.2);
    position: relative;
}

.rsvp-box-container::before {
    content: '';
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    pointer-events: none;
}

.rsvp-title-script {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: var(--olive-darker);
    margin-bottom: 15px;
    line-height: 1;
}

.rsvp-desc {
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-abrir-modal {
    display: inline-block;
    background-color: var(--olive-dark);
    color: var(--white);
    padding: 12px 32px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 12px rgba(94, 100, 67, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-abrir-modal:hover {
    background-color: var(--olive-darker);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(94, 100, 67, 0.4);
}


/* ----- ESTILOS SECCIÓN Y MODAL DE REGALOS (Igual a Detalles) ----- */
.regalos-section {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--off-white, #fdfcf800);
}

/* Título principal con la tipografía cursiva idéntica */
.regalos-section h2 {
    margin-bottom: 15px;
    font-size: 38px;
    font-family: 'Great Vibes', 'Parisienne', 'Sacramento', 'Allura', cursive;
    color: var(--olive-darker, #656d4a);
    font-weight: normal;
}

/* Icono de la sección */
.regalos-section .recommendations-icon {
    font-size: 2rem;
    color: var(--olive-darker, #656d4a);
    margin-bottom: 15px;
    display: inline-block;
}

/* Textos descriptivos */
.regalos-section p, 
.modal-content-regalos p {
    font-family: inherit;
    color: var(--text-color, #555555);
    font-size: 1rem;
    line-height: 1.6;
}

/* Botón unificado con el estilo general */
.btn-abrir-modal {
    background-color: var(--olive-darker, #656d4a);
    color: var(--white, #ffffff);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.btn-abrir-modal:hover {
    background-color: var(--olive, #55603b);
}

/* Fondo oscuro del Modal */
.modal-regalos {
    display: none; 
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    padding: 15px;
}

/* Contenedor del Modal con el marco elegante */
.modal-content-regalos {
    background-color: var(--off-white, #fdfcf8);
    border-radius: 8px;
    padding: 40px 25px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15), 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(121, 128, 89, 0.2);
}

/* Efecto de marco interno dorado idéntico al de los demás modales */
.modal-content-regalos::before {
    content: '';
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    pointer-events: none;
}

/* Título dentro del Modal (¡Muchas gracias!) con la misma fuente cursiva */
.modal-content-regalos h3 {
    font-family: 'Great Vibes', 'Parisienne', 'Sacramento', 'Allura', cursive;
    font-size: 38px;
    color: var(--olive-darker, #656d4a);
    margin-bottom: 15px;
    font-weight: normal;
}

/* Botón de cerrar (la X) */
.modal-content-regalos .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    font-weight: 400;
    cursor: pointer;
    color: var(--olive-darker, #656d4a);
    transition: color 0.3s ease;
    z-index: 10;
}

.modal-content-regalos .close:hover {
    color: var(--gold-dark, #d4af37);
}

/* Tarjeta interna para la cuenta bancaria */
.info-cuenta {
    margin-top: 20px;
    background: var(--white, #ffffff);
    padding: 20px;
    border-radius: 6px;
    border: 1px solid rgba(121, 128, 89, 0.15);
    text-align: left;
}

.info-cuenta p {
    margin-bottom: 8px;
    color: var(--text-color, #555555);
}

/* Número de cuenta o CLABE */
.numero-clabe {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    letter-spacing: 1.5px;
    margin-top: 5px;
    font-family: monospace;
    text-align: center;
}

/* Ajustes móviles */
@media (max-width: 450px) {
    .names-title { font-size: 2.8rem; }
    .date-text { font-size: 1.2rem; }
    .envelope-wrapper { transform: scale(0.9); margin-top: -10px; }
    .envelope-wrapper:hover { transform: scale(0.93); }
    .click-text { margin-top: 1rem; }
    .reference-card { padding: 20px 10px; }
    .floral-branch-container { width: 280px; margin-left: -70px; margin-bottom: 40px; }
    
    .reference-logo-img { height: 65px; }

    .names-script-large { font-size: 3.8rem; }
    .date-day-num { font-size: 4.5rem; }
    .date-side-text { min-width: 80px; font-size: 0.75rem; }
    .timer-numbers { font-size: 1.4rem; }
    
    .floral-side-left { left: -10px; top: -10px; width: 100px; }
    .floral-side-right { right: -10px; bottom: -10px; width: 120px; }

    .gallery-section { padding-bottom: 20px; gap: 20px; }
    .gallery-frame { padding: 10px 10px 35px 10px; max-width: 280px; }
    .reveal-right-angled.revealed { margin-top: 20px; transform: translateX(0) rotate(3deg); }
    .reveal-left-angled.revealed { transform: translateX(0) rotate(-2deg); }

    .location-title { font-size: 3rem; }
    .bottom-details-title { font-size: 3rem; }
    .recommendations-title { font-size: 3rem; }
    .cp-title-script { font-size: 2.5rem; }
    .rsvp-title-script { font-size: 2.5rem; }
}