/* ==========================================================
   FONTS
   ========================================================== */

@font-face {
    font-family: "Dosis";
    src: url("../../fonts/Dosis/Dosis-Regular.woff2") format("woff2"), url("Dosis-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Junigarden Swash";
    src: url("../../fonts/Junigarden/JunigardenSwash-Regular.woff2") format("woff2"),
        url("../../fonts/Junigarden/JunigardenSwash-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Junigarden Serif";
    src: url("../../fonts/Junigarden/JunigardenSerif-Regular.woff2") format("woff2"),
        url("../../fonts/Junigarden/JunigardenSerif-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Arcane Nine";
    src: url("../../fonts/ArcaneNine/Arcane_Nine.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.events-empty {
    width: min(100% - 40px, 900px);
    margin: auto;
    text-align: center;
}

.events-empty__content {
    position: relative;
    padding: 55px 60px;
    border: 2px dashed rgba(255, 244, 201, 0.85);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
    box-shadow: 0 20px 50px rgba(28, 24, 48, 0.12);
    overflow: hidden;
}

/*
 * Petites formes décoratives pour éviter
 * que le bloc paraisse trop vide.
 */
.events-empty__content::before,
.events-empty__content::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 244, 201, 0.08);
    pointer-events: none;
}

.events-empty__content::before {
    top: -75px;
    left: -65px;
}

.events-empty__content::after {
    right: -70px;
    bottom: -85px;
}

.events-empty__eyebrow {
    font-family: "Arcane Nine";
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 14px;
    color: #fff4c9;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.events-empty__title {
    font-family: "Junigarden Swash";
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto 18px;
    color: #fff4c9;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.1;
}

.events-empty__message {
    font-family: "Dosis";
    position: relative;
    z-index: 1;
    max-width: 660px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
}

.events-empty__socials {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

.events-empty__social {
    font-family: "Arcane Nine";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    padding: 12px 22px;
    border: 1px solid #fff4c9;
    border-radius: 999px;
    color: #fff4c9;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.events-empty__social:hover,
.events-empty__social:focus-visible {
    color: #30204f;
    background-color: #fff4c9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(28, 24, 48, 0.16);
}

.events-empty__social:focus-visible {
    outline: 3px solid rgba(255, 244, 201, 0.4);
    outline-offset: 4px;
}

@media screen and (max-width: 700px) {
    .events-empty {
        width: min(100% - 28px, 900px);
        margin: 45px auto 65px;
    }

    .events-empty__content {
        padding: 42px 24px;
        border-radius: 22px;
    }

    .events-empty__socials {
        flex-direction: column;
        align-items: stretch;
        max-width: 260px;
        margin-right: auto;
        margin-left: auto;
    }

    .events-empty__social {
        width: 100%;
    }
}
