/* Fullscreen game styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000;
    /* Prevent text selection */
    user-select: none;
    -webkit-user-select: none;
    /* Prevent touch callouts on iOS Safari */
    -webkit-touch-callout: none;
    /* Prevent pull-to-refresh on mobile browsers */
    overscroll-behavior: none;
}

/* Remove any browser UI that might show on mobile */
body {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Canvas container - ensure it fills the entire viewport */
canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    touch-action: none; /* Prevent browser handling of touch gestures */
}