.bingo-title {
    font-family: "Jersey 10", sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.bingo-board {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    max-width: 600px;
    background-color: #34495e;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.bingo-cell {
    aspect-ratio: 1;
    border: 2px solid #2c3e50;
    background-color: #ecf0f1;
    color: #2c3e50;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 4px;
    min-height: 80px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.bingo-cell:hover {
    background-color: #d5dbdb;
    transform: scale(1.02);
}

.bingo-cell.marked {
    background-color: #e74c3c;
    color: white;
    border-color: #c0392b;
    font-weight: bold;
}

.bingo-cell.marked:hover {
    background-color: #c0392b;
}

.bingo-cell.free-space {
    background-color: #27ae60;
    color: white;
    border-color: #229954;
    font-weight: bold;
    font-size: 1rem;
}

.bingo-cell.winning-cell {
    background-color: #f39c12 !important;
    border-color: #e67e22 !important;
    color: white !important;
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.6);
}

.bingo-cell.winning-cell:hover {
    background-color: #e67e22 !important;
}

@keyframes celebrate {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.bingo-controls {
    margin: 2rem 0;
}

.bingo-controls .btn {
    font-family: "Jersey 10", sans-serif;
    font-size: 1.2rem;
    padding: 0.5rem 1.5rem;
}

#winMessage {
    animation: bounce 0.8s ease-in-out;
    border: none;
    background: linear-gradient(45deg, #f39c12, #e74c3c);
    color: white;
    font-weight: bold;
    border-radius: 8px;
}

@keyframes bounce {
    0%, 20%, 60%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    80% { transform: translateY(-5px); }
}

/* Responsive design */
@media (max-width: 768px) {
    .bingo-board {
        max-width: 100%;
        gap: 2px;
        padding: 4px;
    }
    
    .bingo-cell {
        font-size: 0.65rem;
        min-height: 60px;
        padding: 2px;
    }
    
    .bingo-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .bingo-cell {
        font-size: 0.55rem;
        min-height: 50px;
    }
    
    .bingo-title {
        font-size: 2rem;
    }
}
