/* =========================================
   PAGE D'ATTENTE — ELIAS CROWE
   Image attendue :
   images/portail-lac.png
   ========================================= */

:root {
    --white: #f2f2f2;
    --soft-white: rgba(242, 242, 242, 0.78);
    --muted: rgba(242, 242, 242, 0.52);
    --line: rgba(255, 255, 255, 0.28);
    --background: #080808;
}

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

html,
body {
    min-height: 100%;
}

body {
    background: var(--background);
    color: var(--white);
    font-family: "Montserrat", sans-serif;
    overflow-x: hidden;
}

.coming-soon {
    position: relative;
    min-height: 100svh;
    width: 100%;
    display: grid;
    place-items: center;
    isolation: isolate;
    overflow: hidden;
}

/* Image du lac et du portail */
.background {
    position: absolute;
    inset: -2%;
    z-index: -4;
    background:
        linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)),
        url("images/elias_crowe_hero.png") center center / cover no-repeat;
    /*filter: grayscale(100%) brightness(0.52) contrast(1.12);*/
    transform: scale(1.04);
    animation: slowZoom 18s ease-out forwards;
}

/* Assombrit les côtés et améliore la lisibilité */
.overlay {
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(
            circle at center,
            rgba(0, 0, 0, 0.12) 0%,
            rgba(0, 0, 0, 0.38) 52%,
            rgba(0, 0, 0, 0.82) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.44) 0%,
            rgba(0, 0, 0, 0.15) 42%,
            rgba(0, 0, 0, 0.72) 100%
        );
}

/* Texture légère pour un rendu plus cinématographique */
.grain {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.08;
    background-image:
        repeating-radial-gradient(
            circle at 0 0,
            transparent 0,
            rgba(255, 255, 255, 0.65) 1px,
            transparent 2px,
            transparent 4px
        );
    background-size: 5px 5px;
    mix-blend-mode: soft-light;
}

.content {
    width: min(92%, 900px);
    padding: 40px 24px 110px;
    text-align: center;
    animation: reveal 1.4s ease-out both;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: clamp(0.65rem, 1vw, 0.82rem);
    font-weight: 400;
    letter-spacing: 0.42em;
    text-transform: uppercase;
}

h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3.8rem, 11vw, 9rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 0.88;
    text-shadow: 0 8px 35px rgba(0, 0, 0, 0.72);
}

.separator {
    width: min(240px, 54vw);
    margin: 30px auto 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.separator span:not(.diamond) {
    width: 92px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--line));
}

.separator span:last-child {
    background: linear-gradient(to left, transparent, var(--line));
}

.diamond {
    width: 6px;
    height: 6px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    transform: rotate(45deg);
}

.coming-label {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 500;
    letter-spacing: 0.08em;
}

.message {
    margin-top: 10px;
    color: var(--soft-white);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    font-style: italic;
    letter-spacing: 0.04em;
}

.signature {
    margin-top: 34px;
    color: var(--muted);
    font-size: clamp(0.64rem, 1vw, 0.78rem);
    font-weight: 300;
    letter-spacing: 0.26em;
    line-height: 1.8;
    text-transform: uppercase;
}

.social-links {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.social-links a {
    text-decoration: none;
}

.spotify-link {
    min-height: 46px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #1ed760;
    border-color: rgba(30, 215, 96, 0.75);
    border: 1px solid rgba(127, 168, 139, 0.55);
    border-radius: 999px;
    background: rgba(7, 7, 7, 0.34);

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

    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    transition:
        color 220ms ease,
        border-color 220ms ease,
        background-color 220ms ease,
        transform 220ms ease;
}

.spotify-link svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.spotify-link:hover,
.spotify-link:focus-visible {
    color: #35f178;
    border-color: #1ed760;
    background: rgba(30, 215, 96, 0.18);
    transform: translateY(-2px);
    outline: none;
}



.network-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
}

.network-links a {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;

    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(7, 7, 7, 0.3);

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

    transition:
        color 220ms ease,
        border-color 220ms ease,
        background-color 220ms ease,
        transform 220ms ease;
}

.network-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}



.network-links .instagram-link {
    color: #e56a9f;
    border-color: rgba(229, 106, 159, 0.78);
}

.network-links .instagram-link:hover,
.network-links .instagram-link:focus-visible {
    color: #ff86b8;
    border-color: #e56a9f;
    background: rgba(229, 106, 159, 0.18);
}



.network-links .tiktok-link {
    color: #69dfe8;
    border-color: rgba(105, 223, 232, 0.75);
}

.network-links .tiktok-link:hover,
.network-links .tiktok-link:focus-visible {
    color: #91f4fa;
    border-color: #69dfe8;
    background: rgba(105, 223, 232, 0.18);
}



.network-links .wattpad-link {
    width: auto;
    min-width: 104px;
    height: 46px;
    padding: 0 18px;

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

    color: #ff5a5f;
    border-color: rgba(255, 90, 95, 0.82);
    border-radius: 999px;

    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.network-links .wattpad-link:hover,
.network-links .wattpad-link:focus-visible {
    color: #ff7b7f;
    border-color: #ff5a5f;
    background: rgba(255, 90, 95, 0.18);
}



.spotify-link:focus-visible,
.network-links a:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
    outline: none;
}


.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 18px 20px 22px;
    text-align: center;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
}

.credits {
    margin-top: 8px;
    letter-spacing: 0.08em;
}

.credits a {
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    transition:
        color 220ms ease,
        opacity 220ms ease;
}

.credits a:hover,
.credits a:focus-visible {
    color: #edbe10;
    outline: none;
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(24px);
        filter: blur(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes slowZoom {
    from {
        transform: scale(1.04);
    }

    to {
        transform: scale(1.1);
    }
}

@media (max-width: 680px) {
    .background {
        background-position: 50% center;
    }

    .content {
        padding: 35px 18px 120px;
        transform: translateY(-2vh);
    }

    h1 {
        letter-spacing: 0.07em;
    }

    .signature {
        max-width: 320px;
        margin-inline: auto;
    }

    .social-links {
        margin-top: 24px;
    }

    .spotify-link {
        width: min(100%, 260px);
    }

    .footer {
        padding-bottom: max(18px, env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        scroll-behavior: auto !important;
    }
}


@media (max-height: 720px) {
    .coming-soon {
        min-height: 720px;
    }

    .content {
        padding-top: 30px;
        padding-bottom: 90px;
    }
}
