.weather-card {
            width: 300px;
            height: 400px;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 20px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            overflow: hidden;
            position: relative;
            color: #000;
        }
        
        .city-info {
            text-align: center;
            margin-bottom: 20px;
        }
        
        .city-name {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .date-time {
            font-size: 0.9rem;
            opacity: 0.8;
        }
        
        .weather-info {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            flex-grow: 1;
        }
        
        .temperature {
            font-size: 4rem;
            font-weight: 700;
            margin: 10px 0;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
        }
        
        .weather-icon {
            font-size: 3.5rem;
            margin-bottom: 10px;
        }
        
        .weather-description {
            font-size: 1.2rem;
            text-transform: capitalize;
            margin-bottom: 10px;
        }
        
        .weather-details {
            display: flex;
            justify-content: space-around;
            width: 100%;
            margin-top: 20px;
            background: rgba(0, 0, 0, 0.2);
            padding: 15px;
            border-radius: 15px;
        }
        
        .detail {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .detail-label {
            font-size: 0.8rem;
            opacity: 0.8;
            margin-bottom: 5px;
        }
        
        .detail-value {
            font-size: 1.1rem;
            font-weight: 600;
        }
        
        .loading {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10;
        }
        
        .spinner {
            border: 5px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top: 5px solid white;
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .error {
            color: #ff6b6b;
            text-align: center;
            padding: 20px;
            font-weight: 600;
        }
        
        /* Adicionando estilos para os fundos animados */
        .weather-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            border-radius: 20px;
            overflow: hidden;
            opacity: 0.4;
        }
        
        /* Estilo para dia ensolarado */
        .sunny {
            background: linear-gradient(to bottom, #ffdb58, #ffb347);
        }
        
        .sunny::before {
            content: '';
            position: absolute;
            top: 20px;
            right: 20px;
            width: 80px;
            height: 80px;
            background: #fff;
            border-radius: 50%;
            box-shadow: 0 0 40px 15px #fff, 0 0 80px 30px #ffdb58;
            animation: pulse 3s infinite alternate;
        }
        
        /* Estilo para nublado */
        .cloudy {
            background: linear-gradient(to bottom, #636e72, #b2bec3);
        }
        
        .cloudy::before, .cloudy::after {
            content: '';
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.8);
            animation: float 8s infinite alternate;
        }
        
        .cloudy::before {
            width: 100px;
            height: 100px;
            top: 50px;
            left: 30px;
        }
        
        .cloudy::after {
            width: 120px;
            height: 120px;
            top: 80px;
            right: 40px;
            animation-delay: 2s;
        }
        
        /* Estilo para chuva */
        .rainy {
            background: linear-gradient(to bottom, #2c3e50, #34495e);
        }
        
        .rainy::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.2));
            animation: rain 1s infinite linear;
        }
        
        /* Estilo para neve */
        .snowy {
            background: linear-gradient(to bottom, #dfe6e9, #b2bec3);
        }
        
        .snowy::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(circle, white 1px, transparent 1px),
                radial-gradient(circle, white 1px, transparent 1px);
            background-size: 20px 20px;
            background-position: 0 0, 10px 10px;
            animation: snow 5s infinite linear;
        }
        
        /* Estilo para tempestade */
        .stormy {
            background: linear-gradient(to bottom, #2d3436, #636e72);
        }
        
        .stormy::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 2px;
            height: 80px;
            background: white;
            opacity: 0;
            animation: lightning 5s infinite;
        }
        
        /* Animações */
        @keyframes pulse {
            0% { transform: scale(1); opacity: 1; }
            100% { transform: scale(1.1); opacity: 0.8; }
        }
        
        @keyframes float {
            0% { transform: translateY(0); }
            100% { transform: translateY(20px); }
        }
        
        @keyframes rain {
            0% { background-position: 0 0; }
            100% { background-position: 0 20px; }
        }
        
        @keyframes snow {
            0% { transform: translateY(0); }
            100% { transform: translateY(20px); }
        }
        
        @keyframes lightning {
            0%, 95%, 100% { opacity: 0; transform: translate(-50%, -50%) scaleY(1); }
            96%, 99% { opacity: 1; transform: translate(-50%, -50%) scaleY(1.2); }
        }