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

body {
    font-family: 'Nunito Sans', sans-serif;
    background: #111;
    color: #fff;
}

/* ESTILOS UNIFICADOS PARA H2 */
h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: clamp(24px, 3vw, 36px);
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}

/* H2 CON NEON FLICKER (para secciones con fondo negro) */
h2.neon-flicker,
#countdown h2,
.when-content h2,
.gift-content h2,
.adults-content h2,
.rsvp-content h2 {
    display: inline-block;
    -webkit-text-fill-color: #E0E0E0;
    -webkit-text-stroke: 0.5px #C0C0C0;
    text-shadow:
        0 0 4px #C0C0C0,
        0 0 8px #C0C0C0,
        0 0 16px #E0E0E0,
        0 0 32px #C0C0C0;
    animation: flicker 2.5s infinite alternate;
}

/* H2 SIN NEON FLICKER (para secciones con fondo blanco) */
h2.clean-style,
.itinerary-content h2,
.dresscode-content h2,
.music-content h2 {
    color: #333;
    text-shadow:
        0 0 8px rgba(51, 51, 51, 0.2);
    font-weight: 500;
}

/* Desactivar animación en móviles para los h2 con neon */
@media (max-width: 1081px) {

    h2.neon-flicker,
    #countdown h2,
    .when-content h2,
    .gift-content h2,
    .adults-content h2,
    .rsvp-content h2 {
        animation: none !important;
    }
}

body.login-page {
    background: #111;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#intro {
    background-color: #000;
    background: url(../img/portada-bg.jpg) center/cover no-repeat;
    height: 90vh;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
    justify-content: flex-end;
    filter: grayscale(100%);
}

#intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.intro-content {
    padding: 0 2rem;
    z-index: 1;
}

.intro-names {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(75px, 10vw, 150px);
    line-height: 0.8;
    text-shadow: 0 4px 32px rgba(0, 0, 0, 0.25);
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    max-width: 50%;
}

@media (max-width: 500px) {
    .intro-names {
        max-width: 75%;
    }
}

/* CUENTA REGRESIVA */

#countdown {
    padding: 6rem 0;
    background: #000;
    background-image:
        linear-gradient(rgba(192, 192, 192, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 192, 192, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    perspective: 800px;
}

.countdown-content {
    padding: 0 2rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

#countdown h2,
.neon-flicker {
    font-size: clamp(24px, 7vw, 36px);
    padding: 14px;
    border: 2px solid #C0C0C0;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.3);
}

#timer {
    display: flex;
    gap: 1rem;
    justify-content: center;
    max-width: 100%;
}

@media (max-width: 480px) {
    #timer {
        width: calc(100% + 1rem);
        max-width: unset;
    }
}

@media (max-width: 320px) {
    #timer {
        flex-wrap: wrap;
    }
}

#timer .days-container,
#timer .hours-container,
#timer .minutes-container,
#timer .seconds-container {
    background: none;
    border: none;
    box-shadow: none;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
}

#timer #days,
#timer #hours,
#timer #minutes,
#timer #seconds {
    font-family: 'Orbitron', 'Montserrat', Arial, sans-serif;
    font-size: 2.5rem;
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.08em;
    background: none;
    border: none;
    text-align: center;
    line-height: 1;
    text-shadow:
        0 0 4px #fff,
        0 0 8px #fff,
        0 0 16px #C0C0C0;
}

#timer .days-text,
#timer .hours-text,
#timer .minutes-text,
#timer .seconds-text {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #fff;
    font-size: 1rem;
    margin-top: 0.5rem;
    letter-spacing: 0.15em;
    text-shadow:
        0 0 2px #fff,
        0 0 4px #C0C0C0;
    text-transform: uppercase;
}

