
/* =========================================
   CONFIGURACIÓN GENERAL
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background: #080b1a;
    color: white;
    overflow-x: hidden;
}


/* =========================================
   PANTALLA INICIAL
   ========================================= */

.pantalla-inicio {
    min-height: 100vh;
    min-height: 100svh;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(circle at center, #17275c 0%, #0c1230 40%, #050714 100%);
}


/* =========================================
   ESTRELLAS
   ========================================= */

.estrellas {
    position: absolute;
    inset: 0;

    pointer-events: none;
}

.estrellas span {
    position: absolute;

    color: rgba(255, 255, 255, 0.7);

    animation: brillo 2s infinite alternate;
}

.estrellas span:nth-child(1) {
    top: 15%;
    left: 15%;
    font-size: 22px;
}

.estrellas span:nth-child(2) {
    top: 25%;
    right: 18%;
    font-size: 16px;
    animation-delay: 0.5s;
}

.estrellas span:nth-child(3) {
    top: 65%;
    left: 10%;
    font-size: 18px;
    animation-delay: 1s;
}

.estrellas span:nth-child(4) {
    top: 75%;
    right: 15%;
    font-size: 30px;
}

.estrellas span:nth-child(5) {
    top: 12%;
    right: 40%;
    font-size: 14px;
    animation-delay: 0.8s;
}

.estrellas span:nth-child(6) {
    bottom: 18%;
    left: 35%;
    font-size: 20px;
    animation-delay: 1.3s;
}

.estrellas span:nth-child(7) {
    top: 45%;
    right: 8%;
    font-size: 25px;
}


/* =========================================
   CONTENIDO
   ========================================= */

.contenido-inicio {
    position: relative;
    z-index: 2;

    text-align: center;

    width: 100%;
    padding: 30px 20px;
}

.frase-inicial {
    font-size: clamp(18px, 3vw, 26px);

    margin-bottom: 20px;

    color: rgba(255, 255, 255, 0.9);

    animation: aparecer 1.5s ease;
}

.contenido-inicio h1 {
    display: none;
}


/* =========================================
   TORTA — DISEÑO MEJORADO
   ========================================= */

.torta {

    position: relative;

    width: 300px;
    height: 270px;

    margin: 25px auto 10px;

    padding: 0;

    border: none;

    background: transparent;

    cursor: pointer;

    display: block;

    transition:
        transform 0.35s ease,
        filter 0.35s ease;

    filter:
        drop-shadow(
            0 25px 20px
            rgba(0, 0, 0, 0.35)
        );

}


/* =========================================
   EFECTO AL PASAR EL MOUSE
   ========================================= */

.torta:hover {

    transform:
        translateY(-7px)
        scale(1.03);

    filter:
        drop-shadow(
            0 30px 25px
            rgba(0, 0, 0, 0.45)
        );

}


/* =========================================
   AL TOCAR
   ========================================= */

.torta:active {

    transform:
        translateY(-2px)
        scale(0.98);

}


/* =========================================
   PLATO
   ========================================= */

.plato {

    position: absolute;

    left: 50%;

    bottom: 5px;

    transform:
        translateX(-50%);

    width: 285px;

    height: 30px;

    border-radius:
        50%;

    background:
        linear-gradient(
            to bottom,
            #dce9ff,
            #8ca9d8
        );

    box-shadow:

        inset 0 5px 8px
        rgba(
            255,
            255,
            255,
            0.7
        ),

        0 8px 12px
        rgba(
            0,
            0,
            0,
            0.3
        );

    z-index: 1;

}


/* =========================================
   PISO INFERIOR
   ========================================= */

.pastel-inferior {

    position: absolute;

    left: 50%;

    bottom: 27px;

    transform:
        translateX(-50%);

    width: 245px;

    height: 65px;

    border-radius:
        12px 12px 18px 18px;

    background:
        linear-gradient(
            135deg,
            #6d9bea,
            #315fae 55%,
            #244985
        );

    box-shadow:

        inset 0 8px 10px
        rgba(
            255,
            255,
            255,
            0.18
        ),

        inset 0 -10px 15px
        rgba(
            0,
            0,
            0,
            0.18
        );

    z-index: 2;

}


/* =========================================
   CREMA DEL PISO INFERIOR
   ========================================= */

.pastel-inferior::before {

    content: "";

    position: absolute;

    top: -5px;

    left: 8px;

    width: calc(100% - 16px);

    height: 16px;

    border-radius:
        50%;

    background:
        #f4f8ff;

    box-shadow:
        0 3px 5px
        rgba(
            0,
            0,
            0,
            0.12
        );

}


/* =========================================
   GOTAS DE CREMA
   ========================================= */

.pastel-inferior::after {

    content: "";

    position: absolute;

    top: 2px;

    left: 30px;

    width: 18px;

    height: 22px;

    border-radius:
        0 0 12px 12px;

    background:
        #f4f8ff;

    box-shadow:

        45px 2px 0
        #f4f8ff,

        90px -1px 0
        #f4f8ff,

        140px 2px 0
        #f4f8ff;

}


/* =========================================
   PISO MEDIO
   ========================================= */

.pastel-medio {

    position: absolute;

    left: 50%;

    bottom: 87px;

    transform:
        translateX(-50%);

    width: 205px;

    height: 58px;

    border-radius:
        12px 12px 16px 16px;

    background:
        linear-gradient(
            135deg,
            #87adf4,
            #4d7fd2 55%,
            #315fae
        );

    box-shadow:

        inset 0 7px 10px
        rgba(
            255,
            255,
            255,
            0.2
        ),

        inset 0 -8px 12px
        rgba(
            0,
            0,
            0,
            0.15
        );

    z-index: 3;

}


/* =========================================
   CREMA PISO MEDIO
   ========================================= */

.pastel-medio::before {

    content: "";

    position: absolute;

    top: -6px;

    left: 7px;

    width: calc(100% - 14px);

    height: 15px;

    border-radius:
        50%;

    background:
        #ffffff;

}


/* =========================================
   GOTAS PISO MEDIO
   ========================================= */

.pastel-medio::after {

    content: "";

    position: absolute;

    top: 1px;

    left: 25px;

    width: 15px;

    height: 20px;

    border-radius:
        0 0 10px 10px;

    background:
        #ffffff;

    box-shadow:

        40px 1px 0
        #ffffff,

        82px -1px 0
        #ffffff,

        125px 1px 0
        #ffffff;

}


/* =========================================
   PISO SUPERIOR
   ========================================= */

.pastel-superior {

    position: absolute;

    left: 50%;

    bottom: 142px;

    transform:
        translateX(-50%);

    width: 160px;

    height: 52px;

    border-radius:
        12px 12px 15px 15px;

    background:
        linear-gradient(
            135deg,
            #a9c7ff,
            #6f9eea 55%,
            #4d78c7
        );

    box-shadow:

        inset 0 7px 10px
        rgba(
            255,
            255,
            255,
            0.25
        ),

        inset 0 -8px 10px
        rgba(
            0,
            0,
            0,
            0.15
        );

    z-index: 4;

}


/* =========================================
   CREMA SUPERIOR
   ========================================= */

.pastel-superior::before {

    content: "";

    position: absolute;

    top: -7px;

    left: 6px;

    width: calc(100% - 12px);

    height: 16px;

    border-radius:
        50%;

    background:
        #ffffff;

    box-shadow:
        0 3px 6px
        rgba(
            0,
            0,
            0,
            0.12
        );

}


/* =========================================
   CREMA ENTRE PISOS
   ========================================= */

.crema {

    position: absolute;

    left: 50%;

    bottom: 131px;

    transform:
        translateX(-50%);

    width: 175px;

    height: 18px;

    border-radius:
        50%;

    background:
        #f8fbff;

    box-shadow:
        0 4px 8px
        rgba(
            0,
            0,
            0,
            0.12
        );

    z-index: 5;

}


/* =========================================
   DECORACIONES SUPERIORES
   ========================================= */

.pastel-superior {

    overflow: visible;

}


.pastel-superior {

    /* pequeñas decoraciones */

    background-image:

        radial-gradient(
            circle at 25% 55%,
            #ffffff 0 3px,
            transparent 4px
        ),

        radial-gradient(
            circle at 50% 45%,
            #ffd166 0 3px,
            transparent 4px
        ),

        radial-gradient(
            circle at 75% 60%,
            #ff7eb6 0 3px,
            transparent 4px
        );

}


/* =========================================
   VELAS
   ========================================= */

.velas {

    position: absolute;

    left: 50%;

    bottom: 188px;

    transform:
        translateX(-50%);

    width: 125px;

    height: 65px;

    display: flex;

    justify-content: center;

    align-items: flex-start;

    gap: 18px;

    z-index: 8;

}


.vela {

    position: relative;

    width: 14px;

    height: 52px;

    border-radius:
        7px 7px 4px 4px;

    background:
        repeating-linear-gradient(
            135deg,
            #ffffff 0 5px,
            #8ab4ff 5px 9px
        );

    box-shadow:

        inset 2px 0 4px
        rgba(
            255,
            255,
            255,
            0.7
        ),

        2px 4px 6px
        rgba(
            0,
            0,
            0,
            0.25
        );

}


/* =========================================
   MECHA
   ========================================= */

.vela::before {

    content: "";

    position: absolute;

    left: 50%;

    top: -7px;

    transform:
        translateX(-50%);

    width: 3px;

    height: 9px;

    border-radius: 3px;

    background:
        #262626;

}


/* =========================================
   LLAMA
   ========================================= */

.llama {

    position: absolute;

    left: 50%;

    top: -31px;

    transform:
        translateX(-50%);

    width: 18px;

    height: 28px;

    border-radius:
        50% 50% 50% 50%;

    background:
        radial-gradient(
            ellipse at center bottom,
            #fff4a3 0 20%,
            #ffd166 35%,
            #ff9f1c 65%,
            #ff6b35 100%
        );

    box-shadow:

        0 0 8px
        #ffd166,

        0 0 18px
        rgba(
            255,
            180,
            50,
            0.8
        );

    animation:
        llamaMovimiento
        0.7s
        ease-in-out
        infinite alternate;

}


@keyframes llamaMovimiento {

    from {

        transform:
            translateX(-50%)
            scale(
                1
            )
            rotate(
                -3deg
            );

    }

    to {

        transform:
            translateX(-50%)
            scale(
                1.12
            )
            rotate(
                3deg
            );

    }

}


/* =========================================
   LLAMA APAGADA
   ========================================= */

.llama.apagada {

    opacity: 0;

    transform:
        translateX(-50%)
        scale(0);

    animation: none;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;

}


/* =========================================
   PEQUEÑOS DESTELLOS
   ========================================= */

.torta::before {

    content: "✦";

    position: absolute;

    top: 15px;

    left: 25px;

    color:
        rgba(
            255,
            255,
            255,
            0.8
        );

    font-size: 22px;

    animation:
        destello 2s ease-in-out infinite;

    z-index: 10;

}


.torta::after {

    content: "✧";

    position: absolute;

    top: 65px;

    right: 25px;

    color:
        rgba(
            138,
            180,
            255,
            0.9
        );

    font-size: 27px;

    animation:
        destello 2.5s ease-in-out infinite;

    z-index: 10;

}


@keyframes destello {

    0%,
    100% {

        opacity: 0.3;

        transform:
            scale(0.8)
            rotate(0deg);

    }

    50% {

        opacity: 1;

        transform:
            scale(1.2)
            rotate(15deg);

    }

}

/* =========================================
   TEXTO
   ========================================= */

.instruccion {
    font-size: 17px;

    color: rgba(255, 255, 255, 0.75);

    animation: pulsar 1.8s infinite;
}

.mensaje-inicio {
    min-height: 35px;

    margin-top: 15px;

    font-size: 22px;
    font-weight: bold;

    color: #8ab4ff;
}


/* =========================================
   ANIMACIONES
   ========================================= */

@keyframes brillo {
    from {
        opacity: 0.25;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulsar {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes llama {
    from {
        transform: translateX(-50%) scale(1);
    }

    to {
        transform: translateX(-50%) scale(1.12);
    }
}


/* =========================================
   CUANDO LAS VELAS SE APAGAN
   ========================================= */

.apagada {
    opacity: 0;

    transform: translateX(-50%) scale(0);

    transition: all 0.4s ease;
}


/* =========================================
   RESPONSIVE — CELULAR
   ========================================= */

@media (max-width: 600px) {

    .contenido-inicio {
        padding: 20px 15px;
    }

    .frase-inicial {
        font-size: 19px;
        line-height: 1.5;
    }

    .torta {
        transform: scale(0.85);
        margin-top: 5px;
        margin-bottom: 0;
    }

    .torta:hover {
        transform: scale(0.85);
    }

    .torta:active {
        transform: scale(0.8);
    }

    .instruccion {
        font-size: 15px;
    }

}
#confeti {
    position: fixed;
    inset: 0;

    pointer-events: none;

    overflow: hidden;

    z-index: 100;
}

.confeti-pieza {
    position: absolute;

    top: -20px;

    width: 10px;
    height: 18px;

    opacity: 0;

    animation: caerConfeti linear forwards;
}

@keyframes caerConfeti {

    0% {
        transform:
            translateY(-20px)
            rotate(0deg);

        opacity: 1;
    }

    100% {
        transform:
            translateY(110vh)
            rotate(720deg);

        opacity: 0;
    }
}
.seccion-cumpleanos {
    min-height: 100vh;
    min-height: 100svh;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;

    padding: 60px 20px;

    background:
        radial-gradient(
            circle at center,
            #162b65 0%,
            #0b1435 45%,
            #050714 100%
        );
}


/* Contenido */

.contenido-cumpleanos {
    max-width: 750px;

    text-align: center;

    opacity: 0;
    transform: translateY(40px);

    transition:
        opacity 1.2s ease,
        transform 1.2s ease;
}


/* Cuando la sección se activa */

.seccion-cumpleanos.visible
.contenido-cumpleanos {
    opacity: 1;
    transform: translateY(0);
}


/* Decoración */

.decoracion {
    display: block;

    font-size: 30px;

    color: #8ab4ff;

    margin-bottom: 25px;

    animation: brillo 2s infinite alternate;
}


/* Texto pequeño */

.pequena-frase {
    font-size: 20px;

    color: rgba(255, 255, 255, 0.7);

    margin-bottom: 15px;
}


/* Título */

.seccion-cumpleanos h2 {
    font-size: clamp(38px, 7vw, 72px);

    line-height: 1.1;

    background:
        linear-gradient(
            90deg,
            #ffffff,
            #8ab4ff,
            #ffffff
        );

    background-size: 200% auto;

    color: transparent;

    background-clip: text;
    -webkit-background-clip: text;

    animation: brilloTexto 4s linear infinite;

    margin-bottom: 20px;
}


/* Nombre */

.nombre-persona {
    font-size: clamp(20px, 4vw, 28px);

    color: #c9dcff;

    letter-spacing: 1px;
}


/* Línea */

.linea-decorativa {
    width: 100px;
    height: 2px;

    margin: 30px auto;

    background: #8ab4ff;

    box-shadow:
        0 0 10px #8ab4ff;
}


/* Mensaje */

.mensaje-cumpleanos {
    max-width: 600px;

    margin: auto;

    font-size: 19px;

    line-height: 1.8;

    color: rgba(255, 255, 255, 0.82);
}


/* Corazón */

.corazon {
    font-size: 40px;

    margin-top: 35px;

    animation: latido 1.5s infinite;
}


/* =========================================
   ANIMACIONES
   ========================================= */

@keyframes brilloTexto {

    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes latido {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}


/* =========================================
   CELULAR
   ========================================= */

@media (max-width: 600px) {

    .seccion-cumpleanos {
        padding: 50px 20px;
    }

    .pequena-frase {
        font-size: 17px;
    }

    .nombre-persona {
        font-size: 20px;
    }

    .mensaje-cumpleanos {
        font-size: 17px;
        line-height: 1.7;
    }

}
.seccion-gustos {

    min-height: 100vh;

    padding: 100px 20px;

    position: relative;

    background:
        radial-gradient(
            circle at top,
            #142b62 0%,
            #0a1332 45%,
            #050714 100%
        );

}


/* =========================================
   ENCABEZADO
   ========================================= */

.encabezado-gustos {

    text-align: center;

    max-width: 800px;

    margin: 0 auto 60px;

}


.adorno-gustos {

    display: block;

    font-size: 30px;

    color: #8ab4ff;

    margin-bottom: 20px;

}


.texto-pequeno-gustos {

    font-size: 18px;

    color: rgba(
        255,
        255,
        255,
        0.7
    );

    margin-bottom: 15px;

}


.encabezado-gustos h2 {

    font-size: clamp(
        32px,
        6vw,
        55px
    );

    margin-bottom: 20px;

    color: #ffffff;

}


.instruccion-gustos {

    font-size: 18px;

    color: rgba(
        255,
        255,
        255,
        0.8
    );

    margin-bottom: 20px;

}


.indicador-toque {

    display: inline-block;

    padding: 10px 20px;

    border: 1px solid
        rgba(
            138,
            180,
            255,
            0.4
        );

    border-radius: 30px;

    color: #bcd5ff;

    background:
        rgba(
            255,
            255,
            255,
            0.05
        );

}


/* =========================================
   CONTENEDOR DE TARJETAS
   ========================================= */

.contenedor-gustos {

    width: min(
        1100px,
        100%
    );

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

}


/* =========================================
   TARJETAS
   ========================================= */

.tarjeta-gusto {

    height: 280px;

    padding: 0;

    border: 1px solid
        rgba(
            138,
            180,
            255,
            0.25
        );

    border-radius: 25px;

    color: white;

    cursor: pointer;

    background:
        linear-gradient(
            145deg,
            rgba(
                255,
                255,
                255,
                0.10
            ),
            rgba(
                255,
                255,
                255,
                0.03
            )
        );

    box-shadow:
        0 20px 40px
        rgba(
            0,
            0,
            0,
            0.25
        );

    backdrop-filter: blur(10px);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;

}


.tarjeta-gusto:hover {

    transform:
        translateY(-10px);

    border-color:
        rgba(
            138,
            180,
            255,
            0.7
        );

}


.tarjeta-contenido {

    height: 100%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

}


.icono-gusto {

    font-size: 60px;

    margin-bottom: 20px;

}


.tarjeta-gusto h3 {

    font-size: 25px;

    margin-bottom: 15px;

}


.tocar {

    font-size: 14px;

    color: #a9c9ff;

    padding: 7px 14px;

    border-radius: 20px;

    background:
        rgba(
            138,
            180,
            255,
            0.1
        );

}


/* =========================================
   CELULARES
   ========================================= */

@media (max-width: 850px) {

    .contenedor-gustos {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 600px) {

    .seccion-gustos {

        padding: 80px 15px;

    }


    .encabezado-gustos {

        margin-bottom: 40px;

    }


    .texto-pequeno-gustos {

        font-size: 16px;

    }


    .instruccion-gustos {

        font-size: 16px;

    }


    .contenedor-gustos {

        grid-template-columns: 1fr;

        max-width: 380px;

    }


    .tarjeta-gusto {

        height: 250px;

    }

}

.tarjeta-gusto {

    perspective: 1000px;

}


.tarjeta-interior {

    position: relative;

    width: 100%;

    height: 100%;

    transform-style: preserve-3d;

    transition:
        transform 0.8s
        cubic-bezier(
            0.4,
            0.2,
            0.2,
            1
        );

}


/* =========================================
   GIRO
   ========================================= */

.tarjeta-gusto.activa
.tarjeta-interior {

    transform:
        rotateY(180deg);

}


/* =========================================
   CARAS
   ========================================= */

.tarjeta-frente,
.tarjeta-atras {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    padding: 30px;

    border-radius: 25px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    backface-visibility: hidden;

    -webkit-backface-visibility:
        hidden;

}


/* =========================================
   FRENTE
   ========================================= */

.tarjeta-frente {

    background:
        linear-gradient(
            145deg,
            rgba(
                255,
                255,
                255,
                0.10
            ),
            rgba(
                255,
                255,
                255,
                0.03
            )
        );

}


/* =========================================
   PARTE TRASERA
   ========================================= */

.tarjeta-atras {

    transform:
        rotateY(180deg);

    background:
        linear-gradient(
            145deg,
            rgba(
                40,
                90,
                190,
                0.35
            ),
            rgba(
                255,
                255,
                255,
                0.05
            )
        );

}


/* =========================================
   TEXTO PARTE TRASERA
   ========================================= */

.tarjeta-atras p {

    max-width: 300px;

    margin-bottom: 15px;

    line-height: 1.6;

    color:
        rgba(
            255,
            255,
            255,
            0.85
        );

}


.tarjeta-atras .pista {

    line-height: 1.5;

}


/* =========================================
   COLOR AZUL
   ========================================= */

.tarjeta-azul {

    background:
        linear-gradient(
            145deg,
            #1d4fa3,
            #0d2454
        );

}

.seccion-mensaje {

    min-height: 100vh;

    padding: 100px 20px;

    display: flex;

    justify-content: center;

    align-items: center;

    background:
        radial-gradient(
            circle at center,
            #132a5d 0%,
            #08142f 45%,
            #050714 100%
        );

}


/* =========================================
   CARTA
   ========================================= */

.carta-mensaje {

    width: min(
        750px,
        100%
    );

    padding: 60px 55px;

    text-align: center;

    border-radius: 30px;

    border: 1px solid
        rgba(
            138,
            180,
            255,
            0.25
        );

    background:
        linear-gradient(
            145deg,
            rgba(
                255,
                255,
                255,
                0.10
            ),
            rgba(
                255,
                255,
                255,
                0.03
            )
        );

    box-shadow:
        0 30px 70px
        rgba(
            0,
            0,
            0,
            0.35
        );

    backdrop-filter:
        blur(12px);

}


/* =========================================
   DECORACIÓN
   ========================================= */

.adorno-mensaje {

    display: block;

    font-size: 30px;

    color: #8ab4ff;

    margin-bottom: 20px;

}


.pequena-frase-mensaje {

    color:
        rgba(
            255,
            255,
            255,
            0.65
        );

    font-size: 17px;

    margin-bottom: 15px;

}


.carta-mensaje h2 {

    color: white;

    font-size:
        clamp(
            30px,
            6vw,
            48px
        );

    margin-bottom: 25px;

}


/* =========================================
   LÍNEA DECORATIVA
   ========================================= */

.linea-mensaje {

    width: 80px;

    height: 2px;

    margin:
        0 auto 35px;

    background:
        #8ab4ff;

    border-radius: 10px;

}


/* =========================================
   TEXTO
   ========================================= */

.texto-carta {

    color:
        rgba(
            255,
            255,
            255,
            0.82
        );

    font-size: 18px;

    line-height: 1.8;

}


.texto-carta p {

    margin-bottom: 25px;

}


.texto-carta .frase-final {

    color: #c8dcff;

    font-size: 19px;

    margin-top: 35px;

}


/* =========================================
   FIRMA
   ========================================= */

.firma-mensaje {

    margin-top: 40px;

    color: #8ab4ff;

    font-size: 18px;

    font-style: italic;

}


/* =========================================
   CELULAR
   ========================================= */

@media (max-width: 600px) {

    .seccion-mensaje {

        padding: 70px 15px;

    }


    .carta-mensaje {

        padding: 45px 25px;

        border-radius: 25px;

    }


    .pequena-frase-mensaje {

        font-size: 15px;

    }


    .texto-carta {

        font-size: 16px;

        line-height: 1.7;

    }


    .texto-carta .frase-final {

        font-size: 17px;

    }

}
.seccion-video {

    min-height: 100vh;

    padding: 100px 20px;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            #050714 0%,
            #091a3a 50%,
            #050714 100%
        );

}


.contenido-video {

    width: min(
        900px,
        100%
    );

}


.adorno-video {

    display: block;

    font-size: 30px;

    color: #8ab4ff;

    margin-bottom: 20px;

}


.pequena-frase-video {

    color:
        rgba(
            255,
            255,
            255,
            0.7
        );

    font-size: 17px;

    margin-bottom: 15px;

}


.contenido-video h2 {

    color: white;

    font-size:
        clamp(
            30px,
            6vw,
            50px
        );

    margin-bottom: 15px;

}


.descripcion-video {

    color:
        rgba(
            255,
            255,
            255,
            0.75
        );

    font-size: 17px;

    margin-bottom: 40px;

}


/* =========================================
   MARCO DEL VIDEO
   ========================================= */

.marco-video {

    position: relative;

    width: 100%;

    max-width: 850px;

    margin: auto;

    overflow: hidden;

    border-radius: 30px;

    border: 1px solid
        rgba(
            138,
            180,
            255,
            0.35
        );

    background: #02030a;

    box-shadow:
        0 30px 70px
        rgba(
            0,
            0,
            0,
            0.45
        );

}


/* =========================================
   VIDEO
   ========================================= */

.video-especial {

    display: block;

    width: 100%;

    height: auto;

    max-height: 600px;

    object-fit: contain;

    background: #000000;

    opacity: 0;

    transition:
        opacity 0.6s ease;

}


/* =========================================
   BOTÓN VER VIDEO
   ========================================= */

.boton-video {

    position: absolute;

    top: 50%;

    left: 50%;

    transform:
        translate(
            -50%,
            -50%
        );

    min-width: 190px;

    min-height: 65px;

    padding: 15px 25px;

    border: 1px solid
        rgba(
            255,
            255,
            255,
            0.3
        );

    border-radius: 50px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    color: white;

    font-size: 18px;

    font-weight: 600;

    cursor: pointer;

    background:
        rgba(
            30,
            80,
            170,
            0.9
        );

    box-shadow:
        0 10px 35px
        rgba(
            0,
            0,
            0,
            0.4
        );

    backdrop-filter:
        blur(8px);

    transition:
        transform 0.3s ease,
        background 0.3s ease;

}


.boton-video:hover {

    transform:
        translate(
            -50%,
            -50%
        )
        scale(1.06);

    background:
        rgba(
            50,
            110,
            220,
            0.95
        );

}


.icono-play {

    font-size: 22px;

}


/* =========================================
   OCULTAR BOTÓN DESPUÉS DE DAR PLAY
   ========================================= */

.boton-video.oculto {

    opacity: 0;

    pointer-events: none;

}


/* =========================================
   MENSAJE
   ========================================= */

.mensaje-debajo-video {

    margin-top: 30px;

    color:
        rgba(
            255,
            255,
            255,
            0.7
        );

    font-size: 16px;

}


/* =========================================
   CELULAR
   ========================================= */

@media (max-width: 600px) {

    .seccion-video {

        padding: 80px 15px;

    }


    .pequena-frase-video {

        font-size: 15px;

    }


    .descripcion-video {

        font-size: 16px;

        margin-bottom: 30px;

    }


    .marco-video {

        border-radius: 20px;

    }


    .boton-video {

        min-width: 165px;

        min-height: 58px;

        font-size: 16px;

    }

}
.seccion-cierre {

    min-height: 100vh;

    padding: 100px 20px;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            #17366f 0%,
            #081735 45%,
            #050714 100%
        );

}


.contenido-cierre {

    width: min(
        750px,
        100%
    );

}


/* =========================================
   DECORACIÓN
   ========================================= */

.adorno-cierre {

    display: block;

    font-size: 35px;

    color: #8ab4ff;

    margin-bottom: 25px;

}


.pequena-frase-cierre {

    color:
        rgba(
            255,
            255,
            255,
            0.65
        );

    font-size: 17px;

    margin-bottom: 20px;

}


.contenido-cierre h2 {

    color: white;

    font-size:
        clamp(
            32px,
            6vw,
            52px
        );

    line-height: 1.2;

    margin-bottom: 30px;

}


/* =========================================
   LÍNEA
   ========================================= */

.linea-cierre {

    width: 90px;

    height: 2px;

    margin:
        0 auto 35px;

    background: #8ab4ff;

}


/* =========================================
   MENSAJES
   ========================================= */

.mensaje-cierre,
.deseo-cierre {

    max-width: 650px;

    margin:
        0 auto 25px;

    color:
        rgba(
            255,
            255,
            255,
            0.78
        );

    font-size: 18px;

    line-height: 1.8;

}


.deseo-cierre {

    color:
        rgba(
            255,
            255,
            255,
            0.65
        );

}


/* =========================================
   TORTA FINAL
   ========================================= */

.cumple-final {

    font-size: 70px;

    margin: 35px 0 20px;

    animation:
        flotarFinal 3s ease-in-out infinite;

}


@keyframes flotarFinal {

    0%,
    100% {

        transform:
            translateY(0);

    }

    50% {

        transform:
            translateY(-10px);

    }

}


.contenido-cierre h3 {

    color: white;

    font-size:
        clamp(
            28px,
            5vw,
            42px
        );

    margin-bottom: 25px;

}


.ultima-frase {

    color:
        rgba(
            255,
            255,
            255,
            0.55
        );

    font-size: 14px;

    margin-bottom: 40px;

}


/* =========================================
   BOTÓN VOLVER
   ========================================= */

.boton-inicio {

    padding:
        14px 28px;

    border: 1px solid
        rgba(
            138,
            180,
            255,
            0.4
        );

    border-radius: 50px;

    color: white;

    background:
        rgba(
            255,
            255,
            255,
            0.07
        );

    font-size: 16px;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease;

}


.boton-inicio:hover {

    transform:
        translateY(-3px);

    background:
        rgba(
            138,
            180,
            255,
            0.18
        );

}


/* =========================================
   CELULAR
   ========================================= */

@media (max-width: 600px) {

    .seccion-cierre {

        padding: 80px 20px;

    }


    .pequena-frase-cierre {

        font-size: 15px;

    }


    .mensaje-cierre,
    .deseo-cierre {

        font-size: 16px;

        line-height: 1.7;

    }


    .cumple-final {

        font-size: 60px;

    }


    .ultima-frase {

        line-height: 1.6;

    }

}
.imagen-gusto {

    width: 100%;

    max-width: 220px;

    height: 150px;

    object-fit: cover;

    border-radius: 18px;

    display: block;

    margin: 0 auto 18px;

    box-shadow:
        0 10px 25px
        rgba(0, 0, 0, 0.3);

    transition:
        transform 0.3s ease;

}


.tarjeta-gusto.activa
.imagen-gusto {

    animation:
        aparecerImagen
        0.5s ease;

}


@keyframes aparecerImagen {

    from {

        opacity: 0;

        transform:
            scale(0.85);

    }

    to {

        opacity: 1;

        transform:
            scale(1);

    }

}