body {
    background: #1b1b1b;
    color: white;
    font-family: "Comic Sans MS", cursive;
    text-align: center;
}

.flappy-page {
    min-height: 100vh;
    padding: 110px 40px 60px;
    text-align: center;

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.flappy-page h1 {
    margin: 0 0 20px;
    color: white;
    text-shadow: 0 0 8px black;
}

.flappy-page p {
    margin-top: 10px;
    color: white;
    text-shadow: 0 0 8px black;
}

#gameCanvas {
    width: 100%;
    max-width: 480px;
    height: auto;

    background: linear-gradient(#4ec0ca, #ffffff);
    border: 4px solid orange;
    border-radius: 12px;
    box-sizing: border-box;
    display: block;
    margin: 0 auto;
    touch-action: none;
}

@media screen and (max-width: 768px) {
    .flappy-page {
        padding: 80px 8px 30px 54px;
    }

    #gameCanvas {
        width: calc(100vw - 70px);
        max-width: none;
        height: auto;
    }

    .flappy-page h1 {
        font-size: 24px;
    }

    .flappy-page p {
        font-size: 12px;
    }
}

.powerup-card {
    margin: 20px auto 0 auto;
    padding: 22px 32px;
    width: 100%;
    max-width: 540px;

    background: rgba(0, 0, 0, 0.58);
    border: 3px solid orange;
    border-radius: 16px;
    color: white;
    box-sizing: border-box;
    box-shadow: 0 0 18px rgba(255, 179, 71, 0.45);
    text-align: left;
}

.powerup-card h2 {
    margin: 0 0 18px 0;
    color: orange;
    text-align: center;
}

.powerup-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: center;
    margin: 14px 0;
}

.powerup-item span {
    font-size: 32px;
    text-align: center;
    filter: drop-shadow(0 0 8px orange);
}

.powerup-item p {
    margin: 0;
    line-height: 1.35;
}

.powerup-item strong {
    color: #ffe1a3;
}