@media (max-width: 480px) {

    #timer .days-container,
    #timer .hours-container,
    #timer .minutes-container,
    #timer .seconds-container {
        width: 80px;
        height: 80px;
    }

    #timer #days,
    #timer #hours,
    #timer #minutes,
    #timer #seconds {
        font-size: 2.2rem;
    }

    #timer .days-text,
    #timer .hours-text,
    #timer .minutes-text,
    #timer .seconds-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 375px) {

    #timer .days-container,
    #timer .hours-container,
    #timer .minutes-container,
    #timer .seconds-container {
        width: 80px;
        height: 80px;
    }

    #timer #days,
    #timer #hours,
    #timer #minutes,
    #timer #seconds {
        font-size: 1.8rem;
    }

    #timer .days-text,
    #timer .hours-text,
    #timer .minutes-text,
    #timer .seconds-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {

    #timer #days,
    #timer #hours,
    #timer #minutes,
    #timer #seconds {
        font-size: 2rem;
    }

    #timer .days-text,
    #timer .hours-text,
    #timer .minutes-text,
    #timer .seconds-text {
        font-size: 0.8rem;
    }
}

.neon-flicker {
    animation: flicker 2.5s infinite alternate;
    color: #fff;
    font-family: 'Montserrat', 'Orbitron', Arial, sans-serif;
    font-weight: 400;
    font-size: 2.2rem;
    letter-spacing: 0.12em;
    background: none;
    border: none;
    text-align: center;
    text-shadow:
        0 0 16px #fff,
        0 0 32px #fff,
        0 0 48px #fff,
        0 0 64px #fff,
        0 0 96px #fff,
        0 0 128px #fff;
}

@keyframes flicker {

    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        opacity: 1;
        text-shadow:
            0 0 16px #fff,
            0 0 32px #fff,
            0 0 48px #fff,
            0 0 64px #fff,
            0 0 96px #fff,
            0 0 128px #fff;
    }

    20%,
    22%,
    24%,
    55% {
        opacity: 0.4;
        text-shadow: none;
    }
}

@media (max-width: 1081px) {
    .neon-flicker {
        animation: none !important;
    }
}

#quote {
    background: #fff;
    background-image: linear-gradient(rgba(192, 192, 192, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 192, 192, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
    perspective: 800px;
    padding: 4rem 0;
}

.quote-content {
    padding: 0 2rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.quote-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(18px, 3vw, 24px);
    color: #000;
    font-weight: 300;
    margin: 0;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 2rem 0;
    border-top: 2px solid #39FF14;
    border-bottom: 2px solid #39FF14;
    text-shadow: 0 0 16px #fff, 0 0 32px #fff, 0 0 48px #fff, 0 0 64px #fff, 0 0 96px #fff, 0 0 128px #fff;
    font-style: italic;

}

#when {
    padding: 4rem 0;
    background: #000;
    background-image: linear-gradient(rgba(192, 192, 192, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 192, 192, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    perspective: 800px;
}

.when-content {
    padding: 0 2rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.when-content .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        0 4px 16px 0 rgba(255, 255, 255, 0.1);
    width: 100%;
}

.when-icon {
    font-size: 3rem;
    color: #C0C0C0;
    opacity: 0.8;
}

.when-content-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.when-content h2 {
    /* Estilos heredados del h2 base y neon-flicker */
}

.when-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(18px, 3vw, 24px);
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0;
    text-align: center;
}

#itinerary {
    padding: 4rem 0;
    background: #fff;
    background-image: linear-gradient(rgba(192, 192, 192, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 192, 192, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
    perspective: 800px;
}

.itinerary-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    z-index: 1;
    padding: 0 2rem;
}

.itinerary-content h2 {
    margin-bottom: 2rem;
}

.itinerary-content .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.1),
        0 4px 16px 0 rgba(0, 0, 0, 0.05);
    width: 100%;
}

.itinerary-icon {
    font-size: 3rem;
    color: #666;
    opacity: 0.8;
}

