body {
    margin: 0;
    height: 100vh;
    background: radial-gradient(circle, #0b1b1b, #000);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    overflow: hidden;
    color: #00ff88;
}

/* CONTENU INITIAL */
.container {
    text-align: center;
    transition: opacity 0.4s ease;
}

.title {
    font-size: 34px;
    margin-bottom: 10px;
}

.subtitle {
    margin-bottom: 30px;
    opacity: 0.8;
}

/* CADEAU */
.gift {
    font-size: 140px;
    cursor: pointer;
    display: inline-block;
    animation: shake 1.2s infinite;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(-5deg); }
    75% { transform: rotate(3deg); }
    100% { transform: rotate(0deg); }
}

.from-text {
    margin-top: 25px;
    font-size: 18px;
    opacity: 0.9;
}

/* OVERLAY FULL SCREEN */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;

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

    opacity: 0;
    visibility: hidden;

    z-index: 9999;
}

/* activation overlay */
.overlay.show {
    opacity: 1;
    visibility: visible;
}

/* TEXTE REVEAL */
.reveal-text {
    text-align: center;
    font-size: 42px;
    font-weight: bold;
    color: #00ff88;

    opacity: 0;
    transform: scale(0.5);
}

/* animation apparition */
.overlay.show .reveal-text {
    animation: pop 1.2s ease forwards;
}

@keyframes pop {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    60% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .gift {
        font-size: 110px;
    }

    .reveal-text {
        font-size: 28px;
        padding: 0 20px;
    }

    .title {
        font-size: 26px;
    }
}

.with-text {
    margin-top: 20px;
    font-size: 20px;
    opacity: 0.9;
}

.people {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.person {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* image floue par défaut */
.person img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 15px;
    border: 2px solid #00ff88;
    filter: blur(12px);
    transition: 0.6s ease;
}

/* image révélée */
.person img.revealed {
    filter: blur(0);
    transform: scale(1.05);
}

/* bouton */
.person button {
    padding: 8px 14px;
    border: 2px solid #00ff88;
    background: transparent;
    color: #00ff88;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
    border-radius: 6px;
}

.person button:hover {
    background: #00ff88;
    color: black;
}