/* Custom CSS Extensions */

/* Active Game Mode Button Styling */
.mode-btn.active {
    background-color: #06b6d4;
    color: #020617;
    box-shadow: 0 4px 20px -2px rgba(6, 182, 212, 0.4);
}

/* Active Turn Score Card Highlight */
.score-card.active {
    opacity: 1 !important;
    border-color: rgba(6, 182, 212, 0.5);
    background-color: rgba(15, 23, 42, 0.95);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

/* Cell Icons Animations */
.cell-symbol {
    animation: popIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

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

/* Winning Cell Glow Animation */
.cell.winning-cell {
    background-color: rgba(6, 182, 212, 0.15) !important;
    border-color: #06b6d4 !important;
    animation: winPulse 1.2s infinite alternate;
}

.cell.winning-cell-o {
    background-color: rgba(244, 63, 94, 0.15) !important;
    border-color: #f43f5e !important;
    animation: winPulseO 1.2s infinite alternate;
}

@keyframes winPulse {
    0% { box-shadow: 0 0 10px rgba(6, 182, 212, 0.3); }
    100% { box-shadow: 0 0 25px rgba(6, 182, 212, 0.8); }
}

@keyframes winPulseO {
    0% { box-shadow: 0 0 10px rgba(244, 63, 94, 0.3); }
    100% { box-shadow: 0 0 25px rgba(244, 63, 94, 0.8); }
}