.itinerary-content .when-content-text h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #333;
    font-size: clamp(16px, 3vw, 1.3rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

.itinerary-content .when-content-text p {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #666;
    font-size: clamp(16px, 3vw, 1rem);
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-align: center;
    margin: 0;
    padding: 0;
}

.itinerary-content .when-content-text a {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #666;
    font-size: clamp(16px, 3vw, 1rem);
    letter-spacing: 0.05em;
    text-align: center;
    text-decoration: none;
    border: 1px solid #666;
    padding: 0.8rem 1.5rem;
    font-size: clamp(16px, 3vw, 1rem);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background: rgba(102, 102, 102, 0.05);
    text-transform: uppercase;
    font-weight: 400;

    &:hover {
        background: rgba(102, 102, 102, 0.15);
        border-color: #333;
        color: #333;
    }
}

/* REGALO SECTION */
#gift {
    padding: 4rem 0;
    background: #000;
    background-image:
        linear-gradient(rgba(192, 192, 192, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 192, 192, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    perspective: 800px;
}

.gift-content {
    padding: 0 2rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.gift-content .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow:
        0 4px 16px 0 rgba(0, 0, 0, 0.2);
    width: 100%;
}

.gift-content h2 {
    /* Estilos heredados del h2 base y neon-flicker */
}

.gift-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(16px, 3vw, 20px);
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-align: center;
    line-height: 1.5;
    margin: 0;
}

.gift-content .btn {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #222;
    background: #fff;
    border: 1.5px solid #C0C0C0;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.08em;
    box-shadow: none;
}

.gift-content .btn:hover,
.gift-content .btn:focus {
    background: #222;
    color: #fff;
    border-color: #222;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    outline: 1px solid #fff;
}

.gift-icon {
    font-size: 3rem;
    color: #C0C0C0;
    opacity: 0.8;
}

/* DRESS CODE SECTION */
#dresscode {
    padding: 4rem 0;
    background: #fff;
    background-image: linear-gradient(rgba(192, 192, 192, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 192, 192, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
    perspective: 800px;
}

.dresscode-content {
    padding: 0 2rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.dresscode-content .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow:
        0 4px 16px 0 rgba(0, 0, 0, 0.1);
    width: 100%;
}

.dresscode-content h2 {
    /* Estilos heredados del h2 base y clean-style */
}

.dresscode-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(16px, 3vw, 20px);
    color: #666;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-align: center;
    line-height: 1.5;
    margin: 0;
}

.dresscode-icon {
    font-size: 3rem;
    color: #666;
    opacity: 0.8;
}

/* SOLO ADULTOS SECTION */
#adults {
    padding: 4rem 0;
    background: #000;
    background-image:
        linear-gradient(rgba(192, 192, 192, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 192, 192, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    perspective: 800px;
}

.adults-content {
    padding: 0 2rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.adults-content .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow:
        0 4px 16px 0 rgba(0, 0, 0, 0.2);
    width: 100%;
}

.adults-content h2 {
    /* Estilos heredados del h2 base y neon-flicker */
}

.adults-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(16px, 3vw, 20px);
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-align: center;
    line-height: 1.5;
    margin: 0;
}

.adults-icon {
    font-size: 3rem;
    color: #C0C0C0;
    opacity: 0.8;
}

/* MÚSICA SECTION */
#music {
    padding: 4rem 0;
    background: #fff;
    background-image: linear-gradient(rgba(192, 192, 192, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 192, 192, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
    perspective: 800px;
}

.music-content {
    padding: 0 2rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.music-content .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow:
        0 4px 16px 0 rgba(0, 0, 0, 0.1);
    width: 100%;
}

.music-content h2 {
    /* Estilos heredados del h2 base y clean-style */
}

.music-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(16px, 3vw, 20px);
    color: #666;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-align: center;
    line-height: 1.5;
    margin: 0;
}

.music-content .btn {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #222;
    background: #fff;
    border: 1.5px solid #C0C0C0;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.08em;
    box-shadow: none;
}

.music-content .btn:hover,
.music-content .btn:focus {
    background: #222;
    color: #fff;
    border-color: #222;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    outline: 1px solid #fff;
}

.music-icon {
    font-size: 3rem;
    color: #666;
    opacity: 0.8;
}

/* CONFIRMAR ASISTENCIA SECTION */
#rsvp {
    padding: 4rem 0;
    background: #000;
    background-image:
        linear-gradient(rgba(192, 192, 192, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 192, 192, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    perspective: 800px;
}

.rsvp-content {
    padding: 0 2rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.rsvp-content .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow:
        0 4px 16px 0 rgba(0, 0, 0, 0.2);
    width: 100%;
}

.rsvp-content h2 {
    /* Estilos heredados del h2 base y neon-flicker */
}

.rsvp-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(16px, 3vw, 20px);
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-align: center;
    line-height: 1.5;
    margin: 0;
}

.rsvp-content .btn {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #222;
    background: #fff;
    border: 1.5px solid #C0C0C0;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.08em;
    box-shadow: none;
}

.rsvp-content .btn:hover,
.rsvp-content .btn:focus {
    background: #222;
    color: #fff;
    border-color: #222;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    outline: 1px solid #fff;
}

.rsvp-icon {
    font-size: 3rem;
    color: #C0C0C0;
    opacity: 0.8;
}

/* CIERRE SECTION */
#closing {
    padding: 4rem 0;
    background: #fff;
}

