body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to bottom, #141E30, #243B55);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.game-container {
    text-align: center;
}

#game-area {
    position: relative;
    width: 600px;
    height: 200px;
    background: linear-gradient(to right, #2c5364, #203a43, #0f2027);
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px #0ff;
}

#player {
    position: absolute;
    bottom: 0;
    left: 50px;
    width: 40px;
    height: 40px;
    background: url('https://img.icons8.com/emoji/48/000000/person-running.png') no-repeat center center;
    background-size: contain;
    animation: glow 1.5s infinite alternate;
}

@keyframes glow {
    0% { box-shadow: 0 0 10px #0ff; }
    50% { box-shadow: 0 0 20px #0ff; }
    100% { box-shadow: 0 0 10px #0ff; }
}

.obstacle {
    position: absolute;
    bottom: 0;
    width: 40px;
    height: 40px;
    background: url('https://img.icons8.com/emoji/48/000000/rock-emoji.png') no-repeat center center;
    background-size: contain;
    animation: glow 1s infinite alternate;
}

.controls button {
    margin: 5px;
    padding: 8px 15px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background: #0ff;
    color: #000;
    font-weight: bold;
    transition: all 0.2s;
}

.controls button:hover {
    background: #00f;
    color: #fff;
}
