* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
    padding: 20px;
    box-sizing: border-box;
}

#game-board {
    display: grid;
    grid-template-rows: repeat(6, 50px);
    grid-template-columns: repeat(7, 50px);
    gap: 5px;
    background-color: #0055a4;
    padding: 10px;
    border-radius: 10px;
    position: relative;
    margin-bottom: 20px;
}

.cell {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cell.hover-effect:hover {
    transform: scale(1.05);
    /* Slight zoom effect */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3), 0 0 10px 5px rgba(146, 146, 146, 0.5);
    /* Glow + shadow */
}

.cell.red {
    background-color: red;
}

.cell.yellow {
    background-color: yellow;
}

.win-line {
    position: absolute;
    height: 4px;
    background-color: #000;
    transform-origin: left center;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    pointer-events: none;
    z-index: 1;
}

.last-played {
    border: 3px solid #4caf50;
}

.controls-container {
    margin-bottom: 20px;
}