.closing-content {
    padding: 0 2rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.closing-names {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(24px, 3vw, 3rem);
    color: #222;
    font-weight: 700;
    text-align: center;
    margin: 0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.closing-message {
    font-size: clamp(16px, 3vw, 1.2rem);
    color: #444;
    text-align: center;
    margin: 0;
}

.closing-hearts {
    font-size: clamp(16px, 3vw, 1.3rem);
    color: #e63946;
    margin-left: 0.5rem;
}

/* --- AJUSTES DE ESPACIADO PARA MOBILE --- */
@media (max-width: 480px) {
    section {
        padding: 3rem 0 !important;
    }

    #countdown {
        padding: 6rem 0 !important;
    }

    .countdown-content,
    .quote-content,
    .when-content,
    .itinerary-content,
    .gift-content,
    .dresscode-content,
    .adults-content,
    .music-content,
    .rsvp-content,
    .closing-content {
        padding: 0 1rem !important;
        gap: 1.2rem !important;
    }
}

@media (max-width: 350px) {
    section {
        padding: 1.2rem 0 !important;
    }

    .countdown-content,
    .quote-content,
    .when-content,
    .itinerary-content,
    .gift-content,
    .dresscode-content,
    .adults-content,
    .music-content,
    .rsvp-content,
    .closing-content {
        padding: 0 0.5rem !important;
        gap: 0.7rem !important;
    }
}

@media (min-width: 900px) {

    .when-content .card,
    .itinerary-content .card,
    .gift-content .card,
    .dresscode-content .card,
    .adults-content .card,
    .music-content .card,
    .rsvp-content .card {
        width: 75%;
        max-width: 800px;
        margin: 0 auto;
    }

    .when-content-text {
        gap: 2rem;
    }

    .itinerary-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-items: center;
        align-items: start;
        width: 100%;
        max-width: 864px;
        margin: 0 auto;
    }

    .itinerary-content .card {
        width: 100%;
        max-width: 400px;
        margin: 0;
    }
}

/* CSS para el grid de las cards del itinerario en desktop */
.itinerary-cards {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

@media (min-width: 900px) {
    .itinerary-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        justify-items: center;
        align-items: start;
        width: 100%;
    }

    .itinerary-cards .card {
        width: 100%;
        max-width: 400px;
        margin: 0;
    }
}

.music-btn.playing {
    background: #222 !important;
    box-shadow: 0 0 0 6px #2222;
    color: #fff !important;
}

.music-btn.paused {
    background: #eee !important;
    box-shadow: 0 0 0 2px #aaa;
    color: #222 !important;
}

.music-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    box-shadow: 0 2px 16px rgba(161, 140, 209, 0.15);
    transition: box-shadow 0.2s, background 0.2s;
    cursor: pointer;
}

.music-btn.playing {
    animation: pulse 1.2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(161, 140, 209, 0.3);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(161, 140, 209, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(161, 140, 209, 0);
    }
}

.music-btn svg {
    width: 2rem;
    height: 2rem;
    fill: #fff;
    transition: fill 0.2s;
}

