/* Additional styles for modern interface */
.exam-card {
    position: relative;
    overflow: hidden;
}

.exam-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;
}

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

.test-card {
    position: relative;
    overflow: hidden;
}

.test-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    transition: width 0.3s ease;
}

.test-card:hover::after {
    width: 100%;
}

.start-btn {
    position: relative;
    overflow: hidden;
}

.start-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.start-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Loading animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.exam-card.selected {
    animation: pulse 2s infinite;
}

/* Responsive improvements */
@media (max-width: 480px) {
    .exam-requirements {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .requirement {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .test-card {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .test-card h4 {
        color: #e2e8f0;
    }
    
    .test-card p {
        color: #a0aec0;
    }
}