* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2rem;
    color: #6c5ce7;
    margin-top: 0.5rem;
}

.time-date {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 1.2rem;
    color: #666;
}

#time {
    font-weight: 600;
    color: #6c5ce7;
}

.search-box {
    display: flex;
    margin-bottom: 2rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-box input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.search-box button {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 0 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.search-box button:hover {
    background: #5649d1;
}

.links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.links i {
    color: #6c5ce7;
}

.todo {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.todo h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.todo h2 i {
    color: #6c5ce7;
}

.todo-input {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.todo-input input {
    flex: 1;
    padding: 0.6rem;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.9rem;
    outline: none;
}

.todo-input input:focus {
    border-color: #6c5ce7;
}

.todo-input button {
    background: #6c5ce7;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0 1rem;
    cursor: pointer;
}

#todo-list {
    list-style: none;
}

#todo-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem;
    border-bottom: 1px solid #f0f0f0;
}

#todo-list li:last-child {
    border-bottom: none;
}

#todo-list li.completed {
    color: #999;
}

#todo-list li.completed span {
    text-decoration: line-through;
}

#todo-list button {
    margin-left: auto;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
}

.weather {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.weather h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.weather h2 i {
    color: #6c5ce7;
}

#weather-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#weather-temp {
    font-size: 1.5rem;
    font-weight: 600;
    color: #6c5ce7;
}

#weather-desc {
    color: #666;
}

footer {
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    margin-top: 1rem;
}

@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }
    .links {
        grid-template-columns: repeat(2, 1fr);
    }
}