.music-btn.paused {
    background: #eee;
}

.music-btn.paused svg {
    fill: #a18cd1;
}

/* Modal fondo */
/* --- MODAL DE REGALO AJUSTADO --- */
#gift-modal-bg {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    align-items: center;
    justify-content: center;
}

#gift-modal-bg.active {
    display: flex;
}

#gift-modal {
    background: #000;
    background-image:
        linear-gradient(rgba(192, 192, 192, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 192, 192, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    perspective: 800px;
    border-radius: 1rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    padding: 2rem 1.2rem;
    max-width: 700px;
    width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    border: 1.5px solid #C0C0C0;
}

.gift-modal-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    color: #fff;
    font-weight: 400;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 0.08em;
    text-shadow: 0 0 8px #C0C0C0, 0 0 16px #fff2;
    text-transform: uppercase;
}

.gift-modal-accounts {
    display: flex;
    gap: 1rem;
    width: 100%;
    justify-content: center;
}

.gift-modal-account {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 0.7rem;
    box-shadow: 0 2px 8px 0 rgba(192, 192, 192, 0.07), 0 0 0 1.5px #39FF14 inset;
    padding: 1.2rem 1rem;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    max-width: 320px;
    border: 2px solid transparent;
    background-clip: padding-box, border-box;
    position: relative;
}

.gift-modal-account::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.7rem;
    padding: 1.5px;
    background: linear-gradient(120deg, #39FF14 0%, #C0C0C0 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.gift-modal-account-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(16px, 3vw, 1.3rem);
    color: #39FF14;
    font-weight: 400;
    margin-bottom: 0.2rem;
    letter-spacing: 0.08em;
    text-shadow: 0 0 6px #39FF14aa;
    text-transform: uppercase;
}

.gift-modal-label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(16px, 3vw, 1rem);
    color: #C0C0C0;
    font-weight: 400;
    margin-bottom: 0.05rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.gift-modal-value {
    font-family: 'Nunito Sans', Arial, sans-serif;
    font-size: clamp(16px, 3vw, 1rem);
    color: #fff;
    font-weight: 400;
    word-break: break-all;
    margin-bottom: 0.05rem;
    background: none;
    letter-spacing: 0.05em;
}

.gift-modal-copy-btn {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #222;
    background: #fff;
    border: 1.5px solid #C0C0C0;
    padding: 0.4rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    margin-top: 0.1rem;
    margin-bottom: 0.2rem;
    min-width: 0;
    height: auto;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    font-weight: 400;
    box-shadow: none;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
}

.gift-modal-copy-btn:hover,
.gift-modal-copy-btn:focus {
    background: #222;
    color: #fff;
    border-color: #222;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    outline: 1px solid #fff;
}

#gift-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #C0C0C0;
    cursor: pointer;
    transition: color 0.2s;
}

#gift-modal-close:hover {
    color: #39FF14;
}

@media (max-width: 700px) {
    #gift-modal {
        padding: 1.2rem 0.5rem;
    }

    .gift-modal-accounts {
        flex-direction: column;
        gap: 1.2rem;
    }

    .gift-modal-account {
        width: 100%;
        align-items: flex-start;
        max-width: unset;
    }
}

@media (max-width: 500px) {
    #gift-modal {
        width: 90vw;
        margin: 0 auto;
    }
}

#rsvp-modal-bg {
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(2px);
}

#rsvp-modal {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 1rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
    padding: 2.2rem 1.5rem;
    max-width: 90vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    border: 1.5px solid #e0e0e0;
    background-image: none;
}

.rsvp-modal-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(22px, 3vw, 32px);
    color: #222;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.08em;
    text-shadow: none;
    text-transform: none;
    max-width: 500px;
}

#rsvp-notas {
    font-family: 'Nunito Sans', Arial, sans-serif;
    font-size: 1.1rem;
    padding: 0.7rem 1.2rem;
    border-radius: 0.5rem;
    border: 1.5px solid #C0C0C0;
    outline: none;
    width: 220px;
    background: #fafafa;
    color: #222;
    margin-bottom: 0.5rem;
    text-align: center;
    transition: border-color 0.2s;
    box-shadow: none;
}

