body {
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
}
.container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.header {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
canvas {
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    margin: 20px 0;
    border: 3px solid rgba(255, 255, 255, 0.3);
}
.controls {
    margin: 25px 0;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
button {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.slider-control {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 10px;
    margin: 10px;
}
.slider-control label {
    color: white;
    font-weight: bold;
    min-width: 80px;
}
.slider-control input {
    width: 120px;
}
.slider-control span {
    color: white;
    font-weight: bold;
    min-width: 40px;
}
.formula {
    font-family: 'Courier New', monospace;
    font-size: 20px;
    font-weight: bold;
    margin: 15px 0;
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}
