@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;600&display=swap');

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

body {
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #fff;
}

/* Animated Gradient Glow Card */
.weatherContainer {
    position: relative;
    background:;
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    width: 1400px;
    text-align: center;
    overflow: hidden;
}

.weatherContainer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(#00f2fe, #4facfe, #00f2fe);
    animation: rotate 6s linear infinite;
    z-index: -1;
    opacity: 0.15;
}

@keyframes rotate {
    0% { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}

.weatherContainer h1 {
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 25px;
}

.inputRow {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px;
    border-radius: 50px;
    margin-bottom: 30px;
}

.inputRow input[type="text"] {
    flex: 1;
    padding: 12px 15px;
    border-radius: 50px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    color: #fff;
}

.inputRow input::placeholder {
    color: rgba(255,255,255,0.6);
}

#btn {
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-weight: bold;
    color: #0f2027;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
}

#btn:hover {
    transform: scale(1.05);
    background: linear-gradient(90deg, #4facfe, #00f2fe);
}

#resultContainer {
    font-size: 1.2rem;
    min-height: 80px;
    line-height: 1.6;
    margin-top: 15px;
}

.temp {
    font-size: 2.5rem;
    font-weight: bold;
}

.desc {
    font-size: 1.2rem;
    text-transform: capitalize;
    opacity: 0.8;
}
