/* Basic Reset & Dark Mode Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a1d24;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    overflow: hidden;
}

.container {
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 3rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 0.25rem;
    margin-top: 0;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #a0a0a0;
}

/* Animated Cloud Icon */
.cloud {
    position: relative;
    left: -10px; /* Fine-tune horizontal position */
    width: 270px;
    height: 160px;
    background: transparent;
    /* Increased top margin, kept negative bottom margin */
    /* Format: top | right | bottom | left */
    margin: 30px auto -15px auto;
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

.cloud .puff {
    position: absolute;
    background: #f0f0f0;
    border-radius: 50%;
    box-shadow: inset -3px -4px rgba(0, 0, 0, 0.08);
}

/* Cloud Puff Definitions */
.cloud .puff-1 { width: 90px; height: 90px; top: -45px; left: 60px; }
.cloud .puff-2 { width: 105px; height: 105px; top: -50px; left: 110px; }
.cloud .puff-3 { width: 75px; height: 75px; top: -40px; left: 170px; }
.cloud .puff-4 { width: 60px; height: 60px; top: -30px; left: 30px; }
.cloud .puff-5 { width: 70px; height: 70px; top: -35px; left: 200px; }
.cloud .puff-6 { width: 100px; height: 100px; top: 25px; left: 45px; z-index: -1; }
.cloud .puff-7 { width: 120px; height: 120px; top: 15px; left: 90px; z-index: -2; }
.cloud .puff-8 { width: 90px; height: 90px; top: 30px; left: 155px; z-index: -1; }


/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-20px) translateX(-2px); /* Adjusted horizontal drift */
    }
    100% {
        transform: translateY(0px) translateX(0px);
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    h1 { font-size: 2.2rem; }
    .subtitle { font-size: 1.2rem; }

    .cloud {
        left: -8px; /* Fine-tune mobile horizontal position */
        width: 200px;
        height: 120px;
        /* Increased top margin, kept negative bottom margin for mobile */
        margin: 20px auto -10px auto;
    }

    /* Adjusted puff sizes/positions for mobile */
    .cloud .puff-1 { width: 65px; height: 65px; top: -30px; left: 45px; }
    .cloud .puff-2 { width: 75px; height: 75px; top: -35px; left: 80px; }
    .cloud .puff-3 { width: 55px; height: 55px; top: -28px; left: 125px; }
    .cloud .puff-4 { width: 45px; height: 45px; top: -20px; left: 25px; }
    .cloud .puff-5 { width: 50px; height: 50px; top: -25px; left: 145px; }
    .cloud .puff-6 { width: 70px; height: 70px; top: 18px; left: 35px; }
    .cloud .puff-7 { width: 90px; height: 90px; top: 12px; left: 65px; }
    .cloud .puff-8 { width: 65px; height: 65px; top: 22px; left: 115px; }
}
