* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', 'PingFang SC', sans-serif;
    overflow: hidden;
}

.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 30px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

h1 {
    color: #ffd700;
    font-size: 2.2em;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    letter-spacing: 4px;
}

.info-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
    font-size: 1.2em;
    color: #e0e0e0;
}

.info-bar strong {
    color: #ff6b6b;
    font-size: 1.3em;
}

canvas {
    border-radius: 16px;
    background: linear-gradient(180deg, #0a0a1a 0%, #1a1a3e 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 60px rgba(100, 100, 255, 0.05);
    display: block;
    margin: 0 auto;
    cursor: none;
}

.controls {
    margin-top: 18px;
    color: #aaa;
    font-size: 0.95em;
}

.controls p {
    margin-bottom: 10px;
}

#restartBtn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1em;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(238, 90, 36, 0.4);
}

#restartBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(238, 90, 36, 0.6);
    background: linear-gradient(135deg, #ff8787, #ff6348);
}

#restartBtn:active {
    transform: translateY(0);
}
