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

body {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: Arial, sans-serif;
    background:
        radial-gradient(circle at 50% 40%, #1d2935 0%, transparent 45%),
        linear-gradient(180deg, #10151c 0%, #17212b 100%);
    color: white;
}

.inicio {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

/* =========================
   ESCENA DEL GIRASOL
========================= */

.escena {
    height: 270px;
    width: 260px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 15px;
}

.flor {
    position: relative;
    width: 200px;
    height: 260px;
}

/* TALLO */

.tallo {
    position: absolute;
    width: 13px;
    height: 155px;
    background: linear-gradient(90deg,
            #276b38,
            #55a85d,
            #2c713b);
    border-radius: 10px;

    left: 50%;
    bottom: 0;

    transform: translateX(-50%) scaleY(0);
    transform-origin: bottom;

    animation: crecerTallo 1.4s ease-out forwards;
}

/* HOJAS */

.hoja {
    position: absolute;
    width: 65px;
    height: 32px;

    background: linear-gradient(135deg,
            #3e914c,
            #72be67);

    opacity: 0;
}

.hoja-izq {
    left: -54px;
    top: 72px;

    border-radius: 60px 5px 60px 5px;
    transform: rotate(20deg) scale(0);

    animation: crecerHojaIzq .7s ease-out 1s forwards;
}

.hoja-der {
    right: -54px;
    top: 100px;

    border-radius: 5px 60px 5px 60px;
    transform: rotate(-20deg) scale(0);

    animation: crecerHojaDer .7s ease-out 1.25s forwards;
}

/* CABEZA */

.petalos {
    position: absolute;
    width: 150px;
    height: 150px;

    left: 50%;
    top: 5px;

    transform: translateX(-50%) scale(0);

    animation:
        abrirFlor 1.2s cubic-bezier(.2, .8, .3, 1.4) 1.45s forwards,
        balanceo 4s ease-in-out 2.7s infinite;

    transform-origin: 50% 80%;
}

/* PÉTALOS */

.petalo {
    position: absolute;

    width: 40px;
    height: 78px;

    left: 55px;
    top: 0;

    background: linear-gradient(90deg,
            #f5b82e,
            #ffd84d,
            #f3ad1f);

    border-radius: 60% 60% 45% 45%;

    transform-origin: 20px 75px;

    box-shadow: 0 0 8px rgba(255, 196, 40, .18);
}

.p1 {
    transform: rotate(0deg);
}

.p2 {
    transform: rotate(30deg);
}

.p3 {
    transform: rotate(60deg);
}

.p4 {
    transform: rotate(90deg);
}

.p5 {
    transform: rotate(120deg);
}

.p6 {
    transform: rotate(150deg);
}

.p7 {
    transform: rotate(180deg);
}

.p8 {
    transform: rotate(210deg);
}

.p9 {
    transform: rotate(240deg);
}

.p10 {
    transform: rotate(270deg);
}

.p11 {
    transform: rotate(300deg);
}

.p12 {
    transform: rotate(330deg);
}

/* CENTRO */

.centro {
    position: absolute;

    width: 83px;
    height: 83px;

    border-radius: 50%;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    background:
        radial-gradient(circle at 30% 30%, #8d572c 2px, transparent 3px),
        radial-gradient(circle at 65% 55%, #6d3d21 2px, transparent 3px),
        radial-gradient(circle at 45% 75%, #9b6330 2px, transparent 3px),
        radial-gradient(circle, #8c552c 0%, #63361f 70%);

    background-size:
        13px 13px,
        15px 15px,
        17px 17px,
        auto;

    box-shadow:
        inset 0 0 15px rgba(0, 0, 0, .35),
        0 0 12px rgba(255, 190, 30, .15);
}

/* =========================
   TEXTO
========================= */

.contenido {
    opacity: 0;
    transform: translateY(15px);

    animation: aparecerTexto 1.2s ease 2.5s forwards;
}

h1 {
    font-size: 42px;
    margin-bottom: 14px;
}

p {
    font-size: 18px;
    color: #d7dce1;
    margin-bottom: 28px;
}

button {
    padding: 13px 32px;

    border: none;
    border-radius: 30px;

    background: #f7c744;
    color: #1b1b1b;

    font-size: 16px;

    cursor: pointer;

    transition:
        transform .25s,
        box-shadow .25s;
}

button:hover {
    transform: translateY(-3px) scale(1.04);

    box-shadow:
        0 8px 25px rgba(247, 199, 68, .25);
}

/* =========================
   ANIMACIONES
========================= */

@keyframes crecerTallo {
    to {
        transform: translateX(-50%) scaleY(1);
    }
}

@keyframes crecerHojaIzq {
    to {
        opacity: 1;
        transform: rotate(20deg) scale(1);
    }
}

@keyframes crecerHojaDer {
    to {
        opacity: 1;
        transform: rotate(-20deg) scale(1);
    }
}

@keyframes abrirFlor {
    from {
        transform: translateX(-50%) scale(0);
    }

    to {
        transform: translateX(-50%) scale(1);
    }
}

@keyframes balanceo {

    0%,
    100% {
        transform: translateX(-50%) rotate(-2deg) scale(1);
    }

    50% {
        transform: translateX(-50%) rotate(2deg) scale(1);
    }
}

@keyframes aparecerTexto {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MÓVIL */

@media (max-width: 600px) {

    .escena {
        transform: scale(.85);
        margin-bottom: 0;
    }

    h1 {
        font-size: 34px;
    }

    p {
        font-size: 16px;
        max-width: 330px;
    }
}

/* =========================
   NOCHE / LUCIÉRNAGAS
========================= */

.noche {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.inicio {
    position: relative;
    z-index: 1;
}

.luz {
    position: absolute;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #ffd95a;

    box-shadow:
        0 0 6px #ffd95a,
        0 0 15px rgba(255, 217, 90, .7),
        0 0 25px rgba(255, 217, 90, .3);

    opacity: 0;

    animation:
        luciernaga 5s ease-in-out infinite,
        brillo 2.5s ease-in-out infinite;
}

/* Posiciones */

.l1 {
    left: 10%;
    top: 25%;
    animation-delay: .2s;
}

.l2 {
    left: 18%;
    top: 65%;
    animation-delay: 1.7s;
}

.l3 {
    left: 27%;
    top: 38%;
    animation-delay: .8s;
}

.l4 {
    left: 35%;
    top: 72%;
    animation-delay: 2.2s;
}

.l5 {
    left: 43%;
    top: 20%;
    animation-delay: 1.1s;
}

.l6 {
    left: 56%;
    top: 28%;
    animation-delay: 2.8s;
}

.l7 {
    left: 64%;
    top: 67%;
    animation-delay: .5s;
}

.l8 {
    left: 72%;
    top: 35%;
    animation-delay: 1.9s;
}

.l9 {
    left: 82%;
    top: 58%;
    animation-delay: 3.1s;
}

.l10 {
    left: 90%;
    top: 22%;
    animation-delay: 1.4s;
}

.l11 {
    left: 14%;
    top: 82%;
    animation-delay: 2.5s;
}

.l12 {
    left: 87%;
    top: 80%;
    animation-delay: .9s;
}

/* Movimiento */

@keyframes luciernaga {

    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(18px, -25px);
    }

    50% {
        transform: translate(-10px, -45px);
    }

    75% {
        transform: translate(20px, -20px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes brillo {

    0%,
    100% {
        opacity: .15;
    }

    50% {
        opacity: 1;
    }
}

/* =========================
   SEGUNDA PANTALLA
========================= */

.historia {
    position: relative;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 30px;

    background:
        radial-gradient(circle at 50% 35%, #263747 0%, transparent 45%),
        linear-gradient(180deg, #10151c 0%, #17212b 100%);

    opacity: 0;
    visibility: hidden;

    transform: translateY(30px);

    transition:
        opacity 1s ease,
        transform 1s ease;

    z-index: 10;
}

.historia.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.historia-contenido {
    max-width: 600px;
    text-align: center;
}

.mini-girasol {
    display: block;

    font-size: 45px;

    margin-bottom: 20px;

    animation: flotarMini 3s ease-in-out infinite;
}

.subtitulo {
    margin-bottom: 10px;

    color: #f7c744;

    font-size: 14px;
    text-transform: uppercase;

    letter-spacing: 4px;
}

.historia h2 {
    margin-bottom: 20px;

    font-size: 45px;
}

.frase-historia {
    max-width: 500px;

    margin: 0 auto 40px;

    color: #cbd3da;

    font-size: 18px;
    line-height: 1.7;
}

.contador {
    margin: 35px 0;
}

.numero {
    color: #f7c744;

    font-size: 72px;
    font-weight: bold;

    text-shadow:
        0 0 30px rgba(247, 199, 68, .15);
}

.texto-contador {
    margin-top: 5px;

    color: #aeb8c2;

    font-size: 15px;
}

.separador {
    width: 50px;
    height: 2px;

    margin: 35px auto;

    background: #f7c744;

    opacity: .7;
}

.siguiente {
    color: #e3e6e8;

    font-size: 17px;
    font-style: italic;
}

@keyframes flotarMini {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@media (max-width: 600px) {

    .historia h2 {
        font-size: 34px;
    }

    .numero {
        font-size: 60px;
    }

    .frase-historia {
        font-size: 16px;
    }
}

/* =========================
   INDICADOR DE SCROLL
========================= */

.indicador-scroll {
    margin-top: 45px;

    color: #7f8b96;

    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;

    opacity: 0;

    animation: aparecerScroll 1s ease 4s forwards;
}

.flecha {
    margin-top: 8px;

    color: #f7c744;
    font-size: 24px;

    animation: bajarFlecha 1.7s ease-in-out infinite;
}

@keyframes bajarFlecha {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

@keyframes aparecerScroll {

    to {
        opacity: 1;
    }
}


/* =========================
   RECUERDOS
========================= */

.recuerdos {
    display: none;

    min-height: 100vh;

    padding: 100px 25px;

    background:
        radial-gradient(circle at 50% 30%,
            rgba(247, 199, 68, .06),
            transparent 35%),
        #10151c;

    color: white;
}

.recuerdos.visible {
    display: block;
}

.recuerdos-contenido {
    width: 100%;
    max-width: 950px;

    margin: auto;

    text-align: center;
}

.recuerdos h2 {
    margin: 10px auto 18px;

    max-width: 700px;

    font-size: 40px;
}

.intro-recuerdos {
    max-width: 550px;

    margin: 0 auto 55px;

    color: #aeb8c2;

    font-size: 17px;
    line-height: 1.7;
}


/* TARJETAS */

.tarjetas {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.tarjeta {
    min-height: 230px;

    padding: 35px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, .055),
            rgba(255, 255, 255, .015));

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .15);

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.tarjeta:hover {
    transform: translateY(-8px);

    border-color:
        rgba(247, 199, 68, .35);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .25);
}

.icono {
    margin-bottom: 18px;

    font-size: 35px;
}

.tarjeta h3 {
    margin-bottom: 12px;

    font-size: 21px;
}

.tarjeta p {
    max-width: 310px;

    margin: 0;

    color: #9da8b2;

    font-size: 15px;
    line-height: 1.6;
}


/* MÓVIL */

@media (max-width: 650px) {

    .recuerdos {
        padding: 80px 20px;
    }

    .recuerdos h2 {
        font-size: 31px;
    }

    .tarjetas {
        grid-template-columns: 1fr;
    }

    .tarjeta {
        min-height: 200px;
    }
}

/* =========================
   TARJETAS INTERACTIVAS
========================= */

.tarjeta {
    cursor: pointer;
}

.ver-recuerdo {
    margin-top: 22px;

    color: #f7c744;

    font-size: 13px;
    letter-spacing: .5px;

    opacity: .75;

    transition: opacity .3s ease;
}

.tarjeta:hover .ver-recuerdo {
    opacity: 1;
}


/* =========================
   MODAL DE RECUERDO
========================= */

.modal {
    position: fixed;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 25px;

    visibility: hidden;
    opacity: 0;

    z-index: 100;

    transition:
        opacity .45s ease,
        visibility .45s ease;
}

.modal.abierto {
    visibility: visible;
    opacity: 1;
}

.modal-fondo {
    position: absolute;
    inset: 0;

    background: rgba(5, 9, 13, .82);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-contenido {
    position: relative;

    width: 100%;
    max-width: 560px;

    padding: 55px 45px;

    text-align: center;

    border:
        1px solid rgba(247, 199, 68, .15);

    border-radius: 24px;

    background:
        radial-gradient(circle at 50% 0%,
            rgba(247, 199, 68, .08),
            transparent 40%),
        #151e27;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, .45);

    transform: translateY(25px) scale(.97);

    transition: transform .45s ease;

    z-index: 101;
}

.modal.abierto .modal-contenido {
    transform: translateY(0) scale(1);
}

.cerrar-modal {
    position: absolute;

    top: 17px;
    right: 20px;

    width: 35px;
    height: 35px;

    padding: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, .05);

    color: #aeb8c2;

    font-size: 24px;
    line-height: 30px;
}

.cerrar-modal:hover {
    color: white;

    transform: rotate(90deg);

    box-shadow: none;
}

.modal-girasol {
    margin-bottom: 18px;

    font-size: 45px;
}

.modal-fecha {
    margin-bottom: 12px;

    color: #f7c744;

    font-size: 13px;

    text-transform: uppercase;
    letter-spacing: 3px;
}

.modal-contenido h2 {
    margin-bottom: 20px;

    font-size: 35px;
}

.modal-texto {
    max-width: 420px;

    margin: auto;

    color: #c1c9d0;

    font-size: 17px;
    line-height: 1.8;
}

.modal-linea {
    width: 40px;
    height: 2px;

    margin: 30px auto;

    background: #f7c744;
}

.modal-final {
    margin: 0;

    color: #e5e8eb;

    font-size: 16px;
    font-style: italic;
}


/* MÓVIL */

@media (max-width: 600px) {

    .modal-contenido {
        padding: 50px 25px 40px;
    }

    .modal-contenido h2 {
        font-size: 28px;
    }

    .modal-texto {
        font-size: 15px;
    }
}

/* =========================
   FOTO DEL RECUERDO
========================= */

.foto-recuerdo {
    position: relative;

    width: 100%;
    height: 260px;

    margin: 0 auto 28px;

    overflow: hidden;

    border-radius: 16px;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .35);
}

.foto-recuerdo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 6s ease;
}

/* Zoom muy lento al abrir */

.modal.abierto .foto-recuerdo img {
    transform: scale(1.07);
}


/* Degradado encima de la foto */

.foto-degradado {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(to top,
            rgba(10, 15, 20, .75) 0%,
            rgba(10, 15, 20, .05) 45%,
            transparent 70%);

    pointer-events: none;
}


/* Fecha encima de la propia fotografía */

.foto-fecha {
    position: absolute;

    left: 18px;
    bottom: 15px;

    color: rgba(255, 255, 255, .9);

    font-size: 11px;

    letter-spacing: 3px;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, .7);
}


/* Adaptación móvil */

@media (max-width: 600px) {

    .foto-recuerdo {
        height: 220px;
    }
}

/* =========================
   NUESTRA MÚSICA
========================= */

.modal-musica {
    max-width: 620px;
}

.texto-musica {
    margin-bottom: 28px;
}

.spotify-player {
    width: 100%;

    margin-top: 25px;

    overflow: hidden;

    border-radius: 14px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .3);
}

.spotify-player iframe {
    display: block;

    border: none;
}

.dedicatoria-musica {
    margin: 25px 0 0;

    color: #d8dde1;

    font-size: 15px;
    font-style: italic;
}

/* =========================
   MÚSICA FLOTANTE
========================= */

.musica-flotante {
    position: fixed;

    left: 50%;
    bottom: 22px;

    width: calc(100% - 40px);
    max-width: 430px;

    padding: 12px 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(20, 29, 38, .92);

    border:
        1px solid rgba(247, 199, 68, .18);

    border-radius: 18px;

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    box-shadow:
        0 15px 45px rgba(0, 0, 0, .4);

    transform:
        translate(-50%, 120px);

    opacity: 0;

    pointer-events: none;

    transition:
        transform .5s ease,
        opacity .5s ease;

    z-index: 50;
}

.musica-flotante.visible {
    transform:
        translate(-50%, 0);

    opacity: 1;

    pointer-events: auto;
}

.musica-info {
    display: flex;
    align-items: center;

    gap: 12px;

    text-align: left;
}

.musica-icono {
    font-size: 25px;
}

.musica-info strong {
    display: block;

    color: white;

    font-size: 14px;
}

.musica-info div span {
    display: block;

    margin-top: 2px;

    color: #8f9ba5;

    font-size: 11px;
}

.volver-musica {
    padding: 8px 15px;

    font-size: 12px;
}

/* =========================
   NUESTRO MUNDO - MINECRAFT
========================= */

.modal-minecraft {
    max-width: 760px;
}

.minecraft-cabecera {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 15px;

    margin-bottom: 15px;
}

.minecraft-cabecera>span {
    font-size: 38px;
}

.minecraft-cabecera .modal-fecha {
    margin-bottom: 4px;
}

.minecraft-cabecera h2 {
    margin: 0;

    font-size: 32px;
}

.minecraft-intro {
    max-width: 520px;

    margin: 0 auto 25px;

    color: #aeb8c2;

    font-size: 15px;
    line-height: 1.6;
}


/* FOTO */

.galeria-minecraft {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 17px;

    background: #0c1116;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .35);
}

.galeria-minecraft img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        opacity .25s ease,
        transform .5s ease;
}


/* FLECHAS */

.flecha-galeria {
    position: absolute;

    top: 50%;

    width: 45px;
    height: 45px;

    padding: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    transform: translateY(-50%);

    border: 1px solid rgba(255, 255, 255, .15);

    background: rgba(10, 15, 20, .65);

    backdrop-filter: blur(8px);

    color: white;

    font-size: 35px;

    z-index: 2;
}

.flecha-galeria:hover {
    transform:
        translateY(-50%) scale(1.08);
}

.flecha-galeria.anterior {
    left: 15px;
}

.flecha-galeria.siguiente {
    right: 15px;
}


/* 1 / 4 */

.contador-galeria {
    position: absolute;

    right: 15px;
    bottom: 13px;

    padding: 6px 11px;

    border-radius: 20px;

    background: rgba(10, 15, 20, .7);

    color: rgba(255, 255, 255, .85);

    font-size: 11px;

    letter-spacing: 1px;
}


/* TEXTO DE CADA FOTO */

.descripcion-minecraft {
    margin-top: 24px;
}

.descripcion-minecraft h3 {
    margin-bottom: 7px;

    color: #f7c744;

    font-size: 20px;
}

.descripcion-minecraft p {
    max-width: 500px;

    margin: auto;

    color: #aeb8c2;

    font-size: 14px;
    line-height: 1.6;
}


/* PUNTITOS */

.puntos-galeria {
    display: flex;
    justify-content: center;

    gap: 8px;

    margin-top: 20px;
}

.punto {
    width: 7px;
    height: 7px;

    padding: 0;

    border-radius: 50%;

    background: #5b6670;

    opacity: .5;

    transition: .25s ease;
}

.punto.activo {
    width: 22px;

    border-radius: 10px;

    background: #f7c744;

    opacity: 1;
}


/* MÓVIL */

@media (max-width: 600px) {

    .modal-minecraft {
        padding-left: 15px;
        padding-right: 15px;
    }

    .minecraft-cabecera h2 {
        font-size: 25px;
    }

    .flecha-galeria {
        width: 38px;
        height: 38px;

        font-size: 28px;
    }
}

/* =========================
   LO QUE NOS ESPERA
========================= */

.encuentro {
    position: fixed;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 30px;

    background:
        radial-gradient(circle at 50% 45%,
            #263a4c 0%,
            #17232e 40%,
            #0c1218 100%);

    visibility: hidden;
    opacity: 0;

    transition: opacity .8s ease;

    z-index: 200;
}

.encuentro.abierto {
    visibility: visible;
    opacity: 1;
}

.encuentro-contenido {
    position: relative;

    width: 100%;
    max-width: 850px;

    text-align: center;

    transform: translateY(25px);

    transition: transform .8s ease;
}

.encuentro.abierto .encuentro-contenido {
    transform: translateY(0);
}

.cerrar-encuentro {
    position: absolute;

    top: 25px;
    right: 30px;

    width: 42px;
    height: 42px;

    padding: 0;

    background: rgba(255, 255, 255, .06);

    color: #b7c0c8;

    font-size: 27px;

    z-index: 5;
}

.encuentro-icono {
    margin-bottom: 20px;

    font-size: 45px;

    animation: avionFlotando 4s ease-in-out infinite;
}

.encuentro h2 {
    margin: 10px 0 20px;

    font-size: 48px;
}

.encuentro-frase {
    max-width: 620px;

    margin: 0 auto 45px;

    color: #b5c0c9;

    font-size: 17px;
    line-height: 1.8;
}


/* CUENTA ATRÁS */

.cuenta-atras {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 20px;

    margin: 20px auto 45px;
}

.tiempo {
    min-width: 100px;
}

.tiempo strong {
    display: block;

    color: #f7c744;

    font-size: 58px;

    text-shadow:
        0 0 30px rgba(247, 199, 68, .15);
}

.tiempo span {
    display: block;

    margin-top: 7px;

    color: #84909a;

    font-size: 11px;

    text-transform: uppercase;
    letter-spacing: 2px;
}

.separador-tiempo {
    margin-top: -20px;

    color: rgba(247, 199, 68, .45);

    font-size: 35px;
}

.linea-encuentro {
    width: 55px;
    height: 1px;

    margin: auto;

    background: #f7c744;
}

.mensaje-encuentro {
    margin: 30px auto 20px;

    color: #e3e7ea;

    font-size: 18px;
    font-style: italic;
}

.girasol-final {
    margin-top: 25px;

    font-size: 35px;

    animation: girasolFinal 3s ease-in-out infinite;
}


/* ESTRELLAS */

.estrellas-encuentro span {
    position: absolute;

    color: #f7c744;

    opacity: .35;

    animation: estrella 3s ease-in-out infinite;
}

.estrellas-encuentro span:nth-child(1) {
    left: 15%;
    top: 20%;
}

.estrellas-encuentro span:nth-child(2) {
    left: 80%;
    top: 25%;
    animation-delay: .7s;
}

.estrellas-encuentro span:nth-child(3) {
    left: 25%;
    top: 75%;
    animation-delay: 1.2s;
}

.estrellas-encuentro span:nth-child(4) {
    left: 70%;
    top: 78%;
    animation-delay: .3s;
}

.estrellas-encuentro span:nth-child(5) {
    left: 90%;
    top: 60%;
    animation-delay: 1.7s;
}


@keyframes avionFlotando {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes girasolFinal {

    0%,
    100% {
        transform: rotate(-4deg);
    }

    50% {
        transform: rotate(4deg);
    }
}

@keyframes estrella {

    0%,
    100% {
        opacity: .15;
        transform: scale(.8);
    }

    50% {
        opacity: .8;
        transform: scale(1.5);
    }
}


/* MÓVIL */

@media (max-width: 650px) {

    .encuentro {
        padding: 20px;
    }

    .encuentro h2 {
        font-size: 34px;
    }

    .encuentro-frase {
        font-size: 15px;
        margin-bottom: 35px;
    }

    .cuenta-atras {
        gap: 7px;
    }

    .tiempo {
        min-width: 60px;
    }

    .tiempo strong {
        font-size: 35px;
    }

    .tiempo span {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .separador-tiempo {
        font-size: 22px;
    }
}

/* =========================
   FINAL DE NUESTRA HISTORIA
========================= */

.final-historia {
    position: relative;
    min-height: 100vh;

    display: none;
    justify-content: center;
    align-items: center;

    padding: 100px 25px;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(247, 199, 68, .06),
            transparent 35%
        );
}

/* Solo aparece después de pulsar "Continúa" */
.final-historia.visible {
    display: flex;
}

.final-contenido {
    width: 100%;
    max-width: 680px;

    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 1.3s ease,
        transform 1.3s ease;
}

/* Animación al llegar haciendo scroll */
.final-contenido.visible {
    opacity: 1;
    transform: translateY(0);
}

.final-girasol {
    margin-bottom: 30px;

    font-size: 42px;

    animation: respirarGirasol 4s ease-in-out infinite;
}

.final-pequeno {
    margin-bottom: 15px;

    color: #f7c744;

    font-size: 12px;

    text-transform: uppercase;
    letter-spacing: 3px;
}

.final-historia h2 {
    margin: 0 auto 30px;

    color: #f1f3f5;

    font-size: 36px;
    line-height: 1.25;
}

.final-texto {
    max-width: 560px;

    margin: 15px auto;

    color: #9da8b2;

    font-size: 16px;
    line-height: 1.8;
}

.final-destacado {
    margin: 35px 0;

    color: #f7c744;

    font-size: 30px;
    font-style: italic;
}

.final-linea {
    width: 45px;
    height: 1px;

    margin: 45px auto;

    background: rgba(247, 199, 68, .7);
}

.final-ultima {
    margin-bottom: 25px;

    color: #d7dce0;

    font-size: 17px;
}

.boton-carta {
    padding: 14px 30px;

    border: 1px solid rgba(247, 199, 68, .45);
    border-radius: 30px;

    background: rgba(247, 199, 68, .08);

    color: #f7c744;

    font-size: 14px;

    cursor: pointer;

    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.boton-carta:hover {
    transform: translateY(-3px);

    background: rgba(247, 199, 68, .14);

    box-shadow:
        0 10px 35px rgba(247, 199, 68, .08);
}

@keyframes respirarGirasol {
    0%,
    100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-7px) rotate(3deg);
    }
}


/* MÓVIL */

@media (max-width: 600px) {

    .final-historia {
        padding: 100px 22px 120px;
    }

    .final-historia h2 {
        font-size: 29px;
    }

    .final-destacado {
        font-size: 26px;
    }

    .final-texto {
        font-size: 15px;
    }
}

/* =========================
   CARTA PARA LUCERO
========================= */

.carta-pantalla {
    position: fixed;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    padding: 70px 25px;

    overflow-y: auto;

    background:
        radial-gradient(
            circle at 50% 20%,
            #243746 0%,
            #121d26 45%,
            #080d12 100%
        );

    visibility: hidden;
    opacity: 0;

    transition:
        opacity .8s ease,
        visibility .8s ease;

    z-index: 300;
}

.carta-pantalla.abierta {
    visibility: visible;
    opacity: 1;
}


/* CONTENIDO */

.carta-contenido {
    width: 100%;
    max-width: 650px;

    padding: 50px 55px;

    text-align: left;

    border: 1px solid rgba(247, 199, 68, .12);
    border-radius: 20px;

    background: rgba(10, 16, 21, .55);

    backdrop-filter: blur(10px);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, .35);
}


/* CABECERA */

.carta-girasol {
    margin-bottom: 15px;

    text-align: center;
    font-size: 38px;
}

.carta-para {
    margin: 0;

    text-align: center;

    color: #f7c744;

    font-size: 11px;

    text-transform: uppercase;
    letter-spacing: 3px;
}

.carta-contenido h2 {
    margin: 12px 0 25px;

    text-align: center;

    color: #f1f3f5;

    font-size: 34px;
}

.carta-linea {
    width: 45px;
    height: 1px;

    margin: 0 auto 40px;

    background: rgba(247, 199, 68, .7);
}


/* TEXTO */

.carta-texto {
    color: #c1c9cf;

    font-size: 16px;
    line-height: 1.9;
}

.parrafo-carta {
    margin: 0 0 25px;

    opacity: 0;
    transform: translateY(12px);

    transition:
        opacity .9s ease,
        transform .9s ease;
}

.parrafo-carta.visible {
    opacity: 1;
    transform: translateY(0);
}

.carta-final {
    color: #e7d795;
    font-style: italic;
}


/* FIRMA */

.firma-carta {
    margin-top: 45px;

    opacity: 0;

    text-align: right;

    transition: opacity 1.2s ease;
}

.firma-carta.visible {
    opacity: 1;
}

.firma-carta span,
.firma-carta strong {
    display: block;
}

.firma-carta span {
    margin-bottom: 8px;

    color: #c1c9cf;

    font-size: 15px;
}

.firma-carta strong {
    color: #f7c744;

    font-size: 20px;
}


/* CERRAR */

.cerrar-carta {
    position: fixed;

    top: 25px;
    right: 30px;

    width: 42px;
    height: 42px;

    padding: 0;

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;

    background: rgba(10,15,20,.6);

    color: #d5dadd;

    font-size: 26px;

    cursor: pointer;

    z-index: 301;
}


/* MÓVIL */

@media (max-width: 600px) {

    .carta-pantalla {
        padding: 70px 15px 50px;
    }

    .carta-contenido {
        padding: 40px 25px;
    }

    .carta-contenido h2 {
        font-size: 28px;
    }

    .carta-texto {
        font-size: 15px;
        line-height: 1.8;
    }

    .cerrar-carta {
        top: 15px;
        right: 15px;
    }
}