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

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

#game-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 200, 255, 0.3);
}

#gameCanvas {
    display: block;
    cursor: pointer;
}

#ui {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    font-size: 18px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

#distance, #best {
    margin-bottom: 5px;
    font-weight: bold;
}

#distance-value {
    color: #00ff88;
}

#best-value {
    color: #ffcc00;
}

#instructions {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.9;
    max-width: 200px;
    line-height: 1.4;
}
