/** {*/
/*    border: 1px solid red;*/
/*}*/

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f0f2f5;
    margin: 0;
    padding: 20px;
}
.container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    width: 100%;
}
canvas {
    border: 2px solid #333;
    border-radius: 4px;
    margin: 20px 0;
    max-width: 100%;
    height: auto;
}
.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.stat-item {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}
.pi-display {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
    margin: 10px 0;
}
.controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}
.speed-control {
    margin-bottom: 20px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}
.speed-control input {
    width: 100%;
    margin-top: 10px;
}
button {
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    transition: background 0.2s;
}
.btn-primary { background: #007bff; color: white; }
.btn-primary:hover { background: #0056b3; }
.btn-secondary { background: #6c757d; color: white; }
.btn-secondary:hover { background: #5a6268; }
.info {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}
