/* You can move the styles from the HTML's <style> tag here */
body {
    margin: 0;
    background-color: #1a1a2e;
    /* Dark blueish background */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Courier New', Courier, monospace;
    /* Basic retro font */
    color: #e0e1dd;
    /* Light text color */
    overflow: hidden;
    /* Prevent scrollbars */
}

#game-container {
    /* This container helps center the canvas if needed */
    width: 100%;
    max-width: 450px;
    /* Example max width for mobile portrait */
    aspect-ratio: 9 / 16;
    /* Maintain aspect ratio */
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

canvas {
    display: block;
    /* Ensure canvas fits the container if Phaser doesn't handle it fully */
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Basic button styling (will be enhanced in Phaser) */
button {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.2em;
    padding: 10px 15px;
    border: 2px solid #e0e1dd;
    background-color: #16213e;
    color: #e0e1dd;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(224, 225, 221, 0.5);
    /* Subtle glow */
    transition: background-color 0.2s, box-shadow 0.2s;
}

button:hover {
    background-color: #0f3460;
    box-shadow: 0 0 10px rgba(224, 225, 221, 0.8);
}


/* Input field positioning will be handled by Phaser's DOM Element feature */
#magicWordInput {
    position: absolute;
    /* This is key, as in HighScoreScene */
    display: none;
    /* JS will control visibility */

    /* Visuals to match your game's input style (e.g., inputBgPlaceholder) */
    background-color: #2a3b57;
    /* Match your placeholder's background */
    border: 2px solid #a2d5f2;
    /* Example border - match your game's style */
    border-radius: 5px;
    color: #e0e1dd;
    /* Text color */
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
    /* Or your preferred size */
    text-align: center;
    padding: 10px;
    /* Adjust for vertical text centering if needed */
    box-sizing: border-box;
    /* IMPORTANT for width/height calculations */

    outline: none;
    /* Remove default browser focus outline */
    -webkit-appearance: none;
    /* Remove default iOS styling */
    -moz-appearance: none;
    appearance: none;

    /* Width and height will be set dynamically by JavaScript */
    /* The 'left' and 'top' for fine-tuning might also be set by JS if needed,
       similar to HighScoreScene's offsets, but we'll start without them. */
}