* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: radial-gradient(circle at top, #1b2735 0%, #090a0f 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card {
    width: 90%;
    max-width: 470px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px 35px;
    text-align: center;
    color: #fff;
    position: relative;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.2);
    animation: zoomIn 1.2s ease forwards;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
}

.search input {
    flex: 1;
    padding: 10px 25px;
    height: 60px;
    border-radius: 30px;
    border: none;
    outline: none;
    font-size: 18px;
    color: #333;
    background: #ebfffc;
    transition: box-shadow 0.3s ease;
}

.search input:focus {
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.search button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00feba, #5b548a);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    margin-left: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.search button:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 0 15px #00feba;
}

.search button img {
    width: 20px;
    filter: brightness(0) invert(1);
}

.weather-icon {
    width: 180px;
    margin-top: 30px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.weather h1 {
    font-size: 80px;
    font-weight: 600;
    margin-top: 15px;
    display: inline-block; /* Required for background clip */
    background: linear-gradient(135deg, #ffffff, #00feba);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease forwards;
}


.weather h2 {
    font-size: 45px;
    font-weight: 400;
    margin-top: -10px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin-top: 50px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
}

.col {
    display: flex;
    align-items: center;
    text-align: left;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.col:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.3);
}

.col img {
    width: 40px;
    margin-right: 10px;
    filter: drop-shadow(0 0 4px #00feba);
}

.humidity, .wind {
    font-size: 28px;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 0 5px #00feba;
}

.Weather {
    display: none;
    animation: fadeInCard 1s ease forwards;
}

@keyframes fadeInCard {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}