/* =========================================================
   XV AÑOS DE EBOLETH
   04 — LA PROTAGONISTA
========================================================= */


/* =========================================================
   SECCIÓN PRINCIPAL
========================================================= */

.eboleth {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 110px 20px;
    background: radial-gradient( ellipse at 20% 45%, rgba(216, 135, 164, 0.13), transparent 38%), radial-gradient( ellipse at 85% 20%, rgba(22, 138, 138, 0.18), transparent 35%), linear-gradient( 180deg, #102c35 0%, #173b3d 55%, #203d43 100%);
}


/* =========================================================
   LUCES DECORATIVAS DEL FONDO
========================================================= */

.eboleth::before,
.eboleth::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.eboleth::before {
    top: -180px;
    right: -120px;
    background: rgba(216, 135, 164, 0.10);
}

.eboleth::after {
    bottom: -200px;
    left: -150px;
    background: rgba(22, 138, 138, 0.12);
}


/* =========================================================
   CONTENEDOR
========================================================= */

.eboleth-contenido {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}


/* =========================================================
   ENCABEZADO
========================================================= */

.eboleth-encabezado {
    text-align: center;
    margin-bottom: 65px;
    opacity: 0;
}

.eboleth-etiqueta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--dorado-claro);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.eboleth-etiqueta::before,
.eboleth-etiqueta::after {
    content: "";
    width: 35px;
    height: 1px;
    background: linear-gradient( 90deg, transparent, var(--dorado));
}

.eboleth-etiqueta::after {
    transform: rotate(180deg);
}

.eboleth-titulo {
    margin: 0;
    color: var(--crema);
    font-family: "Great Vibes", cursive;
    font-size: clamp(3.5rem, 8vw, 5.8rem);
    font-weight: 400;
    line-height: 1.1;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.eboleth-subtitulo {
    margin: 12px 0 0;
    color: rgba(248, 244, 232, 0.75);
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    letter-spacing: 0.08em;
}


/* =========================================================
   DISTRIBUCIÓN
========================================================= */

.eboleth-fila {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(40px, 7vw, 90px);
}


/* =========================================================
   FOTOGRAFÍA
========================================================= */

.eboleth-foto-contenedor {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    opacity: 0;
}

.eboleth-foto-marco {
    position: relative;
    padding: 10px;
    border: 1px solid rgba(213, 180, 92, 0.75);
    border-radius: 210px 210px 18px 18px;
    background: linear-gradient( 145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.015));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 35px rgba(213, 180, 92, 0.08);
}

.eboleth-foto-marco::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(245, 221, 160, 0.25);
    border-radius: 205px 205px 14px 14px;
    pointer-events: none;
}

.eboleth-foto {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 200px 200px 10px 10px;
}


/* =========================================================
   DETALLES FLORALES
========================================================= */

.eboleth-flor {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    color: var(--rosa);
    font-size: 2.3rem;
    filter: drop-shadow(0 0 10px rgba(216, 135, 164, 0.35));
    animation: ebolethFlotar 5s ease-in-out infinite;
}

.eboleth-flor-superior {
    top: 12%;
    right: -24px;
}

.eboleth-flor-inferior {
    bottom: 12%;
    left: -25px;
    animation-delay: -2.5s;
}


/* =========================================================
   TEXTO PERSONAL
========================================================= */

.eboleth-historia {
    opacity: 0;
}

.eboleth-historia-etiqueta {
    margin-bottom: 12px;
    color: var(--dorado-claro);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.eboleth-historia-titulo {
    margin: 0 0 25px;
    color: var(--crema);
    font-family: "Great Vibes", cursive;
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 400;
    line-height: 1.1;
}

.eboleth-historia-texto {
    color: rgba(248, 244, 232, 0.82);
    font-size: 1.05rem;
    line-height: 1.9;
}

.eboleth-historia-texto p {
    margin-bottom: 18px;
}

.eboleth-historia-frase {
    margin-top: 28px;
    padding-left: 20px;
    border-left: 2px solid var(--dorado);
    color: var(--rosa);
    font-family: "Great Vibes", cursive;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.25;
}


/* =========================================================
   NOMBRE
========================================================= */

.eboleth-nombre {
    margin-top: 30px;
    color: var(--dorado-claro);
    font-family: "Great Vibes", cursive;
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1;
    text-shadow: 0 0 20px rgba(213, 180, 92, 0.18);
}


/* =========================================================
   DESTELLOS
========================================================= */

.eboleth-destello {
    position: absolute;
    z-index: 3;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--dorado-claro);
    box-shadow: 0 0 12px 4px rgba(245, 221, 160, 0.3);
    pointer-events: none;
    animation: ebolethBrillar 4s ease-in-out infinite;
}

.eboleth-destello:nth-of-type(1) {
    top: 15%;
    left: 5%;
}

.eboleth-destello:nth-of-type(2) {
    top: 35%;
    right: 6%;
    animation-delay: 1.5s;
}

.eboleth-destello:nth-of-type(3) {
    bottom: 15%;
    right: 25%;
    animation-delay: 2.5s;
}


/* =========================================================
   ANIMACIONES DE ENTRADA
========================================================= */

.eboleth.visible .eboleth-encabezado {
    animation: ebolethAparecer 1s 0.1s forwards;
}

.eboleth.visible .eboleth-foto-contenedor {
    animation: ebolethEntrarIzquierda 1.2s 0.35s forwards;
}

.eboleth.visible .eboleth-historia {
    animation: ebolethEntrarDerecha 1.2s 0.6s forwards;
}


/* =========================================================
   KEYFRAMES
========================================================= */

@keyframes ebolethAparecer {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ebolethEntrarIzquierda {
    from {
        opacity: 0;
        transform: translateX(-35px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ebolethEntrarDerecha {
    from {
        opacity: 0;
        transform: translateX(35px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ebolethFlotar {
    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@keyframes ebolethBrillar {
    0%,
    100% {
        opacity: 0.2;
        transform: scale(0.7);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767.98px) {
    .eboleth {
        padding: 85px 20px;
    }
    .eboleth-encabezado {
        margin-bottom: 40px;
    }
    .eboleth-fila {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .eboleth-foto-contenedor {
        width: min(100%, 340px);
    }
    .eboleth-historia {
        text-align: center;
    }
    .eboleth-historia-frase {
        padding-left: 0;
        border-left: 0;
    }
    .eboleth-nombre {
        margin-top: 25px;
    }
}


/* =========================================================
   ACCESIBILIDAD
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .eboleth-flor,
    .eboleth-destello {
        animation: none;
    }
    .eboleth-encabezado,
    .eboleth-foto-contenedor,
    .eboleth-historia {
        opacity: 1;
        animation: none;
    }
}