body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1e1e2f;
    font-family: Arial, sans-serif;
    color: white;
}

.container {
    text-align: center;
}

h1 {
    margin-bottom: 12px;
    font-size: 48px;
    letter-spacing: 8px;
}

/* TOP BAR */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    margin: 16px;
}

/* POINTS */
.points-box {
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    text-align: center;
    min-width: 120px;
    margin: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.points-label {
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0.85;
}

.points-value {
    display: block;
    font-size: 32px;
    font-weight: bold;
}

/* BUTTONS */
.buttons {
    display: flex;
    gap: 10px;
}

.edit-btn {
    padding: 10px 18px;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: #607d8b;
    color: white;
}

.edit-btn.active {
    background: #ef6c00;
}

/* BINGO BOARD */
.bingo-board {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: minmax(70px, auto);
    gap: 8px;
    min-width: 550px;
    width: 33vw;
    min-height: 510px;
    height: 32vw;
    background: #2a2a40;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}


.cell {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    color: black;
    user-select: none;
    word-break: break-word;
}

.cell.checked {
    background: #4caf50;
    color: white;
    text-decoration: line-through;
}

.cell.center {
    background: #ff9800;
    color: white;
}

.cell.center.checked {
    background: #1b5e20;
}

.cell.bingo {
    background: #c62828 !important;
    color: white;
}

/* SAVE BUTTON */
#saveBtn {
    padding: 10px 18px;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background-color: #2e7d32;
    color: #fff;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

#saveBtn:hover {
    background-color: #1b5e20;
}

#saveBtn:active {
    transform: scale(0.97);
}