/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #6b21a8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7e22ce;
}

/* Smooth transitions */
* {
    transition: background-color 0.2s ease;
}

button, a {
    transition: all 0.2s ease;
}

/* Active category button */
.active-category {
    background: linear-gradient(to right, #9333ea, #db2777) !important;
    color: white !important;
}

/* Carousel indicators */
.carousel-indicator {
    height: 8px;
    width: 8px;
    border-radius: 9999px;
    background-color: #6b7280;
    transition: all 0.3s ease;
}

.active-indicator {
    width: 32px;
    background-color: #a855f7;
}

/* Character card hover effect */
.character-card {
    transition: all 0.3s ease;
}

.character-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.3);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(to right, #c084fc, #ec4899, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Badge styles */
.badge-new {
    background: linear-gradient(to right, #9333ea, #db2777);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.badge-live {
    background: linear-gradient(to right, #dc2626, #ef4444);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.badge-audio {
    background: linear-gradient(to right, #7e22ce, #9333ea);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .8;
    }
}

/* Animation for page load */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Mobile bottom nav spacing */
@media (max-width: 768px) {
    body {
        padding-bottom: 80px;
    }
}
