/* Flappy Clone - Mobile-first styles */

:root {
    --color-sky: #70C5CE;
    --color-ground: #DED895;
    --color-ground-dark: #C4A35A;
    --color-pipe: #73BF2E;
    --color-pipe-dark: #558B2F;
    --color-bird: #F9C74F;
    --color-bird-wing: #F4A261;
    --color-text: #FFFFFF;
    --color-overlay: rgba(0, 0, 0, 0.5);
}

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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--color-sky);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
}

#game-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#game-canvas {
    display: block;
    background-color: var(--color-sky);
    touch-action: none;
    /* Canvas will be sized by JavaScript to maintain aspect ratio */
}

/* Prevent pull-to-refresh on mobile */
body {
    overscroll-behavior: none;
}

/* Hide scrollbars */
::-webkit-scrollbar {
    display: none;
}

/* Ensure no text selection during gameplay */
canvas {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}
