/* Round Progress Indicator */
.round-progress-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.round-progress-circles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.round-circle {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    background: #f3f4f6;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.round-circle.completed {
    background: linear-gradient(135deg, #34d399, #10b981);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    transform: scale(1);
}

.round-circle.current {
    background: #ede9fe;
    color: #8b5cf6;
    border: 2px solid #a78bfa;
    transform: scale(1.15);
}

.round-progress-bar {
    height: 0.5rem;
    background: #f3f4f6;
    border-radius: 9999px;
    overflow: hidden;
}

.round-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
    border-radius: 9999px;
    transition: width 0.5s ease;
}

.round-progress-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Cards Grid */
.cuckoo .cuccoo-cards {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(5, clamp(60px, calc(20% - 6px), 120px));
    gap: 1rem;
    touch-action: manipulation;
    user-select: none;
    perspective: 1000px;
    margin-top: 1.5rem;
}

.cuckoo .card {
    max-width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(2rem, 10vw, 4rem);
    user-select: none;
    cursor: pointer;
    flex: 0 0 auto;
    border: 3px solid #e5e7eb;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.cuckoo .card:hover:not([disabled]) {
    transform: scale(1.05);
    border-color: #a78bfa;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
}

.cuckoo .card:active:not([disabled]) {
    transform: scale(0.95);
}

.cuckoo .card[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.cuckoo .card.correct {
    background: #ecfdf5;
    border-color: #34d399;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
}

.cuckoo .card.correct::after {
    content: '✓';
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    background: #10b981;
    color: white;
    border-radius: 50%;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: popIn 0.3s ease;
}

.cuckoo .card.wrong {
    background: #fef2f2;
    border-color: #f87171;
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.2);
    animation: shake 0.4s ease-in-out;
}

.cuckoo .card.wrong::after {
    content: '✗';
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: popIn 0.3s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-8px) rotate(-2deg);
    }

    40% {
        transform: translateX(8px) rotate(2deg);
    }

    60% {
        transform: translateX(-6px) rotate(-1deg);
    }

    80% {
        transform: translateX(6px) rotate(1deg);
    }
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}