/* ========================================
   EASTER EGGS — Modals & Animations
   ======================================== */

/* ── Overlay ── */
#ee-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
#ee-overlay.active {
    display: flex;
}

/* ── Modal container ── */
#ee-modal {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid rgba(233, 30, 99, 0.4);
    border-radius: 24px;
    padding: 36px 28px 28px;
    max-width: 500px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0 0 60px rgba(233, 30, 99, 0.2);
    animation: ee-slidein 0.4s ease;
}

@keyframes ee-slidein {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* ── Close button ── */
#ee-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}
#ee-close:hover { color: #fff; }

/* ── Titre palier ── */
#ee-modal h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #E91E63;
}

#ee-modal .ee-subtitle {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* ── Message palier 10 ── */
#ee-message {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
    font-style: italic;
    margin-bottom: 24px;
}

/* ── Bouton principal ── */
.ee-btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #E91E63, #9C27B0);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: 8px;
}
.ee-btn:hover { opacity: 0.85; }

/* ── Défis palier 15 ── */
.ee-defis-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ee-defis-list li {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(233,30,99,0.25);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
    text-align: left;
}
.ee-defis-list li::before {
    content: '✦ ';
    color: #E91E63;
}

/* ── Roue BDSM (palier 20 Nocturne) ── */
#ee-wheel-wrap {
    position: relative;
    width: 280px;
    margin: 0 auto 8px;
}
#ee-wheel-canvas {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    cursor: pointer;
    display: block;
}
#ee-wheel-result {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(233,30,99,0.3);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.92);
    margin-bottom: 16px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Scénario pas-à-pas (palier 20 Spa / Hôtel / Bureau) ── */
#ee-scenario-wrap {
    text-align: left;
    margin-bottom: 20px;
}
.ee-step-number {
    font-size: 0.75rem;
    color: #E91E63;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}
.ee-step-text {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.9);
    font-style: italic;
    background: rgba(255,255,255,0.05);
    border-left: 3px solid #E91E63;
    border-radius: 0 12px 12px 0;
    padding: 14px 16px;
}
.ee-step-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    gap: 10px;
}
.ee-step-nav .ee-btn-ghost {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}
.ee-step-nav .ee-btn-ghost:hover { background: rgba(255,255,255,0.15); }
.ee-step-counter {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

/* ── Choix Hôtel / Bureau ── */
.ee-choices {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.ee-choice-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(233,30,99,0.3);
    border-radius: 14px;
    padding: 14px 18px;
    color: rgba(255,255,255,0.88);
    font-size: 0.95rem;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s, border-color 0.2s;
    line-height: 1.4;
}
.ee-choice-btn:hover {
    background: rgba(233,30,99,0.12);
    border-color: rgba(233,30,99,0.6);
}

/* ── Confettis ── */
#ee-confetti-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 8999;
    display: none;
}
#ee-confetti-canvas.active { display: block; }
