/* Reset & Body */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Animated weather-inspired gradient */
    background: linear-gradient(120deg, #74ebd5 0%, #ACB6E5 50%, #fbc2eb 100%);
    background-size: 200% 200%;
    animation: weatherBGMove 8s ease-in-out infinite alternate;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Animated gradient keyframes */
@keyframes weatherBGMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Animated clouds */
body::before, body::after {
    content: "";
    position: absolute;
    top: 10%;
    left: 20%;
    width: 120px;
    height: 60px;
    background: rgba(255,255,255,0.7);
    border-radius: 60px;
    filter: blur(4px);
    z-index: 0;
    animation: cloudMove 14s linear infinite alternate;
}
body::after {
    top: 70%;
    left: 60%;
    width: 90px;
    height: 45px;
    opacity: 0.6;
    animation-delay: 4s;
}

@keyframes cloudMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(80px); }
}

/* Wrapper */
.main-wrapper {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Container */
.container {
    background: rgba(255,255,255,0.85);
    box-shadow: 0 8px 32px rgba(44,62,80,0.15);
    border-radius: 18px;
    padding: clamp(24px, 6vw, 40px);
    max-width: 400px;
    width: 90vw;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    backdrop-filter: blur(6px);
    position: relative;
    z-index: 2;
}

/* Heading */
h1 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #2d3a4a;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-align: center;
}

/* Input field */
input[type="text"] {
    padding: clamp(12px, 3vw, 16px);
    font-size: clamp(1rem, 2vw, 1.1rem);
    border-radius: 10px;
    border: 1px solid #bfc9d4;
    margin-bottom: 8px;
    transition: border 0.2s;
    outline: none;
    box-sizing: border-box;
}

input[type="text"]:focus {
    border-color: #74ebd5;
    box-shadow: 0 0 6px #74ebd5aa;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.button-group button {
    flex: 1 1 45%;
    padding: clamp(10px, 2vw, 14px);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    border-radius: 8px;
    border: none;
    background: linear-gradient(90deg, #74ebd5 0%, #ACB6E5 100%);
    color: #2d3a4a;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(44,62,80,0.07);
}

.button-group button:hover {
    background: linear-gradient(90deg, #ACB6E5 0%, #74ebd5 100%);
    transform: scale(1.04);
}

/* Task list */
ul#task-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    color: #333;
}

ul#task-list li {
    background: #f6f8fa;
    border-radius: 8px;
    margin-bottom: 8px;
    padding: 10px 14px;
    box-shadow: 0 1px 4px rgba(44,62,80,0.05);
    word-break: break-word;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .container {
        display: flex;
        padding: 4px;
        border-radius: 8px;
        margin: auto;
        max-width: 100vw;
    }
    .main-wrapper {
        padding: 0;
    }
    .button-group {
        flex-direction: column;
        gap: 8px;
    }
    .button-group button {
        flex: 1 1 100%;
    }
}