#rsvp-notas:focus {
    border-color: #222;
}

#rsvp-form .btn {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #222;
    background: #fff;
    border: 1.5px solid #C0C0C0;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    font-weight: 400;
    box-shadow: none;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
}

#rsvp-form .btn:hover,
#rsvp-form .btn:focus {
    background: #222;
    color: #fff;
    border-color: #222;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    outline: 1px solid #fff;
}

#rsvp-error {
    color: #e63946;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    min-height: 0;
    text-align: center;
    letter-spacing: 0.04em;
    margin-top: 0;
}

#rsvp-invitados-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
    width: 100%;
}

#rsvp-invitados-list label {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #222;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

#rsvp-invitados-list input[type=checkbox] {
    accent-color: #222;
    width: 1.2rem;
    height: 1.2rem;
}

#rsvp-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}

#rsvp-modal-close:hover {
    color: #222;
}

#rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    width: 98%;
}

#rsvp-notas {
    width: 100%;
    min-height: 2.5rem;
    resize: vertical;
    box-sizing: border-box;
}

#rsvp-form .btn {
    width: 100%;
    display: block;
    margin: 0 auto;
}

#welcome-modal-bg {
    position: fixed;
    z-index: 3500;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(2px);
}

#welcome-modal {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 1rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
    padding: 2.2rem 1.5rem;
    max-width: 90vw;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    border: 1.5px solid #e0e0e0;
}

.welcome-modal-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(22px, 3vw, 32px);
    color: #222;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.08em;
    max-width: 500px;
    margin-bottom: 0.5rem;
}

.welcome-modal-msg {
    font-family: 'Nunito Sans', Arial, sans-serif;
    font-size: 1.1rem;
    color: #222;
    text-align: center;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    max-width: 500px;
}

#welcome-modal-close.btn {
    width: 100%;
    display: block;
    margin: 0 auto;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #222;
    background: #fff;
    border: 1.5px solid #C0C0C0;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    font-weight: 400;
    box-shadow: none;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
}

#welcome-modal-close.btn:hover,
#welcome-modal-close.btn:focus {
    background: #222;
    color: #fff;
    border-color: #222;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    outline: 1px solid #fff;
}

/* Estilos específicos para el formulario de login */
body.login-page {
    font-family: 'Nunito Sans', sans-serif;
    background: #111;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.token-form-container {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 1rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
    padding: 2.2rem 1.5rem;
    max-width: 90vw;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    border: 1.5px solid #e0e0e0;
}

.token-form-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(22px, 3vw, 32px);
    color: #222;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.08em;
    max-width: 500px;
    margin-bottom: 0.5rem;
}

.token-form-msg {
    font-family: 'Nunito Sans', Arial, sans-serif;
    font-size: 1.1rem;
    color: #222;
    text-align: center;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    max-width: 500px;
}

.token-form input[type=text] {
    font-family: 'Nunito Sans', Arial, sans-serif;
    font-size: 1.1rem;
    padding: 0.7rem 1.2rem;
    border-radius: 0.5rem;
    border: 1.5px solid #C0C0C0;
    outline: none;
    width: 220px;
    background: #fafafa;
    color: #222;
    margin-bottom: 0.5rem;
    text-align: center;
    transition: border-color 0.2s;
    box-shadow: none;
    display: block;
}

.token-form input[type=text]:focus {
    border-color: #222;
}

.token-form .btn {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #222;
    background: #fff;
    border: 1.5px solid #C0C0C0;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    font-weight: 400;
    box-shadow: none;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    width: 100%;
    display: block;
    margin: 0 auto;
}

.token-form .btn:hover,
.token-form .btn:focus {
    background: #222;
    color: #fff;
    border-color: #222;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    outline: 1px solid #fff;
}

.token-form-error {
    color: #e63946;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    text-align: center;
    letter-spacing: 0.04em;
    margin-top: 0;
    display: none;
}

.token-form-error.active {
    display: block;
    min-height: 1.2em;
}