* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
    background: radial-gradient(circle at top, #7fd3ff 0%, #3b6fd1 40%, #0b1530 100%);
    overflow: hidden;
    color: #ffffff;
}

.sky {
    position: relative;
    width: 100%;
    height: 100vh;
}

/* Nuages */

.cloud {
    position: absolute;
    background: #ffffff;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #f5f9ff 40%, #dfe9ff 100%);
    border-radius: 50px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 0 40px rgba(255, 255, 255, 0.4);
    opacity: 0.9;
}

.cloud::before,
.cloud::after {
    content: "";
    position: absolute;
    background: inherit;
    border-radius: 50px;
}

.cloud::before {
    width: 60%;
    height: 80%;
    top: -40%;
    left: 10%;
}

.cloud::after {
    width: 45%;
    height: 70%;
    top: -30%;
    right: 5%;
}

/* Positions + animations */

.cloud-1 {
    width: 220px;
    height: 80px;
    top: 15%;
    left: -250px;
    animation: moveCloud 45s linear infinite;
}

.cloud-2 {
    width: 260px;
    height: 90px;
    top: 35%;
    left: -300px;
    animation: moveCloud 60s linear infinite;
    animation-delay: -10s;
}

.cloud-3 {
    width: 200px;
    height: 70px;
    top: 55%;
    left: -220px;
    animation: moveCloud 50s linear infinite;
    animation-delay: -20s;
}

.cloud-4 {
    width: 280px;
    height: 95px;
    top: 70%;
    left: -320px;
    animation: moveCloud 70s linear infinite;
    animation-delay: -30s;
}

@keyframes moveCloud {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(140vw);
    }
}

/* Carte en verre (glassmorphism) */

.glass-card {
    position: absolute;
    inset: 0;
    margin: auto;
    width: min(90%, 480px);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.18),
        rgba(255, 255, 255, 0.05)
    );
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        0 0 60px rgba(120, 190, 255, 0.7);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    text-align: center;
    color: #fdfdfd;
}

.glass-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.45), transparent 55%);
    opacity: 0.7;
    pointer-events: none;
}

.glass-card h1 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
}

.glass-card p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.glass-card .hint {
    display: block;
    font-size: 0.9rem;
    color: rgba(18, 18, 18, 0.9);
}

/* Petit glow animé */

.glass-card {
    animation: cardGlow 6s ease-in-out infinite alternate;
}

@keyframes cardGlow {
    0% {
        box-shadow:
            0 20px 60px rgba(0, 0, 0, 0.35),
            0 0 40px rgba(120, 190, 255, 0.5);
    }
    100% {
        box-shadow:
            0 25px 70px rgba(0, 0, 0, 0.45),
            0 0 80px rgba(180, 220, 255, 0.9);
    }
}

/* Responsive */

@media (max-width: 480px) {
    .glass-card {
        padding: 2rem 1.5rem;
    }

    .glass-card h1 {
        font-size: 1.5rem;
    }

    .glass-card p {
        font-size: 1rem;
    }
}
