
/**
 * OHVN Tools — Effet de neige
 * Version : 1.0.0
 */

#ohvn-snow-layer {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 99999;
}

.ohvn-snowflake {
    position: absolute;
    top: -20px;
    color: #ffffff;
    text-shadow: 0 0 3px rgba(100, 130, 160, 0.8);
    user-select: none;
    pointer-events: none;
    will-change: transform;
}

/*
 * Accumulation de neige au bas de l'écran.
 * Couche fixe, indépendante du contenu de la page.
 * Les clics restent accessibles grâce à pointer-events:none.
 */
#ohvn-snow-accumulation {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    pointer-events: none;
    z-index: 99998;
    overflow: hidden;
}


.ohvn-snow-ground {
    position: absolute;
    bottom: 0;
    left: -2%;
    width: 104%;
    height: 100%;
    background:
        radial-gradient(ellipse at 8% 100%, #fff 0 48%, transparent 50%),
        radial-gradient(ellipse at 25% 100%, #fff 0 55%, transparent 57%),
        radial-gradient(ellipse at 47% 100%, #fff 0 46%, transparent 48%),
        radial-gradient(ellipse at 68% 100%, #fff 0 58%, transparent 60%),
        radial-gradient(ellipse at 88% 100%, #fff 0 50%, transparent 52%),
        linear-gradient(to bottom, #fff, #edf4fa);
    background-size: 24% 100%, 30% 100%, 25% 100%, 32% 100%, 28% 100%, 100% 100%;
    background-position: 0 0, 15% 0, 40% 0, 62% 0, 82% 0, 0 0;
    background-repeat: no-repeat;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    box-shadow: 0 -3px 12px rgba(150, 175, 195, 0.22);
}

/*
 * OHVN Tools — Accumulation de neige au sol
 * Version : 1.3.0
 *
 * RÔLE :
 * Définit l'apparence des amas de neige créés par snow.js.
 *
 * FONCTIONNEMENT :
 * - Chaque amas possède une hauteur indépendante.
 * - Les formes arrondies se chevauchent pour créer un relief naturel.
 * - La hauteur évolue progressivement pendant la chute des flocons.
 *
 * DÉPENDANCES :
 * - snow.js : crée les amas et modifie leur hauteur.
 *
 * Les éléments ne bloquent jamais les clics sur le site.
 */


/*
 * OHVN Tools — Accumulation de neige au sol
 * Version : 1.4.0
 *
 * RÔLE :
 * Affiche des congères constituées de formes elliptiques superposées.
 *
 * DÉPENDANCES :
 * - snow.js : crée les amas et pilote leur hauteur.
 *
 * Les amas se chevauchent pour former un relief irrégulier.
 * Les éléments ne bloquent jamais les interactions avec le site.
 */

#ohvn-snow-accumulation {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 99998;
}

.ohvn-snow-mound {
    position: absolute;
    bottom: 0;
    min-height: 0;
    background: linear-gradient(
        to bottom,
        #ffffff 0%,
        #ffffff 45%,
        #f4f8fc 100%
    );
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    box-shadow: 0 -3px 12px rgba(150, 175, 195, 0.16);
    transition: height 0.7s ease-out;
    pointer-events: none;
}

