/* traffico.css - Stili per la pagina pubblica Traffico Napoli */

.gradient-text {
    background: linear-gradient(45deg, #3B82F6, #8B5CF6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.video-card:hover::before {
    left: 100%;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

video {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.traffic-status {
    transition: all 0.5s ease;
}
