/* Custom Styles for PubQuiz Prodigy */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(236, 86, 73, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(236, 86, 73, 0.7);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation classes */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.animate-slide-in-up {
    animation: slideInUp 0.6s ease-out forwards;
}

/* Custom gradient backgrounds */
.gradient-primary {
    background: linear-gradient(135deg, #ec5649 0%, #d83a2e 100%);
}

.gradient-secondary {
    background: linear-gradient(135deg, #4d86ff 0%, #3264f5 100%);
}

/* Glass morphism effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Custom button styles */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(236, 86, 73, 0.3);
}

.btn-secondary {
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(77, 134, 255, 0.3);
}

/* Custom input styles */
.input-focus:focus {
    border-color: #ec5649;
    box-shadow: 0 0 0 3px rgba(236, 86, 73, 0.1);
}

/* Responsive typography */
@media (max-width: 640px) {
    .responsive-text {
        font-size: 2.5rem;
    }
}
/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #ec5649, #4d86ff);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #d83a2e, #3264f5);
}

/* Login overlay styles */
#loginOverlay {
    backdrop-filter: blur(8px);
}
