/* Weather Card Styling */
.weather-card {
    position: relative;
    cursor: pointer;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    backdrop-filter: blur(10px);
}

.weather-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.1), rgba(209, 213, 219, 0.1));
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.weather-card:hover::after {
    opacity: 1;
}

/* Stagger Animation for Cards */
.weather-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.weather-card:nth-child(1) { animation-delay: 0.05s; }
.weather-card:nth-child(2) { animation-delay: 0.1s; }
.weather-card:nth-child(3) { animation-delay: 0.15s; }
.weather-card:nth-child(4) { animation-delay: 0.2s; }
.weather-card:nth-child(5) { animation-delay: 0.25s; }
.weather-card:nth-child(6) { animation-delay: 0.3s; }
.weather-card:nth-child(7) { animation-delay: 0.35s; }
.weather-card:nth-child(8) { animation-delay: 0.4s; }
.weather-card:nth-child(n+9) { animation-delay: 0.45s; }

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .weather-card {
        animation-delay: 0s !important;
    }
}

/* Table Responsive */
@media (max-width: 768px) {
    table {
        font-size: 0.75rem;
    }
}

