/* Base Styles using Tailwind directives handled by CDN, adding custom overrides */

.bingo-square {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.7rem;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.2s ease-out;
    background-color: rgba(30, 41, 59, 0.5); /* slate-800/50 */
    border: 1px solid rgba(71, 85, 105, 0.5); /* slate-600/50 */
    border-radius: 0.5rem;
    user-select: none;
    color: #cbd5e1; /* slate-300 */
}

/* Hover effect for unchecked squares */
.bingo-square:hover:not(.checked) {
    background-color: rgba(51, 65, 85, 0.8);
    transform: translateY(-2px);
    border-color: #facc15; /* yellow-400 */
}

/* Checked State */
.bingo-square.checked {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); /* blue-500 to blue-600 */
    color: #ffffff;
    font-weight: 700;
    border-color: #60a5fa; /* blue-400 */
    transform: scale(1.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Center Square Special Style */
.bingo-square.center-square {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); /* amber-500 to amber-600 */
    color: white;
    font-weight: 800;
    font-size: 0.8rem;
    border-color: #fbbf24;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .bingo-square {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    
    .bingo-square.center-square {
        font-size: 1rem;
    }
}

/* Animation for Bingo */
@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.bingo-pop {
    animation: pop 0.3s ease-in-out;
}
