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

body {
    background: linear-gradient(135deg, #72EDF2 0%, #5151E5 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.search-box {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    background: #f1f3f4;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    box-shadow: 0 0 5px #72EDF2;
    background: white;
}

button {
    padding: 12px 25px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s ease;
}

button:hover {
    transform: scale(1.05);
}

button:active {
    transform: scale(0.95);
}

.weather-info {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.weather-info h2 {
    color: #e74c3c;
    margin-bottom: 15px;
    font-size: 24px;
}

.weather-info p {
    margin: 8px 0;
    color: #2c3e50;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.weather-info p:hover {
    transform: translateX(5px);
    background: white;
}

.error {
    color: #ff4444;
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 75, 75, 0.1);
    animation: shake 0.5s ease;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}