html, body {
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.87);
    background-color: #000000;
    /* Prevent mobile scroll/bounce */
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    /* Prevent pull-to-refresh */
    overscroll-behavior: none;
}

#app {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Prevent touch scrolling */
    touch-action: none;
}

/* Splash page code input overlay */
#splash-input-container {
    position: fixed;
    display: none;
    z-index: 1000;
    /* Allow touch on input */
    touch-action: manipulation;
}

#beta-code-input {
    width: 280px;
    height: 44px;
    padding: 8px 16px;
    font-family: 'Arial', sans-serif;
    font-size: 16px; /* 16px minimum prevents iOS zoom on focus */
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    background-color: rgba(26, 26, 46, 0.95);
    border: 3px solid #40e0d0;
    border-radius: 8px;
    color: #ffffff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    /* Prevent mobile issues */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

#beta-code-input:focus {
    border-color: #ffcc00;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
}

#beta-code-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    text-transform: none;
    letter-spacing: normal;
}
