@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap');

:root {
    --primary: #f2a900;
    --primary-dark: #c18700;
    --bg: #1a1a1a;
    --card: #2a2a2a;
    --text: #ffffff;
    --black: #000000;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100dvh;
}

#game-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 600px;
    display: block;
    background: url('./images/background.jpg') no-repeat center center;
    background-size: cover;
    border: 4px solid var(--primary);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(242, 169, 0, 0.3);
    margin: 0 auto;
    overflow: hidden;
}

@media (max-width: 768px) {
    #game-container {
        max-width: 100vw;
        height: calc(100dvh - 60px);
        border: none;
        border-radius: 0;
    }

    body.immersive-mode #game-container {
        height: 100dvh;
    }
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Overlay styles moved to game-ui.css */



.game-title {
    font-size: 3rem;
    color: var(--primary);
    text-shadow: 3px 3px var(--black);
    margin-bottom: 1rem;
}

/* Screen content styles moved to game-ui.css */

button {
    background: var(--primary);
    color: var(--black);
    border: none;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.1s, background 0.1s;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* HUD styles moved to game-ui.css */

/* Modal Styling */
.modal-dialog {
    max-width: 380px !important;
    margin: 0.5rem auto;
}

.modal-content {
    border: 2px solid var(--primary) !important;
    background-color: var(--card) !important;
    border-radius: 12px;
}

.modal-header {
    border-bottom: 1px solid #444;
}

.modal-footer {
    border-top: 1px solid #444;
}

/* Flying Sats Animation moved to game-ui.css */