* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', sans-serif;
    min-height: 100vh;
    align-items: center;
    display: flex;
    justify-content: center;
    background: #0d0d0d;
    color: #e2e8f0;
}
.container {
    width: 100%;
    max-width: 500px;
    padding: 2rem;
}

h1, h2 {
    font-family: "Bungee Inline", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    color: #38bdf8;
}
.search-box {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 2rem;
}
.search-box input {
    flex: 1;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background: #1e293b;
    font-size: 1rem;
    outline: none;
    color: #e2e8f0;
    border: 1px solid #334155;
    transition: border-color 0.2s;
}
.search-box input:focus {
    border-color: #38bdf8;
}
.search-box button {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: #38bdf8;
    background: #1e293b;
    border: 1px solid #334155;
    cursor: pointer;
    transition: all 0.2s;
}
.search-box button:hover {
    border-color: #38bdf8;
    background: #243447;
}
.weather-card {
    background: #162032;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.weather-card h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
}
.weather-card img {
    width: 100px;
    height: 100px;
}
.weather-card h1 {
    font-size: 4rem;
    color: #38bdf8;
}
.weather-card p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: capitalize;
    color: #94a3b8;
}
.details {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
    border-top: 1px solid #1e293b;
    padding-top: 1rem;
}
.detail p:first-child {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    color: #64748b;
}
.detail p:last-child {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
    color: #38bdf8;
}
.error {
    text-align: center;
    color: #f87171;
    margin-top: 1rem;
    font-size: 1rem;
}