@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
    transition: all 0.3s ease;
}
body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(#020024, #090979, #000);
    color: #eef;
    text-align: center;
    display: flex;
    flex-direction: column;
}
body.night {
    background: linear-gradient(#020024, #090979, #000);
}

body.day {
    background: linear-gradient(#87ceeb, #b0e0e6);
}

#header {
    padding-top: 2rem;
}
#footer {
    padding-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

#main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title {
    color: #7dd3fc;
}

#window-container {
    position: relative;
    width: 600px;
    transform: translateY(-30px);
}

#window {
    width: 100%;
    margin-top: 3rem;
    z-index: 1;
}

#window-light {
    position: absolute;
    top: 250px;
    left: 50%;
    width: 260px;
    height: 60px;
    transform: translateX(-50%);
    background: rgba(255, 255, 200, 0.15);
    border-radius: 10px;
    cursor: pointer;
    z-index: 2;
    backdrop-filter: blur(6px);
    box-shadow: inset 0 0 20px rgba(255,255,255,0.1);
}

#snow-area {
    position: absolute;
    top: 100px;
    left: 50%;
    width: 160px;
    height: 150px;
    transform: translateX(-50%);
    z-index: 3;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    font-size: 1.2rem;
    pointer-events: none;
}

@media (max-width: 600px) {
    #window-container {
        width: 220px;
    }

    #window-light,
    #snow-area {
        width: 120px;
        height: 120px;
    }
}

