/* Custom overrides + animations */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.stream-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.stream-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.offline-avatar {
    transition: transform 0.15s ease;
}
.offline-avatar:hover {
    transform: scale(1.1);
}

.viewer-badge {
    background: linear-gradient(135deg, rgba(235, 4, 0, 0.9), rgba(200, 0, 0, 0.85));
}

.live-dot {
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.modal-backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-enter {
    animation: fade-scale-in 0.2s ease-out;
}
@keyframes fade-scale-in {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.flag-border {
    background: linear-gradient(to bottom, #d52b1e 33.33%, #fff 33.33%, #fff 66.66%, #0038a8 66.66%);
    padding: 5px;
}

.stream-card.active-ring {
    border-color: #9147ff;
    box-shadow: 0 0 0 1px #9147ff, 0 8px 25px rgba(145, 71, 255, 0.15);
}

/* Scrollbar styling (dark) */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #18181b; }
::-webkit-scrollbar-thumb { background: #3a3a3d; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #555; }
