.game-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    min-height: 500px;
}

.game-header h1 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stats-row {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 10px;
}

.dark-theme .stats-row {
    background: rgba(255, 255, 255, 0.05);
}

.stat-item .label {
    font-size: 0.9rem;
    color: var(--text-muted-light);
}

.stat-item .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0 5px;
}

.game-board {
    display: grid;
    gap: 10px;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.color-tile {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.1s;
}

.color-tile:active {
    transform: scale(0.95);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 8px;
}

.dark-theme .overlay {
    background: rgba(33, 33, 33, 0.9);
}

.overlay-content {
    text-align: center;
    padding: 20px;
}

.overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.d-none {
    display: none !important;
}
