/* Quiz Index Page Styles */
.quiz-index-page {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.min-vh-40 {
    min-height: 40vh;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.category-card, .state-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.category-card:hover, .state-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(30, 115, 190, 0.2);
}

.category-card.selected, .state-card.selected {
    border-color: #1e73be;
    background: rgba(30, 115, 190, 0.05);
}

.custom-checkbox {
    transition: all 0.3s ease;
    cursor: pointer;
}

.custom-checkbox:hover {
    border-color: #1e73be !important;
}

.timer-display {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.action-card {
    transition: all 0.4s ease;
}

.action-card:hover {
    transform: translateY(-8px);
}

.section-header {
    margin-bottom: 2rem;
}

.categories-grid, .states-grid {
    margin-bottom: 2rem;
}

.badge {
    font-size: 0.75rem;
    padding: 0.5em 0.75em;
}

.flag-icon {
    font-size: 1.1em;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-section {
        min-height: 30vh;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .stat-item {
        margin-bottom: 1rem;
    }
    
    .action-card .card-body {
        padding: 2rem;
    }
    
    .category-card .card-body,
    .state-card .card-body {
        padding: 1rem;
    }
    
    .timer-display {
        font-size: 1.2rem;
    }
}

/* Animation for loading states */
.loading-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, #1e73be 0%, #0d6efd 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0d6efd 0%, #1e73be 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 115, 190, 0.3);
}

.btn-outline-primary {
    border-color: #1e73be;
    color: #1e73be;
}

.btn-outline-primary:hover {
    background-color: #1e73be;
    border-color: #1e73be;
}

/* Card improvements */
.card {
    border: none;
    border-radius: 15px;
}

.card-body {
    padding: 1.5rem;
}

/* Progress indicators */
.progress {
    background-color: rgba(0, 0, 0, 0.1);
}

.progress-bar {
    background: linear-gradient(135deg, #1e73be 0%, #0d6efd 100%);
}