body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px;
    text-align: center;
}

h1 {
    color: #1a73e8;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.controls {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.controls label {
    font-size: 1rem;
}

.controls input[type="number"] {
    width: 80px;
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    text-align: center;
}

#start-btn {
    background-color: #1a73e8;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#start-btn:hover {
    background-color: #155ab6;
}

#canvas-container {
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.results h2 {
    font-size: 1.5rem;
    color: #1a73e8;
    margin-bottom: 1rem;
}

#results-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

#results-list li {
    background: #e8f0fe;
    color: #1a73e8;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    min-width: 40px;
}
