* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            overflow: hidden;
            background: black;
            font-family: 'Bungee', cursive;
            user-select: none; /* Impede seleção de texto no celular */
            -webkit-user-select: none;
        }
        canvas {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        .assets { display: none; }

        /* --- ESTILOS DA TELA DE START --- */
        #start-screen {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.85);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 100; /* Fica acima de tudo */
            color: white;
        }
        #start-btn {
            padding: 20px 40px;
            font-size: 2rem;
            font-family: 'Bungee', cursive;
            background: #ffcc00;
            border: none;
            cursor: pointer;
            margin-top: 20px;
            border-radius: 10px;
        }

        /* --- ESTILOS DO AVISO DE ROTAÇÃO --- */
        #orientation-warning {
            display: none; /* Escondido por padrão */
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: #004466;
            z-index: 200; /* Acima até da tela de start */
            color: white;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            font-size: 1.5rem;
        }

        /* REGRA MÁGICA: Se for celular E estiver em pé (Portrait) */
        @media screen and (orientation: portrait) and (max-width: 900px) {
            #orientation-warning {
                display: flex; /* Mostra o aviso */
            }
            #start-screen, canvas {
                display: none; /* Esconde o jogo */
            }
        }