* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    overflow-x: hidden;
}

.background {
    position: fixed;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1d1d1d, #2b0050);
    background-size: 300% 300%;
    animation: gradientMove 12s infinite;
    z-index: -1;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    width: 90%;
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    backdrop-filter: blur(15px);
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 0 40px rgba(255,255,255,0.1);
    color: white;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

.time {
    font-size: 60px;
    font-weight: 600;
}

.date {
    font-size: 22px;
    opacity: 0.7;
}

section {
    margin: 25px 0;
}

h2 {
    font-weight: 500;
    margin-bottom: 10px;
}

.search input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    outline: none;
    border: none;
    font-size: 16px;
}

.todo-input {
    display: flex;
    gap: 10px;
}

.todo-input input {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    outline: none;
    border: none;
}

.todo-input button {
    width: 40px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.3);
    color: white;
    font-size: 22px;
    cursor: pointer;
}

#todoList {
    margin-top: 10px;
    list-style: none;
}

#todoList li {
    background: rgba(255,255,255,0.15);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: 0.3s;
}

#todoList li:hover {
    background: rgba(255,255,255,0.3);
}

footer {
    margin-top: 20px;
    text-align: center;
}

#themeToggle {
    padding: 10px 20px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
}
