body {
    font-family: Arial, Helvetica, sans-serif;
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #a45eff, #00ff9c, #a45eff);
}

body.bg-anim {
    background: linear-gradient(135deg, #a45eff, #00ff9c, #a45eff);
    background-size: 400% 400%;
    animation: bflow 4s linear infinite;
}

@keyframes bflow {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

#game {
    width: 600px;
    height: 400px;
    background: #222;
    position: relative;
    overflow: hidden;
    border: 3px solid #444;
    border-radius: 15px;
}

#player {
    width: 30px;
    height: 30px;
    background: lime;
    position: absolute;
    bottom: 10px;
    left: 50%;
}

#enemy {
    width: 30px;
    height: 30px;
    background: red;
    position: absolute;
    top: 0;
    left: 50%;
}

#score {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    color: white;
}

#btn {
    position: absolute;
    padding: 12px 20px;
    margin-top: 20px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #22c55e;
    color: #052e16;
    transition: 0.2s;
    bottom: 0;
    right: 10px;
    margin-bottom: 20px;
}

#btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 255, 156, 0.4);
}

#toGithub {
    position: absolute;
    padding: 12px 20px;
    margin-top: 20px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: linear-gradient(135deg, #a45eff, #00ff9c);
    color: #052e16;
    transition: 0.2s;
    top: 0;
    right: 20px;
    text-align: center;
}

#toGithub:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 255, 156, 0.4);
}