.game-container {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
}

.game-description {
    margin-bottom: 20px;
    color: var(--text-light);
}

.score-board {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary-color);
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.canvas-wrapper {
    position: relative;
    width: fit-content;
    margin: 0 auto 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: #eee;
}

canvas {
    display: block;
    background-color: #eee;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 10;
}

.overlay.hidden {
    display: none;
}

.overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.overlay p {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.primary-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
}

.primary-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.instructions {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: left;
    max-width: 480px;
    margin: 0 auto;
}

.instructions h3 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.instructions li {
    margin-bottom: 8px;
    padding-left: 10px;
    border-left: 3px solid var(--primary-color);
}